<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>MariaDB on</title><link>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/</link><description>Recent content in MariaDB on</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 25 Nov 2026 10:00:00 +0100</lastBuildDate><atom:link href="https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/index.xml" rel="self" type="application/rss+xml"/><item><title>Fix MariaDB collation</title><link>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/convert-db-utf8mb4/</link><pubDate>Wed, 25 Nov 2026 10:00:00 +0100</pubDate><guid>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/convert-db-utf8mb4/</guid><description>&lt;p&gt;Relution expects the character set &lt;code&gt;utf8mb4&lt;/code&gt; with the collation &lt;code&gt;utf8mb4_general_ci&lt;/code&gt; for all tables and text columns in a MariaDB database. If individual tables, columns or the default collation of the database deviate from this, individual operations abort with database errors. Unlike the older character set &lt;code&gt;utf8&lt;/code&gt; (&lt;code&gt;utf8mb3&lt;/code&gt;), &lt;code&gt;utf8mb4&lt;/code&gt; also stores four-byte characters, e.g. emojis.&lt;/p&gt;
&lt;p&gt;This guide only applies to installations with MariaDB. The scripts cannot be used for PostgreSQL databases. The supported databases are listed under &lt;a href="https://hub.relution.io/en/docs/installation/requirements/#supported-databases"&gt;System requirements →&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>New uuid format</title><link>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/uuid-format/</link><pubDate>Wed, 25 Nov 2026 10:00:00 +0100</pubDate><guid>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/uuid-format/</guid><description>&lt;p&gt;With the bug fix &lt;a href="https://jira.mariadb.org/browse/MDEV-29959"&gt;MDEV-29959 →&lt;/a&gt;, MariaDB introduced a new internal storage format for the &lt;code&gt;uuid&lt;/code&gt; data type. Tables created before keep the old format. If a Relution update changes such a table, the database migration fails with error 1833 and Relution does not start.&lt;/p&gt;
&lt;p&gt;This guide applies only to installations using MariaDB. PostgreSQL is not affected.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="symptoms"&gt;Symptoms &lt;a href="#symptoms" class="anchor" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;On startup after an update, the Liquibase migration aborts, e.g. during the update to Relution 27.0.5 in the changeset &lt;code&gt;db/2026/202610281200_relution_REL-14550.xml::20261028-001&lt;/code&gt;, which adds two columns to the table &lt;code&gt;mdm_dvc&lt;/code&gt;. The Relution log contains a message like the following:&lt;/p&gt;</description></item><item><title>Migration from MSSQL to MariaDB</title><link>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/mssql-db-migration/</link><pubDate>Wed, 25 Nov 2026 10:00:00 +0100</pubDate><guid>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/mssql-db-migration/</guid><description>&lt;p&gt;Microsoft SQL Server is no longer supported by Relution. With an MSSQL database, Relution aborts the start with the message &lt;code&gt;Microsoft SQL Server databases are not supported by Relution.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;The following instructions describe how to migrate a Relution installation in version 5.24.2 from MSSQL to MariaDB using the HeidiSQL GUI. If support is needed, it is available from the Relution Helpdesk Team.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites &lt;a href="#prerequisites" class="anchor" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Version:&lt;/strong&gt; Relution 5.24.2 is the last version that runs on Microsoft SQL Server. Older installations are updated to 5.24.2 before the migration. The MariaDB schema (step 6, &lt;code&gt;--database-migration-only&lt;/code&gt;) is created with exactly the same version 5.24.2, not with 5.25.0 or later, because the &lt;code&gt;DATABASECHANGELOG&lt;/code&gt; table is not exported. Newer versions are installed only after the data import and the functional check have been completed successfully. The intermediate versions described under &lt;a href="https://hub.relution.io/en/docs/installation/after-installation/update/#note-update-from-relution-5x-to-261-or-later"&gt;Update →&lt;/a&gt; must be observed.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MariaDB:&lt;/strong&gt; Relution 5.24.2 requires at least MariaDB 10.5.2, current Relution versions require MariaDB 10.11. With an older MariaDB version, Relution aborts the start. MariaDB is only supported until the end of 2027, PostgreSQL is recommended (see &lt;a href="https://hub.relution.io/en/docs/installation/requirements/#supported-databases"&gt;System requirements →&lt;/a&gt;). For Docker installations, the subsequent switch is described under &lt;a href="https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/migrate-maria-to-postgre/"&gt;Migration from MariaDB to PostgreSQL →&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Java:&lt;/strong&gt; The environment variable &lt;code&gt;JAVA_HOME&lt;/code&gt; is set. Without &lt;code&gt;JAVA_HOME&lt;/code&gt;, &lt;code&gt;relution-foreground.bat&lt;/code&gt; exits without a message.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="migration"&gt;Migration &lt;a href="#migration" class="anchor" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The migration takes place in two parts: first, Relution creates the schema in the new database, then the data is transferred with HeidiSQL.&lt;/p&gt;</description></item><item><title>Migration from MariaDB to PostgreSQL</title><link>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/migrate-maria-to-postgre/</link><pubDate>Wed, 25 Nov 2026 10:00:00 +0100</pubDate><guid>https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/migrate-maria-to-postgre/</guid><description>&lt;p&gt;This guide describes the process of migrating the database for a Relution instance within a Docker environment.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="prerequisites"&gt;Prerequisites &lt;a href="#prerequisites" class="anchor" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;The following conditions must be met before the migration starts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Disk Space:&lt;/strong&gt; At least as much free space as the current MariaDB database size (1:1 ratio).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S3 Storage:&lt;/strong&gt; A compatible S3 storage must already be configured. &lt;br&gt;
&lt;a href="https://hub.relution.io/en/docs/installation/object-storage/seaweedfs/"&gt;Documentation to S3/SeaweedFS →&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Version:&lt;/strong&gt; The Relution instance must be at least version &lt;strong&gt;5.31.0&lt;/strong&gt;. In the section &lt;a href="https://hub.relution.io/en/docs/installation/knowledge-base/mariadb/migrate-maria-to-postgre/#update-relution"&gt;Update Relution →&lt;/a&gt;, it is brought to the current version. When updating from Relution 5.x to 26.1 or later, the intermediate versions described under &lt;a href="https://hub.relution.io/en/docs/installation/after-installation/update/#note-update-from-relution-5x-to-261-or-later"&gt;Update →&lt;/a&gt; must be observed. Schema initialization and data migration must be carried out with the same Relution version, as pgloader only transfers the data.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;PostgreSQL:&lt;/strong&gt; This guide uses the &lt;code&gt;postgres:18&lt;/code&gt; image. If a separate PostgreSQL server is used instead, at least PostgreSQL 14 is required; otherwise Relution aborts the start.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="data-backup-optional"&gt;Data Backup (Optional) &lt;a href="#data-backup-optional" class="anchor" aria-hidden="true"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;If no virtual machine snapshots or external backups are available, a manual export and a file backup are performed.&lt;/p&gt;</description></item></channel></rss>