<?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 error on Bookstack]]></title><description><![CDATA[<p dir="auto">My Bookstack instance running on Cloudron has suddenly run into problems. TLDR there is an mysql error in the log file.</p>
<p dir="auto">Version: 2.0.3 and my previous backed up version 1.46.8.</p>
<p dir="auto">This error occurred suddenly. I haven't used the application for several months, and the state of the application is: not responding.</p>
<p dir="auto">Mitigations:<br />
I have tried to revert to a backup from a previous version, before updates, and it also has this issue, so it must have been sitting there not responding for a while.</p>
<p dir="auto">Mysql button is inactive and does not work, when I go to the TERMINAL area in the Cloudron interface, since the app itself is "not responding". Message repeating is "Reconnecting ..."</p>
<p dir="auto">There are no out of memory or out of disk space errors reported by the system.</p>
<p dir="auto">I have root on the virtual server it is running on.</p>
<p dir="auto">Log dump from after a restore, which displays the error:</p>
<pre><code>Apr 13 11:02:19 restoring
Apr 13 11:02:20 2026-04-13 09:02:20,158 INFO waiting for redis to stop
Apr 13 11:02:20 2026-04-13 09:02:20,220 INFO stopped: redis (exit status 0)
Apr 13 11:02:20 2026-04-13 09:02:20,766 INFO spawned: 'redis' with pid 688
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.212 * BGSAVE done, 0 keys saved, 0 keys skipped, 88 bytes written.
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.212 * Saving the final RDB snapshot before exiting.
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.212 * User requested shutdown...
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.216 # Redis is now ready to exit, bye bye...
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.216 * DB saved on disk
Apr 13 11:02:20 661:M 13 Apr 2026 09:02:20.216 * Removing the pid file.
Apr 13 11:02:20 661:signal-handler (1776070940) Received SIGTERM scheduling shutdown...
Apr 13 11:02:20 688:C 13 Apr 2026 09:02:20.785 # WARNING Memory overcommit must be enabled! Without it, a background save or replication may fail under low memory condition. Being disabled, it can also cause failures without low memory condition, see https://github.com/jemalloc/jemalloc/issues/1328. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
Apr 13 11:02:20 688:C 13 Apr 2026 09:02:20.786 * Configuration loaded
Apr 13 11:02:20 688:C 13 Apr 2026 09:02:20.786 * Redis version=8.4.0, bits=64, commit=00000000, modified=1, pid=688, just started
Apr 13 11:02:20 688:C 13 Apr 2026 09:02:20.786 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.786 * Increased maximum number of open files to 10032 (it was originally set to 1024).
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.786 * monotonic clock: POSIX clock_gettime
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.789 # Failed to write PID file: Permission denied
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.789 * Running mode=standalone, port=6379.
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * DB loaded from disk: 0.000 seconds
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * Done loading RDB, keys loaded: 0, keys expired: 0.
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * Loading RDB produced by version 8.4.0
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * RDB age 84347 seconds
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * RDB memory usage when created 0.89 Mb
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * Ready to accept connections tcp
Apr 13 11:02:20 688:M 13 Apr 2026 09:02:20.790 * Server initialized
Apr 13 11:02:21 tasks: updating task 33246 with: {"percent":80,"message":"Creating container"}
Apr 13 11:02:21 apptask: createContainer: creating container
Apr 13 11:02:21 2026-04-13 09:02:21,792 INFO success: redis entered RUNNING state, process has stayed up for &gt; than 1 seconds (startsecs)
Apr 13 11:02:22 shell: apptask: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/configurelogrotate.sh add fea2ee06-093a-4025-ae2a-f9751391cfd8 /tmp/fea2ee06-093a-4025-ae2a-f9751391cfd8.logrotate
Apr 13 11:02:22 apptask: startApp: starting container
Apr 13 11:02:22 tasks: updating task 33246 with: {"percent":95,"message":"Configuring reverse proxy"}
Apr 13 11:02:22 shell: openssl: openssl x509 -noout -subject -issuer
Apr 13 11:02:22 reverseproxy: providerMatches: subject=CN = *.redactedfoobar.com domain=*.redactedfoobar.com issuer=C = US, O = Let's Encrypt, CN = R12 wildcard=true/true prod=true/true issuerMismatch=false wildcardMismatch=false match=true
Apr 13 11:02:22 shell: openssl: openssl x509 -startdate -enddate -subject -noout
Apr 13 11:02:22 openssl: expiryDate: subject=CN = *.redactedfoobar.com notBefore=Mar 10 04:11:58 2026 GMT notAfter=Jun 8 04:11:57 2026 GMT daysLeft=55.79831126157407
Apr 13 11:02:22 reverseproxy: ensureCertificate: candlekeep.redactedfoobar.com acme cert exists and is up to date
Apr 13 11:02:22 reverseproxy: needsRenewal: false. force: false
Apr 13 11:02:22 shell: openssl: openssl x509 -noout -subject -issuer
Apr 13 11:02:22 reverseproxy: providerMatches: subject=CN = *.redacted.foobar domain=*.redacted.foobar issuer=C = US, O = Let's Encrypt, CN = R13 wildcard=true/true prod=true/true issuerMismatch=false wildcardMismatch=false match=true
Apr 13 11:02:22 shell: openssl: openssl x509 -startdate -enddate -subject -noout
Apr 13 11:02:22 openssl: expiryDate: subject=CN = *.redacted.foobar notBefore=Mar 10 04:12:25 2026 GMT notAfter=Jun 8 04:12:24 2026 GMT daysLeft=55.79862304398148
Apr 13 11:02:22 reverseproxy: ensureCertificate: candlekeep.redacted.foobar acme cert exists and is up to date
Apr 13 11:02:22 reverseproxy: needsRenewal: false. force: false
Apr 13 11:02:22 reverseproxy: writeAppLocationNginxConfig: writing config for "candlekeep.redactedfoobar.com" to /home/yellowtent/platformdata/nginx/applications/fea2ee06-093a-4025-ae2a-f9751391cfd8/candlekeep.redactedfoobar.com.conf with options {"sourceDir":"/home/yellowtent/box","vhost":"candlekeep.redactedfoobar.com","hasIPv6":true,"ip":"172.18.17.66","port":8000,"endpoint":"app","redirectTo":null,"certFilePath":"/home/yellowtent/platformdata/nginx/cert/_.redactedfoobar.com.cert","keyFilePath":"/home/yellowtent/platformdata/nginx/cert/_.redactedfoobar.com.key","robotsTxtQuoted":null,"cspQuoted":null,"hideHeaders":[],"proxyAuth":{"enabled":false,"id":"fea2ee06-093a-4025-ae2a-f9751391cfd8","location":"/"},"upstreamUri":"","hstsPreload":false}
Apr 13 11:02:22 reverseproxy: writeAppLocationNginxConfig: writing config for "candlekeep.redacted.foobar" to /home/yellowtent/platformdata/nginx/applications/fea2ee06-093a-4025-ae2a-f9751391cfd8/candlekeep.redacted.foobar.conf with options {"sourceDir":"/home/yellowtent/box","vhost":"candlekeep.redacted.foobar","hasIPv6":true,"ip":null,"port":null,"endpoint":"redirect","redirectTo":"candlekeep.redactedfoobar.com","certFilePath":"/home/yellowtent/platformdata/nginx/cert/_.redacted.foobar.cert","keyFilePath":"/home/yellowtent/platformdata/nginx/cert/_.redacted.foobar.key","robotsTxtQuoted":null,"cspQuoted":null,"hideHeaders":[],"proxyAuth":{"enabled":false,"id":"fea2ee06-093a-4025-ae2a-f9751391cfd8","location":"/"},"upstreamUri":"","hstsPreload":false}
Apr 13 11:02:22 shell: reverseproxy: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/restartservice.sh nginx
Apr 13 11:02:23 tasks: updating task 33246 with: {"percent":100,"message":"Done"}
Apr 13 11:02:23 tasks: setCompleted - 33246: {"result":null,"error":null,"percent":100}
Apr 13 11:02:23 tasks: updating task 33246 with: {"completed":true,"result":null,"error":null,"percent":100}
Apr 13 11:02:23 taskworker: Task took 51.848 seconds
Apr 13 11:02:23 Exiting with code 0
Apr 13 11:02:47 2026-04-13T09:02:47Z
Apr 13 11:02:47 2026-04-13T09:02:47Z
Apr 13 11:02:47 In Connector.php line 66:
Apr 13 11:02:47
Apr 13 11:02:47
Apr 13 11:02:47
Apr 13 11:02:47 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:02:47 connection errors; unblock with 'mysqladmin flush-hosts'
Apr 13 11:02:57 =&gt; Healthcheck error: AbortError: The operation was aborted
Apr 13 11:03:00 =&gt; Healthcheck error: Error: connect ECONNREFUSED 172.18.17.66:8000
Apr 13 11:03:00 =&gt; Existing installation. Running migration script
Apr 13 11:03:01 2026-04-13T09:03:01Z
Apr 13 11:03:01 2026-04-13T09:03:01Z
Apr 13 11:03:01 2026-04-13T09:03:01Z
Apr 13 11:03:01 In Connection.php line 838:
Apr 13 11:03:01 In Connector.php line 66:
Apr 13 11:03:01
Apr 13 11:03:01
Apr 13 11:03:01
Apr 13 11:03:01
Apr 13 11:03:01 ')) as `exists`)
Apr 13 11:03:01 , Host: mysql, Port: 3306, Database: a26fda2d0da8ad31, SQL: select exists (
Apr 13 11:03:01 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:03:01 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:03:01 able_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED
Apr 13 11:03:01 connection errors; unblock with 'mysqladmin flush-hosts'
Apr 13 11:03:01 connection errors; unblock with 'mysqladmin flush-hosts' (Connection: mysql
Apr 13 11:03:01 select 1 from information_schema.tables where table_schema = schema() and t
Apr 13 11:03:13 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000
Apr 13 11:03:23 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000
Apr 13 11:03:27 =&gt; Existing installation. Running migration script
Apr 13 11:03:28 2026-04-13T09:03:28Z
Apr 13 11:03:28 2026-04-13T09:03:28Z
Apr 13 11:03:28 2026-04-13T09:03:28Z
Apr 13 11:03:28 In Connection.php line 838:
Apr 13 11:03:28 In Connector.php line 66:
Apr 13 11:03:28
Apr 13 11:03:28
Apr 13 11:03:28
Apr 13 11:03:28
Apr 13 11:03:28 ')) as `exists`)
**Apr 13 11:03:28 , Host: mysql, Port: 3306, Database: a26fda2d0da8ad31, SQL: select exists (
Apr 13 11:03:28 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:03:28 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:03:28 able_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED
Apr 13 11:03:28 connection errors; unblock with 'mysqladmin flush-hosts'
Apr 13 11:03:28 connection errors; unblock with 'mysqladmin flush-hosts' (Connection: mysql
Apr 13 11:03:28 select 1 from information_schema.tables where table_schema = schema() and t
Apr 13 11:03:37 =&gt; Healthcheck error: AbortError: The operation was aborted
Apr 13 11:03:43 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000**
Apr 13 11:03:53 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000
Apr 13 11:04:03 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000
Apr 13 11:04:13 =&gt; Healthcheck error: Error: connect EHOSTUNREACH 172.18.17.66:8000
Apr 13 11:04:20 =&gt; Healthcheck error: Error: connect ECONNREFUSED 172.18.17.66:8000
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/15384/mysql-error-on-bookstack</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 16:41:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15384.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 13 Apr 2026 09:22:32 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mysql error on Bookstack on Mon, 13 Apr 2026 10:42:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/makemrproper" aria-label="Profile: makemrproper">@<bdi>makemrproper</bdi></a></p>
<p dir="auto">The following log line made me think this might be temporary MySQL issue:</p>
<pre><code>Apr 13 11:02:47 SQLSTATE[HY000] [1129] Host 'fd00:c107:d509::1' is blocked because of many
Apr 13 11:02:47 connection errors; unblock with 'mysqladmin flush-hosts'
</code></pre>
<p dir="auto">If you see such a log entry, it might be a pointer that it might be just the MySQL service.</p>
<hr />
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/makemrproper" aria-label="Profile: makemrproper">@<bdi>makemrproper</bdi></a> <a href="/post/123333">said</a>:</p>
<p dir="auto">I should have tried that before contacting you</p>
</blockquote>
<p dir="auto">Please never hesitate to ask in the forum when you have any issues, like you have done here.<br />
We have seen many issues and logs and can use that knowledge to quickly get a picture of a situation.<br />
The good old "have you tried turning it off and on again" is something that can be attempted almost always.</p>
<p dir="auto">We are always happy to help since there should be no issue in the first place.</p>
]]></description><link>https://forum.cloudron.io/post/123334</link><guid isPermaLink="true">https://forum.cloudron.io/post/123334</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 13 Apr 2026 10:42:43 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql error on Bookstack on Mon, 13 Apr 2026 10:37:32 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> <a href="/post/123331">said</a>:</p>
<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/makemrproper" aria-label="Profile: makemrproper">@<bdi>makemrproper</bdi></a><br />
I want to make sure this is not a temporary MySQL issue.<br />
Could you please try to restart the MySQL service and try again?<br />
If this did not help, please restart the whole server and retry.</p>
<p dir="auto">If the issue persists we can continue investigating.</p>
</blockquote>
<p dir="auto">This worked!</p>
<p dir="auto">I really ought to have tried that before contacting you <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=223f9defb2f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
I restarted the Mysql service and Cloudron was able to start up.</p>
<p dir="auto">Curiously, the space used by Mysql was 1200mb before restart and 294mb after restart.</p>
<p dir="auto">Thanks and have a nice day</p>
]]></description><link>https://forum.cloudron.io/post/123333</link><guid isPermaLink="true">https://forum.cloudron.io/post/123333</guid><dc:creator><![CDATA[makemrproper]]></dc:creator><pubDate>Mon, 13 Apr 2026 10:37:32 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql error on Bookstack on Mon, 13 Apr 2026 10:08:14 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/makemrproper" aria-label="Profile: makemrproper">@<bdi>makemrproper</bdi></a><br />
I want to make sure this is not a temporary MySQL issue.<br />
Could you please try to restart the MySQL service and try again?<br />
If this did not help, please restart the whole server and retry.</p>
<p dir="auto">If the issue persists we can continue investigating.</p>
]]></description><link>https://forum.cloudron.io/post/123331</link><guid isPermaLink="true">https://forum.cloudron.io/post/123331</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 13 Apr 2026 10:08:14 GMT</pubDate></item></channel></rss>