Migrating Nextcloud (MariaDB > MySQL

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version: 22.1.0
Operating system and version: Linux 5.10.28
Operating System: DOCKER
Webserver: Nginx
PHP version 8.0.18

The issue you are facing:

Migrating Nextcloud old instance to new instance (mariadb > mySQL)

As I have noticed that NC docker can no longer be updated due to mariadb limitations, I have installed a new docker instance (NC + mySQL + MySQL workbench).
What I have noticed during this migration, is that you can not point the new NC docker instance at the existing file share of the old instance, or… you cannot copy the raw data from that share to the new share, as the new NC docker instance won’t see the files (must relate to the db).

NC Docker w/ mariadb docker
to
NC docker /w mySQL docker /w MySQL workbench

I am thinking is, I have to download all my rawdata from the existing share, and upload it to the new NC & db instance manually for the new NC instance to see it… seems like a long (waste of time) method to perform this, and I was wondering if there was another way to migrate everything including the current settings so I would not need to manually setup all the NC apps, and 2FA settings, photos, etc.

Is this the first time you’ve seen this error? (Y/N):
N/A

Steps to replicate it:

No errors, reaching out to discuss a how to
Reviewed officiation documentation, but doesn’t seem to apply as both dbs cannot be started/ran at the same time

The output of your Nextcloud log in Admin > Logging:

NA

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

N/A

The output of your Apache/nginx/system log in /var/log/____:

N/A

PASTE HERE

N/A

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

N/A