Updates between multiple major versions are unsupported in Nextcloud.

Problem

A “Updates between multiple major versions are unsupported” message is shown during an update/upgrade of Nextcloud.

Description

As the message is telling you, you have done an unsupported upgrade path. For example:

Original version: 19.0.52
Upgraded version: 21.0.0

In this case you have skipped the 20.0.x upgrade which is unsupported as stated within the documentation.

Solution:

You need to upgrade first to the latest available version of 20.0.x which is currently 20.0.2. For that specific scenario the following is recommended:

  1. Remove all files and folders of your Nextcloud installation folder except /data/ and /config/
  2. Download 19.0.56 from https://nextcloud.com/changelog/
  3. Extract the content of the archive it into your Nextcloud installation folder
  4. Run the update via the webui or the command line tool

Afterwards repeat those steps with 20.0.2 and 21.0.0

So what you could do is:

  • Remove the version from the config.php you copy all the time
  • Copy the config.php to others.config.php instead of config.php

The two configs will then be merged on use. So it would still copy all your configs all the time, while not overwriting the version from the config.php:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#multiple-config-php-file

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Can I personalize my cloud - own design, color, logo ?

Yes, this is possible with all packages. At Nextcloud you have the so-called "Theming" function....

Can I use my own domain ?

You can use your own domain/subdomain at any time with all packages. You can either order one, or...

Can I mount the cloud using Webdav without Sync Client ?

This is possible at any time. Of course, you can also use other synchronizing tools, such as...

Unlimited users/groups and own apps ?

That's right. You can set unlimited user and groups, as well as use all available apps. The only...

How can I erase my cloud and terminate my account ? Right to be Forgotten

You can terminate your service at any time, with only a few clicks in the customer panel at MY...