<?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[Migrating data all site down]]></title><description><![CDATA[<p dir="auto">Hi All</p>
<p dir="auto">Just went to login not the server was down run the test got this error and run the loudron-support --apply-db-migrations and then got the next error</p>
<pre><code>═══ Cloudron Platform ═══
[OK]    MySQL is running
[OK]    nginx is running
[OK]    Dashboard cert is valid (46 days remaining, expires Oct 24 03:06:06 2026 GMT)
[OK]    dashboard is reachable via loopback
[FAIL]  Database migrations are pending. Last migration in DB: /20260521193000-mailsettings-create-table.js. Last migration file: /20260902155100-apiTokens-add-role.js.
[INFO]  Please run 'cloudron-support --apply-db-migrations' to apply the migrations.

2026-09-08T02:16:18 ==&gt; start: Migrating data
[ERROR] AssertionError [ERR_ASSERTION]: ifError got unwanted exception: Duplicate column name 'skipFromValidation'
    at /home/yellowtent/box/node_modules/db-migrate/lib/commands/on-complete.js:15:14
    at tryCatcher (/home/yellowtent/box/node_modules/bluebird/js/release/util.js:16:23)
    at Promise.successAdapter (/home/yellowtent/box/node_modules/bluebird/js/release/nodeify.js:22:30)
    at Promise._settlePromise (/home/yellowtent/box/node_modules/bluebird/js/release/promise.js:601:21)
    at Promise._settlePromiseCtx (/home/yellowtent/box/node_modules/bluebird/js/release/promise.js:641:10)
    at _drainQueueStep (/home/yellowtent/box/node_modules/bluebird/js/release/async.js:97:12)
    at _drainQueue (/home/yellowtent/box/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/home/yellowtent/box/node_modules/bluebird/js/release/async.js:102:5)
    at Async.drainQueues [as _onImmediate] (/home/yellowtent/box/node_modules/bluebird/js/release/async.js:15:14)
    at process.processImmediate (node:internal/timers:534:21)
    at Packet.asError (/home/yellowtent/box/node_modules/mysql2/lib/packets/packet.js:833:17)
    at Query.execute (/home/yellowtent/box/node_modules/mysql2/lib/commands/command.js:29:26)
    at Connection.handlePacket (/home/yellowtent/box/node_modules/mysql2/lib/base/connection.js:555:34)
    at PacketParser.onPacket (/home/yellowtent/box/node_modules/mysql2/lib/base/connection.js:104:12)
    at PacketParser.executeStart (/home/yellowtent/box/node_modules/mysql2/lib/packet_parser.js:75:16)
    at Socket.&lt;anonymous&gt; (/home/yellowtent/box/node_modules/mysql2/lib/base/connection.js:112:25)
    at Socket.emit (node:events:509:28)
    at addChunk (node:internal/streams/readable:563:12)
    at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
    at Readable.push (node:internal/streams/readable:394:5)
    at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
2026-09-08T02:16:19 ==&gt; start: DB migration failed
[FAIL]  Database migrations faile
</code></pre>
]]></description><link>https://forum.cloudron.io/topic/15928/migrating-data-all-site-down</link><generator>RSS for Node</generator><lastBuildDate>Sun, 27 Sep 2026 10:27:43 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/15928.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 08 Sep 2026 02:29:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Migrating data all site down on Tue, 08 Sep 2026 08:45:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nozy" aria-label="Profile: Nozy">@<bdi>Nozy</bdi></a> I replied from support. The issue seems to be that the box code was created by hand as "CREATE DATABASE box" . However, this gets the incorrect default collation and migrations fail. The correct command is <code>CREATE DATABASE IF NOT EXISTS box CHARACTER SET utf8mb4 COLLATE utf8mb4_bin</code> . I have fixed the docs to state this.</p>
]]></description><link>https://forum.cloudron.io/post/129178</link><guid isPermaLink="true">https://forum.cloudron.io/post/129178</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 08 Sep 2026 08:45:34 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating data all site down on Tue, 08 Sep 2026 08:01:52 GMT]]></title><description><![CDATA[<p dir="auto">not 100% sure what I am look at sent the remote access to support it after 6pm here<br />
give you some to so see why it may have not worked too</p>
<p dir="auto">Michael</p>
]]></description><link>https://forum.cloudron.io/post/129174</link><guid isPermaLink="true">https://forum.cloudron.io/post/129174</guid><dc:creator><![CDATA[Nozy]]></dc:creator><pubDate>Tue, 08 Sep 2026 08:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating data all site down on Tue, 08 Sep 2026 07:45:02 GMT]]></title><description><![CDATA[<p dir="auto">Unfortunately, in sql, schema changes are not part of a transaction. You can drop that column by hand if you know SQL (or contact us on support as <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a>  said).</p>
<p dir="auto">Quick fix: Edit the file <code>/home/yellowtent/box/migrations/20260526210000-mail-relay-tokens-and-mailbox-from-validation.js</code> . Comment out this line (this is the first line in the <code>up</code> function):</p>
<pre><code>//    await db.runSql('ALTER TABLE mailboxes ADD COLUMN skipFromValidation BOOLEAN DEFAULT 0');
</code></pre>
<p dir="auto">Then run migration again, should work</p>
]]></description><link>https://forum.cloudron.io/post/129167</link><guid isPermaLink="true">https://forum.cloudron.io/post/129167</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 08 Sep 2026 07:45:02 GMT</pubDate></item><item><title><![CDATA[Reply to Migrating data all site down on Tue, 08 Sep 2026 05:40:31 GMT]]></title><description><![CDATA[<p dir="auto">This looks like the migration already ran then and it got interrupted or crashed midway. Please enable remote ssh support for us <a href="https://docs.cloudron.io/support#remote-support" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/support#remote-support</a> and send a mail to <a href="mailto:support@cloudron.io" target="_blank" rel="noopener noreferrer nofollow ugc">support@cloudron.io</a> with your Cloudron details. Then we can take a direkt look at fixing this.</p>
]]></description><link>https://forum.cloudron.io/post/129158</link><guid isPermaLink="true">https://forum.cloudron.io/post/129158</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Tue, 08 Sep 2026 05:40:31 GMT</pubDate></item></channel></rss>