<?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[mysql won&#x27;t start upon cloudron upgrade]]></title><description><![CDATA[<p dir="auto">Hey all,</p>
<p dir="auto">I'm seeing in /home/yellowtent/platformdata/logs/box.log:</p>
<pre><code>2024-06-07T12:58:29.738Z box:platform BoxError: startMysql errored with code 125 message Command failed: docker run --restart=always -d --name=mysql                 --hostname mysql                 --net cloudron                 --net-alias mysql                 --log-driver syslog                 --log-opt syslog-address=unix:///home/yellowtent/platformdata/logs/syslog.sock                 --log-opt syslog-format=rfc5424                 --log-opt tag=mysql                 --dns 172.38.some.IP                 --dns-search=.                 --ip 172.32.some.IP                 -e CLOUDRON_MYSQL_TOKEN=somestuff                 -e CLOUDRON_MYSQL_ROOT_HOST=172.18.0.1                 -e CLOUDRON_MYSQL_ROOT_PASSWORD=somestuff                 -v /home/yellowtent/platformdata/mysql:/var/lib/mysql                 --label isCloudronManaged=true                 --cap-add SYS_NICE                 --read-only -v /tmp -v /run registry.docker.com/cloudron/mysql:3.4.2@sha256:some_hash 
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/yellowtent/platformdata/mysql" to rootfs at "/var/lib/mysql": mount /home/yellowtent/platformdata/mysql:/var/lib/mysql (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type.

    at /home/yellowtent/box/src/shell.js:71:23
    at ChildProcess.exithandler (node:child_process:427:5)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at ChildProcess._handle.onexit (node:internal/child_process:302:5)

</code></pre>
<p dir="auto">When mysql starts after upgrading. This means a bunch of stuff doesn't work.</p>
<ul>
<li>I've tried upgrading from Ubuntu 20.04 to 22.04, that seemed to work but the problem persists.</li>
<li>I've tried docker container prune and docker volume prune, restart, same problem.</li>
<li>I've tried the mysql troubleshooting instructions here: <a href="https://docs.cloudron.io/troubleshooting/#mysql-addon" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/troubleshooting/#mysql-addon</a></li>
</ul>
<p dir="auto">Any ideas? It seems like it's a permissions thing, but I don't want to tinker with Cloudron's guts too much.</p>
]]></description><link>https://forum.cloudron.io/topic/11871/mysql-won-t-start-upon-cloudron-upgrade</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 06:24:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/11871.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 07 Jun 2024 13:05:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Tue, 18 Jun 2024 15:34:12 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> , this worked.</p>
<p dir="auto">For those coming through in the future note that cloudron-support may ask you to reboot and run again, keep an eye out for it.</p>
]]></description><link>https://forum.cloudron.io/post/89992</link><guid isPermaLink="true">https://forum.cloudron.io/post/89992</guid><dc:creator><![CDATA[81ewlska]]></dc:creator><pubDate>Tue, 18 Jun 2024 15:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Fri, 14 Jun 2024 15:29:38 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/81ewlska" aria-label="Profile: 81ewlska">@<bdi>81ewlska</bdi></a> you can get the latest support script from here <a href="https://git.cloudron.io/cloudron/box/-/raw/master/scripts/cloudron-support" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/raw/master/scripts/cloudron-support</a> .</p>
<p dir="auto">Before you run it on the server, go to Services and check if all the services are running.</p>
<p dir="auto">If they are running, then run the script on the server:</p>
<pre><code>wget https://git.cloudron.io/cloudron/box/-/raw/master/scripts/cloudron-support -O /usr/bin/cloudron-support
cloudron-support --recreate-docker
</code></pre>
<p dir="auto">After the above, you can update Cloudron and it should work.</p>
]]></description><link>https://forum.cloudron.io/post/89868</link><guid isPermaLink="true">https://forum.cloudron.io/post/89868</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 14 Jun 2024 15:29:38 GMT</pubDate></item><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Thu, 13 Jun 2024 14:57:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a>  great, thanks!</p>
<p dir="auto">FWIW I followed the Ubuntu upgrade instructions in <a href="https://docs.cloudron.io/guides/upgrade-ubuntu-22/" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/guides/upgrade-ubuntu-22/</a><br />
and the recreate-containers script never finishes, same error I believe.</p>
]]></description><link>https://forum.cloudron.io/post/89823</link><guid isPermaLink="true">https://forum.cloudron.io/post/89823</guid><dc:creator><![CDATA[81ewlska]]></dc:creator><pubDate>Thu, 13 Jun 2024 14:57:42 GMT</pubDate></item><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Thu, 13 Jun 2024 08:42:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/81ewlska" aria-label="Profile: 81ewlska">@<bdi>81ewlska</bdi></a> I suspect something in docker is already corrupt and this is hit only when you upgrade. The upgrade downloads a newer docker image for mysql .</p>
<p dir="auto">On Cloudron, there is no data as it can always recreate docker containers and images without any data loss. There is currently no instructions on how to recreate docker storage. I will add a doc for this.</p>
]]></description><link>https://forum.cloudron.io/post/89798</link><guid isPermaLink="true">https://forum.cloudron.io/post/89798</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 13 Jun 2024 08:42:24 GMT</pubDate></item><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Wed, 12 Jun 2024 16:31:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> Thanks for checking in. I have not gotten it sorted out...if I revert to a previous Cloudron version everything is fine! Which leads me to believe something's going wrong with the upgrade.</p>
]]></description><link>https://forum.cloudron.io/post/89758</link><guid isPermaLink="true">https://forum.cloudron.io/post/89758</guid><dc:creator><![CDATA[81ewlska]]></dc:creator><pubDate>Wed, 12 Jun 2024 16:31:12 GMT</pubDate></item><item><title><![CDATA[Reply to mysql won&#x27;t start upon cloudron upgrade on Mon, 10 Jun 2024 19:51:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/81ewlska" aria-label="Profile: 81ewlska">@<bdi>81ewlska</bdi></a> did you get this sorted out? It looks like the docker directory is corrupt. Maybe because the server ran out of disk space at some point ?</p>
]]></description><link>https://forum.cloudron.io/post/89672</link><guid isPermaLink="true">https://forum.cloudron.io/post/89672</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Mon, 10 Jun 2024 19:51:42 GMT</pubDate></item></channel></rss>