<?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[Can&#x27;t start cloudron service after Default Data Directory migration]]></title><description><![CDATA[<p dir="auto">We followed the official Cloudron tutorial for moving data to an external volume:<br />
<a href="https://docs.cloudron.io/storage/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/storage/</a></p>
<p dir="auto">During the migration process, we faced several issues:</p>
<h3>Issue #1: Docker Restart Loop</h3>
<p dir="auto">We attempted to migrate <code>/home/yellowtent/platformdata/logs</code>, but the migration failed because Docker was still using this directory even after stopping the Docker service. Docker automatically restarted itself, preventing the move. To resolve this, we ran the following command:</p>
<pre><code>systemctl mask docker
</code></pre>
<p dir="auto">This allowed us to stop Docker and proceed with the migration.</p>
<p dir="auto">We attached an ext4 volume from Hetzner to the server, and there is sufficient space on the volume for Cloudron data.</p>
<h3>Issue #2: Services Fail to Start After Migration</h3>
<p dir="auto">After completing the migration we restarted services:<br />
box, docker (unmask docker), nginx, collectd</p>
<p dir="auto">But most services failed to start in "Services" tab in Cloudron. For example graphite, postgresql, unbound, etc. And we can't restart them due to error.</p>
<p dir="auto">The error message from Cloudron (when we want to start service) is as follows:</p>
<pre><code>(HTTP code 500) server error - Cannot restart container mysql: failed to create task for container: failed to initialize logging driver: dial unix /home/yellowtent/platformdata/logs/syslog.sock: connect: connection refused
</code></pre>
<h3>Troubleshooting Steps</h3>
<ol>
<li>We verified that <code>/mnt/tc-cloudron-volume-1/platformdata/logs/syslog.sock</code> is being created with the <code>root:root</code> ownership and permissions:</li>
</ol>
<pre><code>srw-rw-rw- 1 root root 0 ...
</code></pre>
<ol start="2">
<li>We updated <code>/etc/rsyslog.conf</code> to include the following lines:</li>
</ol>
<pre><code>module( load="imuxsock" SysSock.Name="/mnt/tc-cloudron-volume-1/platformdata/logs/syslog.sock" SysSock.Owner="yellowtent" SysSock.Group="yellowtent" SysSock.Perm="0666" )
</code></pre>
<p dir="auto">Despite restarting <code>rsyslog</code> and Docker multiple times, the issue persists.</p>
<ol start="3">
<li>We also manually removed the <code>syslog.sock</code> file, restarted <code>rsyslog</code>, and confirmed that it recreates the file. However, it still reverts to <code>root:root</code> ownership.</li>
</ol>
<h3>Current State</h3>
<ul>
<li>The <code>syslog.sock</code> file is being created with <code>root:root</code> ownership, which prevents Docker containers (e.g., MySQL, PostgreSQL) from initializing correctly.</li>
<li>Even after applying the correct ownership and permissions manually (<code>chown yellowtent:yellowtent</code> and <code>chmod 0666</code>), the services fail to start.</li>
<li>We suspect this might be due to a deeper integration issue between <code>rsyslog</code>, Docker, and Cloudron's specific logging requirements.</li>
</ul>
<h3>Environment Details</h3>
<ul>
<li>Cloudron version: v8.2.3</li>
<li>OS: Ubuntu 22.04.1 LTS</li>
<li>Rsyslog version: 8.2.3</li>
<li>Hosting provider: Hetzner</li>
<li>Attached volume: ext4 formatted with sufficient space</li>
</ul>
<h3>Request for Assistance</h3>
<p dir="auto">We kindly request guidance on how to resolve the <code>syslog.sock</code> ownership issue and ensure proper integration of logging between Docker and Cloudron after migration to an external volume.</p>
<p dir="auto">Thank you in advance for your help!</p>
]]></description><link>https://forum.cloudron.io/topic/13166/can-t-start-cloudron-service-after-default-data-directory-migration</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 23:23:24 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13166.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 22 Jan 2025 02:07:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Sat, 22 Feb 2025 20:13:03 GMT]]></title><description><![CDATA[<p dir="auto">fyi: As soon as I have moved <code>platformdata</code> back to the “original” storage, <s>everything works as expected</s> the error disappeared.<br />
I also had to move the <code>appsdata</code> &amp; <code>boxdata</code> back to get a fully functional Cloudron instance again.</p>
]]></description><link>https://forum.cloudron.io/post/102155</link><guid isPermaLink="true">https://forum.cloudron.io/post/102155</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sat, 22 Feb 2025 20:13:03 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Sat, 22 Feb 2025 17:42:32 GMT]]></title><description><![CDATA[<p dir="auto">yes. This is what has happened in the meantime</p>
<p dir="auto"><code>journalctl -f</code></p>
<pre><code>Feb 22 17:41:06 cos systemd[1]: box.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 17:41:06 cos systemd[1]: box.service: Failed with result 'exit-code'.
Feb 22 17:41:06 cos systemd[1]: box.service: Scheduled restart job, restart counter is at 3937.
Feb 22 17:41:06 cos systemd[1]: Stopped Cloudron Admin.
Feb 22 17:41:06 cos systemd[1]: Started Cloudron Admin.
Feb 22 17:41:07 cos sshd[32331]: Received disconnect from 218.92.0.237 port 48908:11:  [preauth]
Feb 22 17:41:07 cos sshd[32331]: Disconnected from authenticating user root 218.92.0.237 port 48908 [preauth]
Feb 22 17:41:07 cos sshd[32331]: PAM 2 more authentication failures; logname= uid=0 euid=0 tty=ssh ruser= rhost=218.92.0.237  user=root
Feb 22 17:41:09 cos box.js[32364]: node:fs:827
Feb 22 17:41:09 cos box.js[32364]:   fd = getValidatedFd(fd);
Feb 22 17:41:09 cos box.js[32364]:        ^
Feb 22 17:41:09 cos box.js[32364]: TypeError [ERR_INVALID_ARG_TYPE]: The "fd" argument must be of type number. Received undefined
Feb 22 17:41:09 cos box.js[32364]:     at Object.write (node:fs:827:8)
Feb 22 17:41:09 cos box.js[32364]:     at exitSync (/home/yellowtent/box/box.js:39:26)
Feb 22 17:41:09 cos box.js[32364]:     at main (/home/yellowtent/box/box.js:58:23) {
Feb 22 17:41:09 cos box.js[32364]:   code: 'ERR_INVALID_ARG_TYPE'
Feb 22 17:41:09 cos box.js[32364]: }
Feb 22 17:41:09 cos box.js[32364]: Node.js v20.18.0
</code></pre>
]]></description><link>https://forum.cloudron.io/post/102154</link><guid isPermaLink="true">https://forum.cloudron.io/post/102154</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sat, 22 Feb 2025 17:42:32 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Sat, 22 Feb 2025 16:51:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/luckow" aria-label="Profile: luckow">@<bdi>luckow</bdi></a> have you tried to delete that file <code>/home/yellowtent/platformdata/logs/syslog.sock</code> via ssh?</p>
]]></description><link>https://forum.cloudron.io/post/102150</link><guid isPermaLink="true">https://forum.cloudron.io/post/102150</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sat, 22 Feb 2025 16:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Sat, 22 Feb 2025 14:51:35 GMT]]></title><description><![CDATA[<p dir="auto">sorry for bringing up this topic again.<br />
I followed the document (<a href="https://docs.cloudron.io/storage/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/storage/</a>) and ended up at</p>
<pre><code>Feb 22 14:49:00 cos syslog.js[6203]: node:internal/process/promises:391
Feb 22 14:49:00 cos syslog.js[6203]:     triggerUncaughtException(err, true /* fromPromise */);
Feb 22 14:49:00 cos syslog.js[6203]:     ^
Feb 22 14:49:00 cos syslog.js[6203]: [Error: EACCES: permission denied, lstat '/home/yellowtent/platformdata/logs/syslog.sock'] {
Feb 22 14:49:00 cos syslog.js[6203]:   errno: -13,
Feb 22 14:49:00 cos syslog.js[6203]:   code: 'EACCES',
Feb 22 14:49:00 cos syslog.js[6203]:   syscall: 'lstat',
Feb 22 14:49:00 cos syslog.js[6203]:   path: '/home/yellowtent/platformdata/logs/syslog.sock'
Feb 22 14:49:00 cos syslog.js[6203]: }
Feb 22 14:49:00 cos syslog.js[6203]: Node.js v20.18.0
Feb 22 14:49:00 cos systemd[1]: cloudron-syslog.service: Main process exited, code=exited, status=1/FAILURE
Feb 22 14:49:00 cos systemd[1]: cloudron-syslog.service: Failed with result 'exit-code'.
</code></pre>
]]></description><link>https://forum.cloudron.io/post/102146</link><guid isPermaLink="true">https://forum.cloudron.io/post/102146</guid><dc:creator><![CDATA[luckow]]></dc:creator><pubDate>Sat, 22 Feb 2025 14:51:35 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Thu, 23 Jan 2025 21:14:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> ,</p>
<p dir="auto">Yes, your new instructions at <a href="https://docs.cloudron.io/storage/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/storage/</a> were very helpful! However, I still had to manually restart the services on the /services page in the Cloudron admin panel.</p>
<p dir="auto">Regarding the time it takes to reindex disk information, it happened within the same day for me. I’ll continue monitoring the system's stability over the next few days to ensure everything is running smoothly.</p>
<p dir="auto">Thank you so much for your help! Thanks to your assistance, I was finally able to resolve the issue with running out of disk space <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=21ee5037fec" 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/100564</link><guid isPermaLink="true">https://forum.cloudron.io/post/100564</guid><dc:creator><![CDATA[ivan-petro]]></dc:creator><pubDate>Thu, 23 Jan 2025 21:14:40 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Wed, 22 Jan 2025 13:41:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> , got it!<br />
thanks. will do and let you know about result</p>
]]></description><link>https://forum.cloudron.io/post/100445</link><guid isPermaLink="true">https://forum.cloudron.io/post/100445</guid><dc:creator><![CDATA[ivan-petro]]></dc:creator><pubDate>Wed, 22 Jan 2025 13:41:28 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Wed, 22 Jan 2025 12:08:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivan-petro" aria-label="Profile: ivan-petro">@<bdi>ivan-petro</bdi></a> that service is added to docs now . that services holds the syslog.sock file</p>
]]></description><link>https://forum.cloudron.io/post/100434</link><guid isPermaLink="true">https://forum.cloudron.io/post/100434</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 22 Jan 2025 12:08:28 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Wed, 22 Jan 2025 12:05:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a>,</p>
<p dir="auto">No, I haven’t tried running<br />
<code>systemctl restart cloudron-syslog</code></p>
<p dir="auto">Do you think this could help resolve the issue?</p>
<p dir="auto">I followed the official Cloudron documentation for migrating the default data directory: <a href="https://docs.cloudron.io/storage/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/storage/</a>. However, the documentation doesn’t mention restarting cloudron-syslog as part of the process.</p>
<p dir="auto">To try this command, I’ll need to wait until my scheduled maintenance window at night to work on the server. If you have any other suggestions, please let me know so I can try everything during my maintenance period.</p>
<p dir="auto">Thank you for your assistance!</p>
]]></description><link>https://forum.cloudron.io/post/100433</link><guid isPermaLink="true">https://forum.cloudron.io/post/100433</guid><dc:creator><![CDATA[ivan-petro]]></dc:creator><pubDate>Wed, 22 Jan 2025 12:05:18 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Wed, 22 Jan 2025 11:35:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ivan-petro" aria-label="Profile: ivan-petro">@<bdi>ivan-petro</bdi></a> can you try <code>systemctl restart cloudron-syslog</code> ?</p>
]]></description><link>https://forum.cloudron.io/post/100431</link><guid isPermaLink="true">https://forum.cloudron.io/post/100431</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 22 Jan 2025 11:35:37 GMT</pubDate></item><item><title><![CDATA[Reply to Can&#x27;t start cloudron service after Default Data Directory migration on Wed, 22 Jan 2025 10:20:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Team,</p>
<p dir="auto">This issue is particularly significant for users running a large number of apps on Hetzner VPS, as scaling storage is only possible by attaching Hetzner volumes. As you know, Hetzner VPS instances have limited internal disk storage that cannot be expanded directly, making volumes the only viable option for increasing capacity.</p>
<p dir="auto">In Cloudron, as I understand it, PostgreSQL runs in Docker and stores its data centrally on the server for all apps. Unfortunately, this setup doesn’t allow migrating specific PostgreSQL databases for individual apps to the volume. Instead, the entire /home/yellowtent/platformdata directory needs to be migrated to the attached volume, with symlinks created to point to the new storage location.</p>
<p dir="auto">This makes the migration process challenging, especially given the dependency on syslog.sock and the logging configuration. Resolving this issue would greatly help users like me who need to scale storage while maintaining Cloudron’s functionality.</p>
]]></description><link>https://forum.cloudron.io/post/100422</link><guid isPermaLink="true">https://forum.cloudron.io/post/100422</guid><dc:creator><![CDATA[ivan-petro]]></dc:creator><pubDate>Wed, 22 Jan 2025 10:20:15 GMT</pubDate></item></channel></rss>