<?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[Vaultwarden fails to start after update – DB migration error (SSO)]]></title><description><![CDATA[<p dir="auto">After updating the Vaultwarden app on Cloudron, the application never reaches the Running state and gets stuck in a start / restart loop.</p>
<p dir="auto">The app logs show the following error:</p>
<pre><code>Dec 29 18:21:11 9: vaultwarden::main
Dec 29 18:21:11 [2025-12-29 17:21:11.256][panic][ERROR] thread 'main' panicked at 'Error running migrations: QueryError(DieselMigrationName { name: "2024-03-06-170000_add_sso_users", version: MigrationVersion("20240306170000") }, DatabaseError(Unknown, "Referencing column 'user_uuid' and referenced column 'uuid' in foreign key constraint 'sso_users_ibfk_1' are incompatible."))': src/db/mod.rs:505
Dec 29 18:21:11 [INFO] Using saved config from `/app/data/config.json` for configuration.
Dec 29 18:21:11 [WARNING] Please use the admin panel to make changes to them:
Dec 29 18:21:11 [WARNING] SIGNUPS_ALLOWED, INVITATIONS_ALLOWED, YUBICO_CLIENT_ID, YUBICO_SECRET_KEY
Dec 29 18:21:11 [WARNING] The following environment variables are being overridden by the config.json file.
Dec 29 18:21:14 2025-12-29T18:21:14+01:00
Dec 29 18:21:14 2025-12-29T18:21:14+01:00
Dec 29 18:21:14 2025-12-29T18:21:14+01:00
Dec 29 18:21:14 2025-12-29T18:21:14+01:00
Dec 29 18:21:14 /--------------------------------------------------------------------\
Dec 29 18:21:14 0: vaultwarden::init_logging::{{closure}}
Dec 29 18:21:14 10: std::sys::backtrace::__rust_begin_short_backtrace
Dec 29 18:21:14 11: main
Dec 29 18:21:14 12: &lt;unknown&gt;
Dec 29 18:21:14 13: __libc_start_main
Dec 29 18:21:14 14: _start
Dec 29 18:21:14 1: std::panicking::panic_with_hook
Dec 29 18:21:14 2: std::panicking::panic_handler::{{closure}}
Dec 29 18:21:14 3: std::sys::backtrace::__rust_end_short_backtrace
</code></pre>
<p dir="auto">It looks like the migration related to SSO fails, but I’m not sure what the correct or recommended way to handle this situation is.</p>
<p dir="auto">Has anyone encountered this issue?<br />
Is there a supported way to fix this without manually modifying the database?</p>
<p dir="auto">Thanks for any pointers.</p>
]]></description><link>https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 16:53:26 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14812.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Dec 2025 17:34:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Tue, 12 May 2026 10:21:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> users</p>
<p dir="auto">Since users have voiced their concerns about manually editing the database I have created a bash script that does it for you.<br />
Please follow these steps if you have this issue:</p>
<ol>
<li>create an app backup of your <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> Cloudron app</li>
<li>put the erroring <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> app in recovery mode</li>
<li>open the <a href="https://docs.cloudron.io/apps/#file-manager" target="_blank" rel="noopener noreferrer nofollow ugc">File Manager</a> of your <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> app and create a <code>fix_db.sh</code> file</li>
<li>copy and paste the following script into the just created <code>fix_db.sh</code> file:<pre><code class="language-bash">#!/bin/bash

echo "=&gt; Checking if DEFAULT_CHARACTER_SET_NAME and DEFAULT_COLLATION_NAME are set to utf8mb4 and utf8mb4_unicode_ci"

CURRENT_DEFAULT_CHARACTER_SET_NAME=$(mysql --silent --skip-column-names --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "SELECT DEFAULT_CHARACTER_SET_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = '${CLOUDRON_MYSQL_DATABASE}';" 2&gt;/dev/null)
CURRENT_DEFAULT_COLLATION_NAME=$(mysql --silent --skip-column-names --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "SELECT DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = '${CLOUDRON_MYSQL_DATABASE}';" 2&gt;/dev/null)
FIX_NEEDED=0

if [ "${CURRENT_DEFAULT_CHARACTER_SET_NAME}" != "utf8mb4" ] || [ "${CURRENT_DEFAULT_COLLATION_NAME}" != "utf8mb4_unicode_ci" ]; then
    echo "=&gt; DEFAULT_CHARACTER_SET_NAME or DEFAULT_COLLATION_NAME is not set to utf8mb4 or utf8mb4_unicode_ci."
    echo "==&gt; Current values are: DEFAULT_CHARACTER_SET_NAME=${CURRENT_DEFAULT_CHARACTER_SET_NAME}, DEFAULT_COLLATION_NAME=${CURRENT_DEFAULT_COLLATION_NAME}"
    FIX_NEEDED=1
else
    echo "=&gt; DEFAULT_CHARACTER_SET_NAME is ${CURRENT_DEFAULT_CHARACTER_SET_NAME} and DEFAULT_COLLATION_NAME is ${CURRENT_DEFAULT_COLLATION_NAME}"
    echo "=&gt; Nothing to do - quitting."
    FIX_NEEDED=0
    exit 0
fi

if [ ${FIX_NEEDED} -eq 1 ]; then
    read -p "Have you created a backup of your Cloudron Vaultwarden app? (y/N): " yn
    case $yn in
        [Yy]* )
            echo "=&gt; Setting database character set and collation to utf8mb4 and utf8mb4_unicode_ci."
            mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "ALTER DATABASE \`${CLOUDRON_MYSQL_DATABASE}\` CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;" 2&gt;/dev/null
            echo "=&gt; Converting all tables to character set utf8mb4 and collation utf8mb4_unicode_ci."
            mysql --silent --skip-column-names \
  --user="${CLOUDRON_MYSQL_USERNAME}" \
  --password="${CLOUDRON_MYSQL_PASSWORD}" \
  --host="${CLOUDRON_MYSQL_HOST}" \
  "${CLOUDRON_MYSQL_DATABASE}" \
  -e "SELECT CONCAT('ALTER TABLE \`', TABLE_NAME,'\` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;') AS CharSetConvert FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='${CLOUDRON_MYSQL_DATABASE}' AND TABLE_TYPE=\"BASE TABLE\";" 2&gt;/dev/null | while read -r sql_command; do
                echo "==&gt; Executing: ${sql_command}"
                mysql --user=${CLOUDRON_MYSQL_USERNAME} --password=${CLOUDRON_MYSQL_PASSWORD} --host=${CLOUDRON_MYSQL_HOST} ${CLOUDRON_MYSQL_DATABASE} -e "SET foreign_key_checks=0; ${sql_command} SET foreign_key_checks=1;" 2&gt;/dev/null
            done
            ;;
        [Nn]* )
            echo "=&gt; Please create a backup of your database before proceeding with the fix. Exiting."
            exit 1
            ;;
        * )
            echo "=&gt; Invalid response. Please answer with y or n. Exiting."
            exit 1
            ;;
    esac
fi
</code></pre>
</li>
<li>open the <a href="https://docs.cloudron.io/apps/#web-terminal" target="_blank" rel="noopener noreferrer nofollow ugc">Web Terminal</a> of your <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> Cloudron app</li>
<li>execute the following command:<pre><code class="language-bash">bash /app/data/fix_db.sh
</code></pre>
</li>
<li>Execute the following command to start <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a>:<pre><code class="language-bash">/app/pkg/start.sh
</code></pre>
</li>
<li>Validate if your <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> is now working correctly</li>
<li>If validated working, you can delete the <code>fix_db.sh</code> file and disable the recovery mode of your <a class="plugin-mentions-category plugin-mentions-a" href="/category/64/vaultwarden" aria-label="Profile: vaultwarden">@<bdi>vaultwarden</bdi></a> Cloudron app</li>
</ol>
<p dir="auto">Note:<br />
If there are issues with the copy and paste from Windows devices apperent by error messages like <code>line 2: $'\r': command not found</code>, please run the following command to fix the script:</p>
<pre><code class="language-bash">sed -i 's/\r$//g' /app/data/fix_db.sh
</code></pre>
<hr />
<p dir="auto">If you run into any issues, copy the output of the terminal, post it here and restore your app from the backup created.</p>
]]></description><link>https://forum.cloudron.io/post/117779</link><guid isPermaLink="true">https://forum.cloudron.io/post/117779</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Tue, 12 May 2026 10:21:35 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Thu, 06 Aug 2026 19:50:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> Yay it's working again!</p>
]]></description><link>https://forum.cloudron.io/post/127847</link><guid isPermaLink="true">https://forum.cloudron.io/post/127847</guid><dc:creator><![CDATA[luckym]]></dc:creator><pubDate>Thu, 06 Aug 2026 19:50:23 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Thu, 06 Aug 2026 17:27:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/luckym" aria-label="Profile: luckym">@<bdi>luckym</bdi></a><br />
Please try.</p>
]]></description><link>https://forum.cloudron.io/post/127831</link><guid isPermaLink="true">https://forum.cloudron.io/post/127831</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 06 Aug 2026 17:27:20 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Thu, 06 Aug 2026 19:51:11 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a></p>
<p dir="auto">I'm only now getting around to applying this fix. Altering the tables worked but when I run <code>/app/pkg/start.sh</code> I get the following errors:</p>
<pre><code>[2026-08-06 17:12:38.211][vaultwarden][ERROR] Web vault is not found at 'web-vault/'. To install it, please follow the steps in: 
[2026-08-06 17:12:38.211][vaultwarden][ERROR] https://github.com/dani-garcia/vaultwarden/wiki/Building-binary#install-the-web-vault
[2026-08-06 17:12:38.211][vaultwarden][ERROR] You can also set the environment variable 'WEB_VAULT_ENABLED=false' to disable it
</code></pre>
<p dir="auto">The web vault usually worked and was installed to my knowledge but I'm not sure I can just ignore this error and exit recovery mode regardless. I'm on version 1.37.1.</p>
<p dir="auto">/edit Ok leaving recovery mode worked and the app is now working properly again!</p>
]]></description><link>https://forum.cloudron.io/post/127830</link><guid isPermaLink="true">https://forum.cloudron.io/post/127830</guid><dc:creator><![CDATA[luckym]]></dc:creator><pubDate>Thu, 06 Aug 2026 19:51:11 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Thu, 14 May 2026 21:53:22 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/117779">said</a>:</p>
<p dir="auto">Please follow these steps if you have this issue:</p>
</blockquote>
<p dir="auto">Can this script be run on the working version I reverted to, or do I need to update to the broken version and then run it?</p>
<p dir="auto">Edit: yes, it seems fixing the db and then updating also works fine.</p>
]]></description><link>https://forum.cloudron.io/post/124740</link><guid isPermaLink="true">https://forum.cloudron.io/post/124740</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 14 May 2026 21:53:22 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 13 May 2026 08:40:21 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/betabreak" aria-label="Profile: BetaBreak">@<bdi>BetaBreak</bdi></a><br />
Great to read that it resolved your issue.<br />
Always happy to help.</p>
<p dir="auto">If possible, give the <a href="https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso/24?_=1778581136537">solution</a> I linked also an upvote to improve the forum search.</p>
]]></description><link>https://forum.cloudron.io/post/124670</link><guid isPermaLink="true">https://forum.cloudron.io/post/124670</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 13 May 2026 08:40:21 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 13 May 2026 07:19:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/james" aria-label="Profile: james">@<bdi>james</bdi></a> <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/2714.png?v=44248645c10" class="not-responsive emoji emoji-android emoji--heavy_check_mark" style="height:1.4em;width:auto;vertical-align:middle" title=":heavy_check_mark:" alt="✔" /> it works, thanks!</p>
]]></description><link>https://forum.cloudron.io/post/124665</link><guid isPermaLink="true">https://forum.cloudron.io/post/124665</guid><dc:creator><![CDATA[BetaBreak]]></dc:creator><pubDate>Wed, 13 May 2026 07:19:02 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 13 May 2026 07:57:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/teiluj" aria-label="Profile: teiluj">@<bdi>teiluj</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/ikalou" aria-label="Profile: ikalou">@<bdi>ikalou</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/p44" aria-label="Profile: p44">@<bdi>p44</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/betabreak" aria-label="Profile: betabreak">@<bdi>betabreak</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/jayonrails" aria-label="Profile: jayonrails">@<bdi>jayonrails</bdi></a><br />
This issue was discussed before, and I did create a handy script to fix the issue.<br />
Please see: <a href="https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso/24?_=1778581136537">https://forum.cloudron.io/topic/14812/vaultwarden-fails-to-start-after-update-db-migration-error-sso/24?_=1778581136537</a></p>
<p dir="auto">I have also merged this topic into the original topic so there is no duplicate.</p>
]]></description><link>https://forum.cloudron.io/post/124616</link><guid isPermaLink="true">https://forum.cloudron.io/post/124616</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Wed, 13 May 2026 07:57:18 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Mon, 11 May 2026 14:49:04 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, when I run the queries I don't get out put..<br />
Should I do it before upgrading, and or in recovery mode?</p>
]]></description><link>https://forum.cloudron.io/post/124588</link><guid isPermaLink="true">https://forum.cloudron.io/post/124588</guid><dc:creator><![CDATA[BetaBreak]]></dc:creator><pubDate>Mon, 11 May 2026 14:49:04 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Mon, 11 May 2026 13:52:01 GMT]]></title><description><![CDATA[<p dir="auto">The above posted link to the GitHub wiki seems to be the step by step instruction. Which is the part where you don't get forward?</p>
]]></description><link>https://forum.cloudron.io/post/124582</link><guid isPermaLink="true">https://forum.cloudron.io/post/124582</guid><dc:creator><![CDATA[jayonrails]]></dc:creator><pubDate>Mon, 11 May 2026 13:52:01 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Mon, 11 May 2026 12:34:30 GMT]]></title><description><![CDATA[<p dir="auto">Is there a step by step instruction to solve this issue, for me it is unclear how to fix this issue. Thanks!</p>
]]></description><link>https://forum.cloudron.io/post/124571</link><guid isPermaLink="true">https://forum.cloudron.io/post/124571</guid><dc:creator><![CDATA[BetaBreak]]></dc:creator><pubDate>Mon, 11 May 2026 12:34:30 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Thu, 07 May 2026 07:27:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/joseph" aria-label="Profile: joseph">@<bdi>joseph</bdi></a> Thanks for your advice. I followed this guide: <a href="https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-%28MySQL%29-Backend#foreign-key-errors-collation-and-charset" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-(MySQL)-Backend#foreign-key-errors-collation-and-charset</a> and problem now is fixed.</p>
<p dir="auto">thanks a lot</p>
]]></description><link>https://forum.cloudron.io/post/124470</link><guid isPermaLink="true">https://forum.cloudron.io/post/124470</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Thu, 07 May 2026 07:27:52 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 18:52:35 GMT]]></title><description><![CDATA[<p dir="auto">I also had a not responding app and have reverted. Guess I need to look at that guide...</p>
]]></description><link>https://forum.cloudron.io/post/124458</link><guid isPermaLink="true">https://forum.cloudron.io/post/124458</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Wed, 06 May 2026 18:52:35 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 16:37:28 GMT]]></title><description><![CDATA[<p dir="auto">Same problem here. Restored to 1.24.4 and stopped automatic updates.</p>
]]></description><link>https://forum.cloudron.io/post/124454</link><guid isPermaLink="true">https://forum.cloudron.io/post/124454</guid><dc:creator><![CDATA[p44]]></dc:creator><pubDate>Wed, 06 May 2026 16:37:28 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 15:19:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teiluj" aria-label="Profile: Teiluj">@<bdi>Teiluj</bdi></a> this was a bug in vaultwarden a while go (which is why they maintain a wiki article on how to fix it up). <a href="https://github.com/search?q=repo%3Adani-garcia%2Fvaultwarden%20charset&amp;type=issues" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/search?q=repo%3Adani-garcia%2Fvaultwarden charset&amp;type=issues</a></p>
]]></description><link>https://forum.cloudron.io/post/124450</link><guid isPermaLink="true">https://forum.cloudron.io/post/124450</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 06 May 2026 15:19:56 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 15:12:24 GMT]]></title><description><![CDATA[<p dir="auto">This seems to fix the issue indeed - At least from my side, there was a table collection charset mismatch.<br />
The other question is how it came to be.</p>
]]></description><link>https://forum.cloudron.io/post/124449</link><guid isPermaLink="true">https://forum.cloudron.io/post/124449</guid><dc:creator><![CDATA[Teiluj]]></dc:creator><pubDate>Wed, 06 May 2026 15:12:24 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 13:39:14 GMT]]></title><description><![CDATA[<p dir="auto">Can you check the encoding of the database and also the tables?</p>
<p dir="auto">In the web terminal, first get the database name:</p>
<pre><code>echo $CLOUDRON_MYSQL_DATABASE
</code></pre>
<p dir="auto">Then, click the mysql button above and press enter. Replace DB_NAME_HERE  . You should get utf8mb4</p>
<pre><code>mysql&gt; SELECT   SCHEMA_NAME,   DEFAULT_CHARACTER_SET_NAME,   DEFAULT_COLLATION_NAME FROM information_schema.SCHEMATA WHERE SCHEMA_NAME = 'DB_NAME_HERE';
+------------------+----------------------------+------------------------+
| SCHEMA_NAME      | DEFAULT_CHARACTER_SET_NAME | DEFAULT_COLLATION_NAME |
+------------------+----------------------------+------------------------+
| fb30d5a9f5fd3620 | utf8mb4                    | utf8mb4_unicode_ci     |
+------------------+----------------------------+------------------------+
</code></pre>
<p dir="auto">Then, check all the tables.</p>
<pre><code>mysql&gt; SELECT   TABLE_NAME,   TABLE_TYPE,   ENGINE,   TABLE_COLLATION FROM information_schema.TABLES WHERE TABLE_SCHEMA = 'fb30d5a9f5fd3620' ORDER BY TABLE_NAME;
+----------------------------+------------+--------+--------------------+
| TABLE_NAME                 | TABLE_TYPE | ENGINE | TABLE_COLLATION    |
+----------------------------+------------+--------+--------------------+
| __diesel_schema_migrations | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| archives                   | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| attachments                | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| auth_requests              | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| ciphers                    | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| ciphers_collections        | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| collections                | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| collections_groups         | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| devices                    | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| emergency_access           | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| event                      | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| favorites                  | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| folders                    | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| folders_ciphers            | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| groups                     | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| groups_users               | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| invitations                | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| org_policies               | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| organization_api_key       | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| organizations              | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| sends                      | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| sso_auth                   | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| sso_users                  | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| twofactor                  | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| twofactor_duo_ctx          | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| twofactor_incomplete       | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| users                      | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| users_collections          | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
| users_organizations        | BASE TABLE | InnoDB | utf8mb4_unicode_ci |
+----------------------------+------------+--------+--------------------+
29 rows in set (0.01 sec)

</code></pre>
<p dir="auto">If the table encoding is not the above, then first take a backup of the app and then follow the instructions at <a href="https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-%28MySQL%29-Backend#foreign-key-errors-collation-and-charset" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dani-garcia/vaultwarden/wiki/Using-the-MariaDB-(MySQL)-Backend#foreign-key-errors-collation-and-charset</a></p>
]]></description><link>https://forum.cloudron.io/post/124444</link><guid isPermaLink="true">https://forum.cloudron.io/post/124444</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 06 May 2026 13:39:14 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 09:50:50 GMT]]></title><description><![CDATA[<p dir="auto">Same as <a href="https://github.com/dani-garcia/vaultwarden/issues/7182" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dani-garcia/vaultwarden/issues/7182</a> and <a href="https://github.com/dani-garcia/vaultwarden/discussions/7183" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/dani-garcia/vaultwarden/discussions/7183</a> which points to some charset issues .</p>
]]></description><link>https://forum.cloudron.io/post/124433</link><guid isPermaLink="true">https://forum.cloudron.io/post/124433</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 06 May 2026 09:50:50 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 09:46:22 GMT]]></title><description><![CDATA[<p dir="auto">Mine seems to have updated fine</p>
]]></description><link>https://forum.cloudron.io/post/124431</link><guid isPermaLink="true">https://forum.cloudron.io/post/124431</guid><dc:creator><![CDATA[joseph]]></dc:creator><pubDate>Wed, 06 May 2026 09:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 08:37:28 GMT]]></title><description><![CDATA[<p dir="auto">Same here, I disabled automatic updates and reverted to 1.24.4.</p>
]]></description><link>https://forum.cloudron.io/post/124428</link><guid isPermaLink="true">https://forum.cloudron.io/post/124428</guid><dc:creator><![CDATA[ikalou]]></dc:creator><pubDate>Wed, 06 May 2026 08:37:28 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 08:16:16 GMT]]></title><description><![CDATA[<p dir="auto">I can confirm I am seeing the same since yesterday and the package update from 1.24.4 to 1.25<br />
The app then becomes "not Responding" with the error mentioned aboved by <a class="plugin-mentions-user plugin-mentions-a" href="/user/d19dotca" aria-label="Profile: d19dotca">@<bdi>d19dotca</bdi></a></p>
<p dir="auto">Reverting to previous version restore functionalities/access indeed.</p>
]]></description><link>https://forum.cloudron.io/post/124425</link><guid isPermaLink="true">https://forum.cloudron.io/post/124425</guid><dc:creator><![CDATA[Teiluj]]></dc:creator><pubDate>Wed, 06 May 2026 08:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Wed, 06 May 2026 03:54:11 GMT]]></title><description><![CDATA[<p dir="auto">I assume this may be more of Vaultwarden issue than a Cloudron one but I wanted to say the recent image update (<a href="https://forum.cloudron.io/topic/2546/vaultwarden-package-updates/79?_=1778039394241">https://forum.cloudron.io/topic/2546/vaultwarden-package-updates/79?_=1778039394241</a>) seems to have broken Vaultwarden, requiring me to restore from backup.</p>
<pre><code>May 05 20:47:32 =&gt; Exporting env vars expected by Vaultwarden
May 05 20:47:32 =&gt; Starting Bitwarden
May 05 20:47:32 /--------------------------------------------------------------------\
May 05 20:47:32 |                        Starting Vaultwarden                        |
May 05 20:47:32 |--------------------------------------------------------------------|
May 05 20:47:32 | This is an *unofficial* Bitwarden implementation, DO NOT use the   |
May 05 20:47:32 | official channels to report bugs/features, regardless of client.   |
May 05 20:47:32 | Send usage/configuration questions or feature requests to:         |
May 05 20:47:32 |   https://github.com/dani-garcia/vaultwarden/discussions or        |
May 05 20:47:32 |   https://vaultwarden.discourse.group/                             |
May 05 20:47:32 | Report suspected bugs/issues in the software itself at:            |
May 05 20:47:32 |   https://github.com/dani-garcia/vaultwarden/issues/new            |
May 05 20:47:32 \--------------------------------------------------------------------/
May 05 20:47:32 2026-05-06T03:47:32Z 
May 05 20:47:32 [INFO] Using saved config from `/app/data/config.json` for configuration.
May 05 20:47:32 2026-05-06T03:47:32Z 
May 05 20:47:32 [2026-05-06 03:47:32.167][panic][ERROR] thread 'main' panicked at 'Error running migrations: QueryError(DieselMigrationName { name: "2026-03-09-005927_add_archives", version: MigrationVersion("20260309005927") }, DatabaseError(Unknown, "Referencing column 'user_uuid' and referenced column 'uuid' in foreign key constraint 'archives_ibfk_1' are incompatible."))': src/db/mod.rs:501
May 05 20:47:32 0: vaultwarden::init_logging::{{closure}}
May 05 20:47:32 1: std::panicking::panic_with_hook
May 05 20:47:32 2: std::panicking::panic_handler::{closure#0}
May 05 20:47:32 3: std::sys::backtrace::__rust_end_short_backtrace::&lt;std::panicking::panic_handler::{closure#0}, !&gt;
May 05 20:47:32 4: __rustc::rust_begin_unwind
May 05 20:47:32 5: core::panicking::panic_fmt
May 05 20:47:32 6: core::result::unwrap_failed
May 05 20:47:32 7: vaultwarden::db::DbPool::from_config
May 05 20:47:32 8: vaultwarden::main::{{closure}}
May 05 20:47:32 9: vaultwarden::main
May 05 20:47:32 10: std::sys::backtrace::__rust_begin_short_backtrace
May 05 20:47:32 11: main
May 05 20:47:32 12: &lt;unknown&gt;
May 05 20:47:32 13: __libc_start_main
May 05 20:47:32 14: _start
</code></pre>
<p dir="auto">Any ideas on this one?</p>
]]></description><link>https://forum.cloudron.io/post/124418</link><guid isPermaLink="true">https://forum.cloudron.io/post/124418</guid><dc:creator><![CDATA[d19dotca]]></dc:creator><pubDate>Wed, 06 May 2026 03:54:11 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Sun, 08 Feb 2026 18:06:10 GMT]]></title><description><![CDATA[<p dir="auto">thank you James !</p>
]]></description><link>https://forum.cloudron.io/post/119868</link><guid isPermaLink="true">https://forum.cloudron.io/post/119868</guid><dc:creator><![CDATA[nilp]]></dc:creator><pubDate>Sun, 08 Feb 2026 18:06:10 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Mon, 02 Feb 2026 10:12:46 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/nilp" aria-label="Profile: nilp">@<bdi>nilp</bdi></a> and welcome to the Cloudron Forum</p>
<p dir="auto">This issue has been adressed and a fix is avaiable here: <a href="https://forum.cloudron.io/post/117779">https://forum.cloudron.io/post/117779</a><br />
I will merge this topic into the existing one.</p>
]]></description><link>https://forum.cloudron.io/post/119545</link><guid isPermaLink="true">https://forum.cloudron.io/post/119545</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 02 Feb 2026 10:12:46 GMT</pubDate></item><item><title><![CDATA[Reply to Vaultwarden fails to start after update – DB migration error (SSO) on Mon, 02 Feb 2026 10:13:34 GMT]]></title><description><![CDATA[<p dir="auto">I've got an error during upgrade of Vaultwarden from <code>1.22.2</code> to <code>1.23.0</code> or more <code>1.24.0</code> etc... : </p>
<pre><code> Please generate a secure Argon2 PHC string by using `vaultwarden hash` or `argon2`.
Jan 17 19:10:33 See: https://github.com/dani-garcia/vaultwarden/wiki/Enabling-admin-page#secure-the-admin_token
Jan 17 19:10:33 2026-01-17T19:10:33+01:00
Jan 17 19:10:34 [2026-01-17 18:10:34.083][panic][ERROR] thread 'main' panicked at 'Error running migrations: QueryError(DieselMigrationName { name: "2024-03-06-170000_add_sso_users", version: MigrationVersion("20240306170000") }, DatabaseError(Unknown, "Referencing column 'user_uuid' and referenced column 'uuid' in foreign key constraint 'sso_users_ibfk_1' are incompatible."))': src/db/mod.rs:505
Jan 17 19:10:34 0: vaultwarden::init_logging::{{closure}}
Jan 17 19:10:34 1: std::panicking::panic_with_hook
Jan 17 19:10:34 2: std::panicking::panic_handler::{{closure}}
Jan 17 19:10:34 3: std::sys::backtrace::__rust_end_short_backtrace
Jan 17 19:10:34 4: __rustc::rust_begin_unwind
Jan 17 19:10:34 5: core::panicking::panic_fmt
Jan 17 19:10:34 6: core::result::unwrap_failed
Jan 17 19:10:34 7: vaultwarden::db::DbPool::from_config
Jan 17 19:10:34 8: vaultwarden::main::{{closure}}
Jan 17 19:10:34 9: vaultwarden::main
Jan 17 19:10:34 10: std::sys::backtrace::__rust_begin_short_backtrace
Jan 17 19:10:34 11: main
Jan 17 19:10:34 12: &lt;unknown&gt;
Jan 17 19:10:34 13: __libc_start_main
Jan 17 19:10:34 14: _start
Jan 17 19:10:34 2026-01-17T19:10:34+01:00
</code></pre>
<p dir="auto">Can you help me ?</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.cloudron.io/post/119544</link><guid isPermaLink="true">https://forum.cloudron.io/post/119544</guid><dc:creator><![CDATA[nilp]]></dc:creator><pubDate>Mon, 02 Feb 2026 10:13:34 GMT</pubDate></item></channel></rss>