Documents some issues and the required manual fixes for MariaDB

This commit is contained in:
Trenton H
2022-11-21 12:59:14 -08:00
parent c0d4248021
commit 54f20b381e
3 changed files with 39 additions and 6 deletions

View File

@@ -649,7 +649,7 @@ Migration to paperless-ngx is then performed in a few simple steps:
Migrating from LinuxServer.io Docker Image
========================
==========================================
As with any upgrades and large changes, it is highly recommended to create a backup before
starting. This assumes the image was running using Docker Compose, but the instructions
@@ -663,7 +663,7 @@ are translatable to Docker commands as well.
to step 4.
b) Otherwise, in the ``docker-compose.yml`` add a new service for Redis,
following `the example compose files <https://github.com/paperless-ngx/paperless-ngx/tree/main/docker/compose>`_
b) Set the environment variable ``PAPERLESS_REDIS`` so it points to the new Redis container
c) Set the environment variable ``PAPERLESS_REDIS`` so it points to the new Redis container
4. Update user mapping
@@ -692,11 +692,12 @@ are translatable to Docker commands as well.
.. _setup-sqlite_to_psql:
Moving data from SQLite to PostgreSQL
=====================================
Moving data from SQLite to PostgreSQL or MySQL/MariaDB
======================================================
Moving your data from SQLite to PostgreSQL is done via executing a series of django
management commands as below.
Moving your data from SQLite to PostgreSQL or MySQL/MariaDB is done via executing a series of django
management commands as below. The commands below use PostgreSQL, but are applicable to MySQL/MariaDB
with the
.. caution::
@@ -713,6 +714,11 @@ management commands as below.
and filenames (1024 characters). If you have data in these fields that surpasses these
limits, migration to PostgreSQL is not possible and will fail with an error.
.. warning::
MySQL is case insensitive by default, treating values like "Name" and "NAME" as identical.
See :ref:`advanced-mysql-caveats` for details.
1. Stop paperless, if it is running.
2. Tell paperless to use PostgreSQL: