<?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[Should&#x2F;can Cloudron check whether disk has sufficient space before running an app&#x27;s update?]]></title><description><![CDATA[<p dir="auto">I just ran into a similar issue as <a href="https://forum.cloudron.io/topic/11862/error-during-gitlab-update-16-11-2-17-0-1-insufficient-disk-space/5?_=1719849553495">this one</a>, when the app Rallly tried to update today.</p>
<p dir="auto">My server has about 8GB space left, but that's apparently not enough to run the update.</p>
<p dir="auto">The main issue isn't so much the update failing, Cloudron can't do much about that.<br />
The issue is rather that <strong>Cloudron is trying to perform the update daily</strong>, despite the fact it failed yesterday already, due to the same issue (<code>not enough disk space on device</code>).</p>
<p dir="auto">But, when if failed yesterday, I didn't have monitoring on the server, and I noticed the app "Rallly" was broken, but I didn't understand why. Now, I understand it tried to update yesterday, and failed, and did so again today.</p>
<p dir="auto">Now that I understand the issue better (thanks to my <a href="https://forum.cloudron.io/topic/12015">Netdata monitoring</a>), I wonder about:</p>
<ul>
<li>Could Cloudron know, <strong>beforehand</strong>, how much space an update is gonna take (roughly), I believe it could know the size of the Docker image it will download, and compare it with the disk space left, to raise an alarm and/or <strong>to not perform the update</strong> automatically if disk space is clearly insufficient.</li>
<li>In the event where Cloudron tries to do the update, and fails, could it not try to do the update automatically again? (knowing it will fail)</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1719905786255-21a43345-7c49-4583-979c-a26506065b3e-image-resized.png" alt="21a43345-7c49-4583-979c-a26506065b3e-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I know I can stop automated updates for this app, but that's a manual solution, I think Cloudron could help us by avoiding running into this kind of issue (which might tear down other apps in the process).</p>
]]></description><link>https://forum.cloudron.io/topic/12022/should-can-cloudron-check-whether-disk-has-sufficient-space-before-running-an-app-s-update</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 23:10:21 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/12022.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 02 Jul 2024 07:45:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Should&#x2F;can Cloudron check whether disk has sufficient space before running an app&#x27;s update? on Tue, 02 Jul 2024 20:44:07 GMT]]></title><description><![CDATA[<p dir="auto">It seems there was lingering yarn cache. Removing it cuts the size by half.</p>
]]></description><link>https://forum.cloudron.io/post/90791</link><guid isPermaLink="true">https://forum.cloudron.io/post/90791</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 02 Jul 2024 20:44:07 GMT</pubDate></item><item><title><![CDATA[Reply to Should&#x2F;can Cloudron check whether disk has sufficient space before running an app&#x27;s update? on Tue, 02 Jul 2024 12:01:59 GMT]]></title><description><![CDATA[<p dir="auto">I think something might be wrong with how Rallly has been setup then. The upstream is 500MB, the Cloudron's is 10Gb, 20 times more.</p>
<p dir="auto">I don't recognize this behavior with other apps:</p>
<pre><code>root@unly-misc:~# docker images --format "{{.Repository}}:{{.Tag}} {{.ID}} {{.Size}}"
cloudron/com.metabase.cloudronapp:20240628-191401-64473d75c 702ac40462e0 2.79GB
cloudron/co.rallly.cloudronapp:20240620-132420-727aea519 6724902697a3 10.2GB
cloudron/io.changedetection.cloudronapp:20240617-125108-019d2ff03 b23079c56084 3.92GB
cloudron/tech.ittools.cloudron:20240515-092352-014c36070 3fccf9f15005 2.22GB
registry.docker.com/cloudron/postgresql:5.2.1 333f887a27f7 2.75GB
registry.docker.com/cloudron/sftp:3.8.6 b735f2120189 2.23GB
registry.docker.com/cloudron/mail:3.12.1 ea18fc4dd1c7 2.96GB
registry.docker.com/cloudron/mongodb:6.0.0 4b95d24318a2 2.69GB
registry.docker.com/cloudron/graphite:3.4.3 dbd026164ada 2.28GB
cloudron/it.kutt.cloudronapp:20231017-142419-29446a137 847c1860e3df 2.94GB
registry.docker.com/cloudron/redis:3.5.2 80e7a4079e6b 2.22GB
registry.docker.com/cloudron/mysql:3.4.2 c7085a52532b 2.53GB
registry.docker.com/cloudron/turn:1.7.2 152b1fb9690e 2.22GB
registry.docker.com/cloudron/base:4.2.0 6ec7c1ab3983 2.21GB
</code></pre>
<p dir="auto">Other apps are 2-4GB.</p>
]]></description><link>https://forum.cloudron.io/post/90753</link><guid isPermaLink="true">https://forum.cloudron.io/post/90753</guid><dc:creator><![CDATA[AmbroiseUnly]]></dc:creator><pubDate>Tue, 02 Jul 2024 12:01:59 GMT</pubDate></item><item><title><![CDATA[Reply to Should&#x2F;can Cloudron check whether disk has sufficient space before running an app&#x27;s update? on Tue, 02 Jul 2024 11:55:50 GMT]]></title><description><![CDATA[<p dir="auto">We don't use upstream docker images. Cloudron builds it's own for every app. This is required to meet our deployment requirements (like readonly filesystem) , addon support etc.</p>
<p dir="auto">We build it like <a href="https://git.cloudron.io/cloudron/rallly-app" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/rallly-app</a> . Maybe there are some optimizations that can be done. But the image size is a combination of the base image (which is quite big and has all the necessary tools to debug apps).</p>
]]></description><link>https://forum.cloudron.io/post/90752</link><guid isPermaLink="true">https://forum.cloudron.io/post/90752</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 02 Jul 2024 11:55:50 GMT</pubDate></item><item><title><![CDATA[Reply to Should&#x2F;can Cloudron check whether disk has sufficient space before running an app&#x27;s update? on Tue, 02 Jul 2024 11:22:15 GMT]]></title><description><![CDATA[<p dir="auto">Also, in my case, the issue happened while updating <a href="https://support.rallly.co/self-hosting/docker-compose" target="_blank" rel="noopener noreferrer nofollow ugc">Rallly</a>.</p>
<p dir="auto">I looked for the size of the Docker Image, and it's about 500mb</p>
<pre><code>root@unly-misc:~# curl -s https://hub.docker.com/v2/repositories/lukevella/rallly/tags/latest/ | jq '.full_size'
510832205
</code></pre>
<p dir="auto">So, I fail to understand why it's failing the update with 8Gb of disk space left.</p>
<hr />
<p dir="auto">Edit: Looking at the Docker images directly, the file is 10.2GB.<br />
That's odd it weights so much, it's hard to explain.</p>
<pre><code>root@unly-misc:~# docker images --format "{{.Repository}}:{{.Tag}} {{.ID}} {{.Size}}"
cloudron/co.rallly.cloudronapp:20240620-132420-727aea519 6724902697a3 10.2GB
...
</code></pre>
]]></description><link>https://forum.cloudron.io/post/90745</link><guid isPermaLink="true">https://forum.cloudron.io/post/90745</guid><dc:creator><![CDATA[AmbroiseUnly]]></dc:creator><pubDate>Tue, 02 Jul 2024 11:22:15 GMT</pubDate></item></channel></rss>