[critical] install.lock removed after cloudron reboot
-
hello joseph
cloudron ask me to reboot whole OS for ubuntu security update
when I do, file /app/data/dolibarr/install.lock is missing after that reboot (which is critical for security reason).I recreate them by hand (touch install.lock from ssh in OS, maybe I shouldn't to that...?).
On a later update ubuntu, they vanish again.
If I manually reboot (i.e command "reboot" in shell), they're gone too after the reboot.I dunno where to look at to see exactly what's happening. Is it container side ? or OS side ?
Provided above logs are from container side and there is nothing about the lock file... -
Hello @Crush33
The Cloudron Dolibarr app does move the/app/data/dolibarr/install.lockfile on each startup of the app temporary inside the docker container to/tmp/install.lockto run upgrade steps.
After the upgrade steps are completed, the/tmp/install.lockis moved back to/app/data/dolibarr/install.lock.Maybe you have seen this behavior at the exact moment the app started.
But, the file should be moved back into place after the app is fully started. -
hello,
got same behavior tonight, after ubuntu reboot for security updates (clicked from notification panel, red button "Reboot", all my 26x Dolibarr instances restarted without putting the install.lock file back in place.
I recreate all of them at one using this in shell on cloudron :
#!/bin/bash BASE_DIR="/home/yellowtent/appsdata" for appdir in "$BASE_DIR"/*; do if [ -d "$appdir/data/dolibarr" ]; then LOCKFILE="$appdir/data/dolibarr/install.lock" if [ ! -f "$LOCKFILE" ]; then echo "Create $LOCKFILE" touch "$LOCKFILE" else echo "$LOCKFILE already exist" fi else echo "no dolibarr in $appdir" fi donedunno what I should do to see why it doesn't work appropriately

thanks for any help !
-
-
Hello,
Is a solution has been found because I'm experiencing the same issue.
Video => https://www.loom.com/share/a526c2ccf8ff46108d791ae6e4d862e8
Logs => https://file.thivinfo.com/Cloudron/82a18dde-001d-4c51-a69b-5ac33376e6b5 (1).log -
Fixed by setting my own cron job https://forum.cloudron.io/topic/14965/which-user-for-cron-task/4?_=1773687776018
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login