dolibarr - ERP & CRM for Business
- 
New question : does ".lock" files could be excluded from backups ? when dolibarr install is complete a install.lock file is created, but when cloudron backup is restaured this file is missing ... 
- 
ok, i switched from install.lock to .dbsetup file like wordpress and hoooraaa it works  new problem during autotest: database error on test2 + restoring data ... next step tomorrow ! 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)
- 
@erics Great progress so far! I guess we need to publish the app to the appstore for the update test to work. Let me do that right now. BTW, just a quick note: If there is some upgrade script that needs to be run, we have to do it in the else clause of https://git.cloudron.io/cloudron/dolibarr-app/-/blob/master/start.sh#L14 . Or does dolibarr automatically update/run new db migrations on first run of new version? 
- 
@girish excellent, i will continue a bit later. just a note about git (https://git.cloudron.io/cloudron/dolibarr-app) : i don't have write access so i made a merge request wich is "Ready to be merged automatically. Ask someone with write access to this repository to merge this request " 
- 
@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.comApp is backed up 
 β backup app (4109ms)=> Waiting for app to be uninstalled 
 => Queued
 => Deleting container
 => Teardown addons ...
 => Deleting imageApp 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 domainsApp 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 domainsApp test.example.com successfully uninstalled. 
 β uninstall app (22671ms)13 passing (4m) 
 1 pending
- 
Thank you for the packaging of dolibarr. 
 My first 2 cents: let us define, that first language has to be english. It took me around 5 minutes to find out where I can switch from french to english 
- 
@girish excellent, i will continue a bit later. just a note about git (https://git.cloudron.io/cloudron/dolibarr-app) : i don't have write access so i made a merge request wich is "Ready to be merged automatically. Ask someone with write access to this repository to merge this request " @erics said in dolibarr - ERP & CRM for Business: just a note about git (https://git.cloudron.io/cloudron/dolibarr-app) : i don't have write access so i made a merge request wich is "Ready to be merged automatically. Ask someone with write access to this repository to merge this request " Can you please check now? I made you a maintainer of the project. 
- 
Thank you for the packaging of dolibarr. 
 My first 2 cents: let us define, that first language has to be english. It took me around 5 minutes to find out where I can switch from french to english @luckow said in dolibarr - ERP & CRM for Business: My first 2 cents: let us define, that first language has to be english. It took me around 5 minutes to find out where I can switch from french to english Ha ha, yes, please  Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it. Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it.I did give dolibarr a quick run yesterday, I am looking forward to using it for Cloudron the company as well. 
- 
@luckow said in dolibarr - ERP & CRM for Business: My first 2 cents: let us define, that first language has to be english. It took me around 5 minutes to find out where I can switch from french to english Ha ha, yes, please  Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it. Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it.I did give dolibarr a quick run yesterday, I am looking forward to using it for Cloudron the company as well. 
- 
@luckow said in dolibarr - ERP & CRM for Business: My first 2 cents: let us define, that first language has to be english. It took me around 5 minutes to find out where I can switch from french to english Ha ha, yes, please  Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it. Would be great if the tests also look for english strings so @nebulon  and I can easily continue to maintain it.I did give dolibarr a quick run yesterday, I am looking forward to using it for Cloudron the company as well. 
- 
@erics I made a new build and published a new version. BTW, if dolibarr sends emails, we need to configure email somewhere using the CLOUDRON_MAIL_* env vars 
- 
@erics I made a new build and published a new version. BTW, if dolibarr sends emails, we need to configure email somewhere using the CLOUDRON_MAIL_* env vars 
- 
@erics Hey - nice work on this! I've just been exploring and it's come on a long way since the last time I look - congratulations on a solid app that I think will be an asset to Cloudron users as a mature ERP option.  
- 
Is LDAP supposed to be working? 
 I can't log in via Cloudron user credentials w/o creating a separate account in Dolibarr.What is the reason to login as an admin, select ldap users from a dropdown and add them to the userbase in dolibarr? Without that workflow it isn't possible to login as an allowed user (from the cloudron app/dashboard perspective). Tested with a fresh installation. https://forum.cloudron.io/topic/3474/unusual-ldap-user-workflow?_=1604397103462 
 





