Hello @nebulon i'm one of dolibarr developper and i would like to build cloudron package. I'm sponsorred by osinum for that.
So i've created an account on your gitlab, could you please allow me to make a "dolibarr" project on it ?
Thanks,
Γric
Hello @nebulon i'm one of dolibarr developper and i would like to build cloudron package. I'm sponsorred by osinum for that.
So i've created an account on your gitlab, could you please allow me to make a "dolibarr" project on it ?
Thanks,
Γric
@nebulon nice, thanks a lot.
dolibarr is working, i'm now on LDAP auto-configuration
That's done, but now i don't know what i have to do
https://git.cloudron.io/erics/dolibarr-app
and
https://hub.docker.com/repository/docker/osinum/dolibarr-app/tags?page=1
Dolibarr version 12.0.3 with:
Please have a look to logs when you install this app : first launch could take a lot of time due to database initialization ...
Hello,
LDAP preconfiguration is now ok, could you please make some tests ?
Thanks
Ok, a new checkbox is checked
Hello all,
dolibarr package seems to be ok:
USERNAME=cloudronusername PASSWORD=cloudronpassword node_modules/.bin/mocha --bail test.js
Application life cycle test
- build app
installation and configuration
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image ...........
=> Creating container ..
=> Wait for health check ...................................
App is installed.
β install app (58296ms)
β can get app information (763ms)
β can view welcome page (994ms)
β can login (2126ms)
β can access dashboard (353ms)
=> Queued
=> Snapshotting app test.xxxxxxx.fr .
=> Uploading app snapshot test.xxxxxxx.fr
App is backed up
β backup app (5219ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ...
=> Unregistering domains
App test.xxxxxxx.fr successfully uninstalled.
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image ..........
=> Creating container .
=> Wait for health check ........................................
App is installed.
=> Queued
=> Cleaning up old install
=> Registering subdomains
=> Downloading image
=> Download backup and restoring addons ...
=> Downloading 1M@1MBps .........
=> Creating container
=> Wait for health check .......
App is restored
β restore app (100491ms)
=> Queued
=> Cleaning up old install .
=> Registering subdomains
=> Creating container
=> Wait for health check ...
App configured
β move to different location (10994ms)
β can login (2304ms)
β can access dashboard (399ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ...
=> Deleting image
App test2.xxxxxxx.fr successfully uninstalled.
β uninstall app (8778ms)
update
App is being installed.
=> Queued
=> Cleaning up old install
=> Registering subdomains
=> Downloading image ..............
=> Creating container .
=> Waiting for DNS propagation
=> Wait for health check .................................................
App is installed.
β can install app (78367ms)
β can get app information (751ms)
β can view welcome page (322ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons .......
=> Deleting image
App test.xxxxxxx.fr successfully uninstalled.
β uninstall app (13062ms)
15 passing (5m)
1 pending
So ... it's time to make some tests
Ok i will have a look for language.
i was imagine by default that it was auto detect from browser locale ...
Thanks for this first "bug report" i mean
repo is up to date with dolibarr 13.0.1 -> https://git.cloudron.io/cloudron/dolibarr-app
upgrade from 12.0.3 to 13.0.1 is done so it seems to be ready for next upgrades in future.
@girish ooooops no tests for the moment, test directory include moodle stuff
i will have a look maybe tomorrow
@luckow nice test report ! i forget it !
@girish that's pleasant :
00:45 $ USERNAME=cloudronusername PASSWORD=cloudronpassword node_modules/.bin/mocha --bail test.js
Application life cycle test
- build app
installation and configuration
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image ........................
=> Creating container .
=> Wait for health check ......................................
App is installed.
β install app (74925ms)
β can get app information (566ms)
β can view welcome page (860ms)
β can login (2159ms)
=> Queued
=> Snapshotting app test.example.com
=> Uploading app snapshot test.example.com
App is backed up
β backup app (4109ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ...
=> Deleting image
App test.example.com successfully uninstalled.
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image .........
=> Creating container .
=> Configuring reverse proxy
=> Wait for health check ................................
App is installed.
=> Queued
=> Cleaning up old install
=> Registering subdomains
=> Downloading image
=> Download backup and restoring addons ..
=> Downloading 1M@1MBps .........
=> Creating container .
=> Wait for health check ........
App is restored
β restore app (92784ms)
=> Queued
=> Cleaning up old install .
=> Creating container
=> Waiting for DNS propagation
=> Wait for health check ..
App configured
β move to different location (9759ms)
β can access dashboard (477ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ...
=> Unregistering domains
App test2.example.com successfully uninstalled.
β uninstall app (8769ms)
update
App is being installed.
=> Queued
=> Downloading icon
=> Registering subdomains
=> Downloading image
=> Creating container
=> Wait for health check ..
App is installed.
β can install app (11025ms)
β can get app information (564ms)
β can view welcome page (308ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container ..........
=> Teardown addons ......
=> Unregistering domains
App test.example.com successfully uninstalled.
β uninstall app (22671ms)
13 passing (4m)
1 pending
@saikarthik there is some plugins for that (webmail into dolibarr):
and about workflows based on incoming mails i don't know if there is ready to use plugins but i will do that for my own dolibarr (a special pop/imap account for dolibarr and some actions on incoming mails, all of that is based on dolibarr API and calls from command line)
if you need some special things like that you could find some help with a local dolibarr partner : https://wiki.dolibarr.org/index.php?title=List_of_Dolibarr_partners_and_providers
00:41 $ USERNAME=cloudronusername PASSWORD=cloudronpassword node_modules/.bin/mocha --bail test.js
Application life cycle test
- build app
installation and configuration
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image ..........
=> Creating container .
=> Wait for health check .........................................
App is installed.
β install app (61950ms)
β can get app information (475ms)
β can view welcome page (812ms)
β can login (2045ms)
=> Queued
=> Snapshotting app test.example.com
=> Uploading app snapshot test.example.com
=> Uploading backup 1M@1MBps (test.example.com)
App is backed up
β backup app (5252ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ...
=> Unregistering domains
App test.example.com successfully uninstalled.
App is being installed.
=> Queued
=> Cleaning up old install
=> Downloading image .........
=> Creating container ..
=> Wait for health check ............................................................
App is installed.
=> Queued
=> Cleaning up old install
=> Registering subdomains
=> Downloading image
=> Download backup and restoring addons ........
=> Downloading 1M@1MBps ...................
=> Creating container
=> Waiting for DNS propagation
=> Wait for health check
App is restored
β restore app (131164ms)
=> Queued
=> Cleaning up old install .
=> Registering subdomains .
=> Creating container
=> Wait for health check ..
App configured
β move to different location (10705ms)
β can access dashboard (508ms)
=> Waiting for app to be uninstalled
=> Queued
=> Deleting container
=> Teardown addons ........
=> Deleting image
=> Unregistering domains
App test2.example.com successfully uninstalled.
β uninstall app (15220ms)
update
Failed to get app info from store: 404 message: No such app
1) can install app
9 passing (4m)
1 pending
1 failing
1) Application life cycle test
update
can install app:
Error: Command failed: cloudron install --appstore-id org.dolibarr.cloudronapp --location test
at checkExecSyncError (child_process.js:630:11)
at execSync (child_process.js:666:15)
at Context.<anonymous> (test.js:195:13)
at processImmediate (internal/timers.js:456:21)
@nebulon nice i like this sort of reply
@girish or @nebulon what about LDAP group mapping ?
there is no informations about that on documentation (https://docs.cloudron.io/custom-apps/addons/#ldap)
so could you please help me ? thanks
Γric
@luckow said in unusual ldap / user workflow:
Administrator DN and Administrator password
Hello @luckow
at first : thanks a lot for all your tests !!!
Then, for Admin DN and pass are from env parameters from cloudron world so we don't put it in dolibarr config files and don't store it (good idea in case of backup then restore dolibarr in an other cloudron server).
But for group and users mapping i think i made a mistake, really thank you, i will make some updates as soon as possible.
Γric