Migration Suggestion from old outdated version

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Hi all .

I have an old server on centos 7 and NC 22!! ( php7.2 mariadb 10.2.44)

I have to migrate to new server U24 and latest NC 32

I have 14 users , and 10GB data .

What would it be the best quick and dirty migration path?

thank’s

fab

  1. Back up all web files and data, such as file backup /var/www/.

  2. Backup the database and use mysqldump

  3. If you want to upgrade, you need to check the baseline version from 22 to the next version (you can check the basic settings)

  4. Start nextcloud and mysql containers by using the docker container. Remember that you need to map web files and data to the container, and you need to change the config.php database address to the mysql container host domain name in advance (directly point the container version to the baseline version of the next version, and resolve the errors in basic settings, and pay attention to updating the application to the corresponding version. After multiple upgrades, you can reach version 32)

  5. So far, you can continue to use the container deployment mode, or continue to use the bare metal deployment mode (of course, the container mode is the best).

  6. In any case, make sure that the file is backed up completely.

many similar topics exist. please use search and review server_migration and multiple_versions tags.
tldr → upgrade one version a time until you reach supported state adjusting system requirements as required.

And please take care to update php to the corresponding Nextcloud versions.
The link shows you a table, which PHP versions are running with which Nextcloud releases:
https://github.com/nextcloud/server/wiki/Releases-and-PHP-versions

thank’s

considering my account are LDAP account there are just 3 shared folder….

how about :

link the new server to ldap

rsync all data

occ scan .

set up shares

done …

am I missing something ?

thank’s