When I install Dolibarr I get the following error when I go to the site page.
This app is currently not responding. Please try refreshing the page in a few minutes.
These are the corresponding logfiles:
Jul 11 21:42:59 ERROR, /app/data/conf/conf.php or /app/data/conf/conf.php.ldap does not exists !
Jul 11 21:42:59 /app/pkg/start.sh: line 54: /app/data/conf/autoconfig-langs.sql: No such file or directory
Does anyone know what goes wrong here?
Testing on private dev node.
Could not reproduce:
App Title and Version Dolibarr 15.0.2 App ID bedef6d7-1841-4a12-93c0-caef3d101681 Package Version email@example.com Last Updated just now
Fist Start Log:
Can also be tested: https://dolibar.cloudron.dev
BUT! I could reproduce this on the official demo instance:
App Title and Version Dolibarr 15.0.2 App ID 03c1820d-c085-4549-baf2-3057c9feb554 Package Version firstname.lastname@example.org Last Updated just now
Now this is odd.
There is also a big delta between my private dev node of dolibars
/app/dataand the demo ones.
The one big difference I see is that I am running Cloudron 7.2.0 and the Demo Node is running 7.2.5.
I could reproduce this error on another 7.2.5 node.
Also the mysql service RAM limit was also not the problem. (Thought maybe but no)
wtf how did this ever work?
COPY dolibarr/conf.php.ldap /app/data/conf/conf.php.ldap
When the docker image is build there is no
/app/data/. . . at least it should not be there.
@nebulon was there a change between 7.2.0 when build docker images included
/app/datastuff that would have been synced docker image
Digging more... tomorrow.
@nebulon I'm not sure it worked at all, but was a superfluous step that didn't affect the outcome.
I could be wrong as I don't know what happens when the docker image layer gets added and the directory already exists and has files. Do they simply merge? Or is it overwritten?
@robi I've taken a further look at the app package and I am also a bit puzzled as how this ever worked in the first place to be honest. We have rework this quite a bit it seems.
This is because in previous versions, we used Docker volumes for local storage. Docker volume has a feature that things get copied over from a volume on first run. In Cloudron 7.2, we made localstorage a bind mount which does not have this feature.
I mentioned this in passing here - https://forum.cloudron.io/topic/6409/dashy/16