<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[install.lock removed after cloudron reboot]]></title><description><![CDATA[<p dir="auto">hi<br />
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 <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f628.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--fearful" style="height:23px;width:auto;vertical-align:middle" title=":fearful:" alt="😨" /><br />
Even if permission on file is www-data or root...</p>
<p dir="auto">Have to manually recreate them each time.</p>
<p dir="auto">Someone could reproduce ?</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.cloudron.io/topic/14232/install.lock-removed-after-cloudron-reboot</link><generator>RSS for Node</generator><lastBuildDate>Sun, 16 Aug 2026 16:04:40 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14232.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 23 Aug 2025 17:00:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Sat, 30 May 2026 19:10:48 GMT]]></title><description><![CDATA[<p dir="auto">OP here<br />
it's good for me too !!! thanks a lot <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/125300</link><guid isPermaLink="true">https://forum.cloudron.io/post/125300</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Sat, 30 May 2026 19:10:48 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Thu, 14 May 2026 08:26:06 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I've just updated my Dolibarr Package to 1.13.3 and restart.<br />
I confirm the install.lock is kept.</p>
<p dir="auto">Thank for the update.</p>
]]></description><link>https://forum.cloudron.io/post/124710</link><guid isPermaLink="true">https://forum.cloudron.io/post/124710</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Thu, 14 May 2026 08:26:06 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Thu, 07 May 2026 12:05:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tobiasb" aria-label="Profile: tobiasb">@<bdi>tobiasb</bdi></a> thanks for reporting, will investigate</p>
]]></description><link>https://forum.cloudron.io/post/124482</link><guid isPermaLink="true">https://forum.cloudron.io/post/124482</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 07 May 2026 12:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Wed, 29 Apr 2026 17:14:08 GMT]]></title><description><![CDATA[<p dir="auto">This can happen in this step:</p>
<pre><code>=&gt;  PREV_DOLIBARR_VERSION=`php /app/code/htdocs/install/get-version.php`
</code></pre>
<p dir="auto">Log:</p>
<pre><code>2026-02-07T13:35:00Z ==&gt; Starting Dolibarr
2026-02-07T13:35:03Z #0 /app/code/htdocs/core/class/conf.class.php(561): DoliDBMysqli-&gt;query()
2026-02-07T13:35:03Z #1 /app/code/htdocs/install/get-version.php(28): Conf-&gt;setValues()
2026-02-07T13:35:03Z #2 {main}
2026-02-07T13:35:03Z PHP Fatal error:  Uncaught Error: Call to a member function query() on false in /app/code/htdocs/core/db/mysqli.class.php:355
</code></pre>
<p dir="auto">A shell script with <code>set -e</code> stops when If an error occurs. The script does not have an error handling in such cases, therefore the lock file is still in /tmp.</p>
<p dir="auto">With error handling</p>
<pre><code class="language-sh">trap 'echo "Houston we have problem"; [[ -f /tmp/install.lock ]] &amp;&amp; mv /tmp/install.lock /app/data/dolibarr/install.lock; exit 1' ERR
</code></pre>
]]></description><link>https://forum.cloudron.io/post/124170</link><guid isPermaLink="true">https://forum.cloudron.io/post/124170</guid><dc:creator><![CDATA[tobiasb]]></dc:creator><pubDate>Wed, 29 Apr 2026 17:14:08 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Tue, 28 Apr 2026 11:03:57 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/sebastienserre" aria-label="Profile: sebastienserre">@<bdi>sebastienserre</bdi></a><br />
I was not able to reproduce this with a fresh instance of Dolibarr.<br />
Maybe this is due to your other issue you have posted with the custom cron job?</p>
]]></description><link>https://forum.cloudron.io/post/124092</link><guid isPermaLink="true">https://forum.cloudron.io/post/124092</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 28 Apr 2026 11:03:57 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Tue, 28 Apr 2026 10:40:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello</p>
<p dir="auto">I thought this issue has been fixed, but we always have the issue. (which is a security one)<br />
I do not know why the Cloudron Dolibarr app runs the cron as root and not as www-data user.</p>
]]></description><link>https://forum.cloudron.io/post/124085</link><guid isPermaLink="true">https://forum.cloudron.io/post/124085</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Tue, 28 Apr 2026 10:40:43 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 16 Mar 2026 19:07:15 GMT]]></title><description><![CDATA[<p dir="auto">Fixed by setting my own cron job <a href="https://forum.cloudron.io/topic/14965/which-user-for-cron-task/4?_=1773687776018">https://forum.cloudron.io/topic/14965/which-user-for-cron-task/4?_=1773687776018</a></p>
]]></description><link>https://forum.cloudron.io/post/121975</link><guid isPermaLink="true">https://forum.cloudron.io/post/121975</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Mon, 16 Mar 2026 19:07:15 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Sat, 07 Feb 2026 13:39:41 GMT]]></title><description><![CDATA[<p dir="auto">Hello,<br />
Is a solution has been found because I'm experiencing the same issue.<br />
Video =&gt; <a href="https://www.loom.com/share/a526c2ccf8ff46108d791ae6e4d862e8" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.loom.com/share/a526c2ccf8ff46108d791ae6e4d862e8</a><br />
Logs =&gt; <a href="https://file.thivinfo.com/Cloudron/82a18dde-001d-4c51-a69b-5ac33376e6b5%20(1).log" target="_blank" rel="noopener noreferrer nofollow ugc">https://file.thivinfo.com/Cloudron/82a18dde-001d-4c51-a69b-5ac33376e6b5 (1).log</a></p>
]]></description><link>https://forum.cloudron.io/post/119828</link><guid isPermaLink="true">https://forum.cloudron.io/post/119828</guid><dc:creator><![CDATA[sebastienserre]]></dc:creator><pubDate>Sat, 07 Feb 2026 13:39:41 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 13 Oct 2025 09:44:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crush33" aria-label="Profile: Crush33">@<bdi>Crush33</bdi></a> Can you give us access to your instance (possibly a cloned instance of your existing dolibarr?) . If so, can you write to me on <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a> and I can try to take a look. There is possible some bug in the package causing this.</p>
]]></description><link>https://forum.cloudron.io/post/113691</link><guid isPermaLink="true">https://forum.cloudron.io/post/113691</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Mon, 13 Oct 2025 09:44:41 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 13 Oct 2025 00:29:32 GMT]]></title><description><![CDATA[<p dir="auto">Maybe the upgrade is failing, check logs?</p>
<p dir="auto">The code could also be adjusted to copy vs move the file so it stays available. But, it's probably moved for a reason I am not aware of.</p>
]]></description><link>https://forum.cloudron.io/post/113666</link><guid isPermaLink="true">https://forum.cloudron.io/post/113666</guid><dc:creator><![CDATA[robi]]></dc:creator><pubDate>Mon, 13 Oct 2025 00:29:32 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Sun, 12 Oct 2025 20:09:14 GMT]]></title><description><![CDATA[<p dir="auto">hello,</p>
<p dir="auto">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.</p>
<p dir="auto">I recreate all of them at one using this in shell on cloudron :</p>
<pre><code class="language-bash">#!/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
done
</code></pre>
<p dir="auto">dunno what I should do to see why it doesn't work appropriately <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">thanks for any help !</p>
]]></description><link>https://forum.cloudron.io/post/113663</link><guid isPermaLink="true">https://forum.cloudron.io/post/113663</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Sun, 12 Oct 2025 20:09:14 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 29 Sep 2025 08:35:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/crush33" aria-label="Profile: Crush33">@<bdi>Crush33</bdi></a><br />
The Cloudron Dolibarr app does move the <code>/app/data/dolibarr/install.lock</code> file on each startup of the app temporary inside the docker container to <code>/tmp/install.lock</code> to run upgrade steps.<br />
After the upgrade steps are completed, the <code>/tmp/install.lock</code> is moved back to <code>/app/data/dolibarr/install.lock</code>.</p>
<p dir="auto">Maybe you have seen this behavior at the exact moment the app started.<br />
But, the file should be moved back into place after the app is fully started.</p>
]]></description><link>https://forum.cloudron.io/post/113103</link><guid isPermaLink="true">https://forum.cloudron.io/post/113103</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 29 Sep 2025 08:35:44 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 29 Sep 2025 07:55:22 GMT]]></title><description><![CDATA[<p dir="auto">hello joseph<br />
cloudron ask me to reboot whole OS for ubuntu security update<br />
when I do, file /app/data/dolibarr/install.lock is missing after that reboot (which is critical for security reason).</p>
<p dir="auto">I recreate them by hand (touch install.lock from ssh in OS, maybe I shouldn't to that...?).</p>
<p dir="auto">On a later update ubuntu, they vanish again.<br />
If I manually reboot (i.e command "reboot" in shell), they're gone too after the reboot.</p>
<p dir="auto">I dunno where to look at to see exactly what's happening. Is it container side ? or OS side ?<br />
Provided  above logs are from container side and there is nothing about the lock file...</p>
]]></description><link>https://forum.cloudron.io/post/113098</link><guid isPermaLink="true">https://forum.cloudron.io/post/113098</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Mon, 29 Sep 2025 07:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Thu, 25 Sep 2025 12:16:01 GMT]]></title><description><![CDATA[<p dir="auto">I too am wondering what the pasted links here have to do with lock files? What do you mean by "all my install.lock files disappear" ? How are you re-creating them?</p>
]]></description><link>https://forum.cloudron.io/post/112984</link><guid isPermaLink="true">https://forum.cloudron.io/post/112984</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 25 Sep 2025 12:16:01 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Tue, 23 Sep 2025 08:45:25 GMT]]></title><description><![CDATA[<p dir="auto">hello james<br />
I have a reboot pending on server with multiple dolibarr inside.<br />
I don't use any volumes.<br />
What should I look at before and after reboot to be sure to catch the right information for debugging ?<br />
Thanks !</p>
]]></description><link>https://forum.cloudron.io/post/112898</link><guid isPermaLink="true">https://forum.cloudron.io/post/112898</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Tue, 23 Sep 2025 08:45:25 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 15 Sep 2025 12:54:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/crush33" aria-label="Profile: Crush33">@<bdi>Crush33</bdi></a></p>
<p dir="auto">Sadly I was not able to reproduce this behavior.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/crush33" aria-label="Profile: Crush33">@<bdi>Crush33</bdi></a> are you using any volumes for the Dolibarr app?</p>
]]></description><link>https://forum.cloudron.io/post/112705</link><guid isPermaLink="true">https://forum.cloudron.io/post/112705</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 15 Sep 2025 12:54:18 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 15 Sep 2025 11:46:05 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/crush33" aria-label="Profile: Crush33">@<bdi>Crush33</bdi></a><br />
Please apologize the delayed response.</p>
<p dir="auto">In your provided logs I could not find anything related to the startup of the app and the <code>install.lock</code> file.<br />
Do you have the full app log from the dashboard of the day this happened?<br />
Especially the startup part is important.</p>
<p dir="auto">The Dolibarr app runs a <code>setup()</code> function on startup that check if the file <code>/app/data/dolibarr/install.lock</code> exists, moves it to <code>/tmp/install.lock</code> and after running the upgrade hooks it should move back the <code>/tmp/install.lock</code> to <code>/app/data/dolibarr/install.lock</code>.</p>
<p dir="auto">There might have been a failure when running the upgrade hooks or the app crashed or OOM resulting in <code>/tmp/install.lock</code> not being moved back to <code>/app/data/dolibarr/install.lock</code>?<br />
I will try to force such a scenario and see if I can reproduce this behavior.</p>
]]></description><link>https://forum.cloudron.io/post/112703</link><guid isPermaLink="true">https://forum.cloudron.io/post/112703</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 15 Sep 2025 11:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Thu, 11 Sep 2025 14:03:39 GMT]]></title><description><![CDATA[<p dir="auto">before reboot : <a href="https://paste.cloudron.io/cigojugite.yaml" target="_blank" rel="noopener noreferrer nofollow ugc">https://paste.cloudron.io/cigojugite.yaml</a><br />
after reboot : <a href="https://paste.cloudron.io/ilulajihon.yaml" target="_blank" rel="noopener noreferrer nofollow ugc">https://paste.cloudron.io/ilulajihon.yaml</a></p>
]]></description><link>https://forum.cloudron.io/post/112614</link><guid isPermaLink="true">https://forum.cloudron.io/post/112614</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Thu, 11 Sep 2025 14:03:39 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Wed, 03 Sep 2025 09:26:56 GMT]]></title><description><![CDATA[<p dir="auto">You can use <a href="https://paste.cloudron.io/" target="_blank" rel="noopener noreferrer nofollow ugc">https://paste.cloudron.io/</a> to paste the whole file in there and provide the URL here.</p>
]]></description><link>https://forum.cloudron.io/post/112325</link><guid isPermaLink="true">https://forum.cloudron.io/post/112325</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 03 Sep 2025 09:26:56 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Tue, 02 Sep 2025 16:38:43 GMT]]></title><description><![CDATA[<p dir="auto">forum says i can't upload file here <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=090c346130c" class="not-responsive emoji emoji-android emoji--disappointed" style="height:23px;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<p dir="auto">Error<br />
You do not have enough privileges for this action.</p>
]]></description><link>https://forum.cloudron.io/post/112311</link><guid isPermaLink="true">https://forum.cloudron.io/post/112311</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Tue, 02 Sep 2025 16:38:43 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Mon, 01 Sep 2025 08:18:54 GMT]]></title><description><![CDATA[<p dir="auto">The app log itself.<br />
You can also download the logs and provide this file here.</p>
]]></description><link>https://forum.cloudron.io/post/112234</link><guid isPermaLink="true">https://forum.cloudron.io/post/112234</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 01 Sep 2025 08:18:54 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Sat, 30 Aug 2025 14:53:13 GMT]]></title><description><![CDATA[<p dir="auto">where should I check exactly to see what happend ?</p>
]]></description><link>https://forum.cloudron.io/post/112186</link><guid isPermaLink="true">https://forum.cloudron.io/post/112186</guid><dc:creator><![CDATA[Crush33]]></dc:creator><pubDate>Sat, 30 Aug 2025 14:53:13 GMT</pubDate></item><item><title><![CDATA[Reply to install.lock removed after cloudron reboot on Thu, 28 Aug 2025 14:03:55 GMT]]></title><description><![CDATA[<p dir="auto">Do you see anything in the logs? From what I can see in the packaging code, the install.lock is temporarily moved and then migrations are run and then it is moved back. Maybe the migration run is failing ?</p>
]]></description><link>https://forum.cloudron.io/post/112139</link><guid isPermaLink="true">https://forum.cloudron.io/post/112139</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Thu, 28 Aug 2025 14:03:55 GMT</pubDate></item></channel></rss>