Dolibarr : app is currently not responding
-
Leaving a ping for @staff.
-
wtf how did this ever work?
https://git.cloudron.io/cloudron/dolibarr-app/-/blob/master/Dockerfile#L43
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/data
stuff that would have been synced docker image/app/data
toappdata/{APPID}/data/
?Digging more... tomorrow.
need sleep. -
@BrutalBirdie I agree this looks very strange and should not do what the line implies as
/app/data/
will be mounted and thus the files COPYed here will not be visible. Maybe just some copy and paste error from another Dockerfile then. -
@BrutalBirdie seems that should be moved to the start.sh if it's desired as such and not already available as per the packaging.
-
@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?
-
@nebulon said in Dolibarr : app is currently not responding:
@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
-
domain: dolibarr.wentzelweb.com
-
-