[critical] install.lock removed after cloudron reboot
-
hi
just noticed this, after a reboot of cloudron (v8.3.2 (Ubuntu 24.04.1 LTS) all my install.lock files disappear of all my dolibarr instances
Even if permission on file is www-data or root...Have to manually recreate them each time.
Someone could reproduce ?
Thanks
-
before reboot : https://paste.cloudron.io/cigojugite.yaml
after reboot : https://paste.cloudron.io/ilulajihon.yaml -
Hello @Crush33
Please apologize the delayed response.In your provided logs I could not find anything related to the startup of the app and the
install.lock
file.
Do you have the full app log from the dashboard of the day this happened?
Especially the startup part is important.The Dolibarr app runs a
setup()
function on startup that check if the file/app/data/dolibarr/install.lock
exists, moves it to/tmp/install.lock
and after running the upgrade hooks it should move back the/tmp/install.lock
to/app/data/dolibarr/install.lock
.There might have been a failure when running the upgrade hooks or the app crashed or OOM resulting in
/tmp/install.lock
not being moved back to/app/data/dolibarr/install.lock
?
I will try to force such a scenario and see if I can reproduce this behavior.