I have a simple NOOB question, although I have googled and browsed this forum extensively.
For upgrading from Nextcloud 17 to 19 - do I have to go to 18 first?
Documentation is unclear on differences between updating within a major version and upgrading to a different major version.
For moving to a new major version, is Manual Upgrade the only route?
THX in adv.
-John
Nextcloud version: 17.07
Operating system and version: Ubuntu 18.04LTS
Apache or nginx version : Apache/2.4.29
PHP version: 7.2.31
Problem
A “Updates between multiple major versions are unsupported” message is shown during an update/upgrade
Description
As the message is telling you, you have done an unsupported upgrade path. For example:
Original version: 9.0.52
Upgraded version: 11.0.0
In this case you have skipped the 10.0.x upgrade which is unsupported as stated within the documentation .
Solution:
You need to upgrade first to the latest available version of 10.0.x which is currently 10.0.2. For that specific scenari…
Yes. For steps would be 17.0.7 → 18.0.6 → 19.0.0
btw. Please modify title: owncloud → Nextcloud
See https://docs.nextcloud.com/server/19/admin_manual/maintenance/upgrade.html as well for general understanding.
Thank you. I used Owncloud for years before being put off by the attitude regarding open source and community support.
So I will be following the path suggested: 17.0.7 -> 18.0.6 -> 19.0.0
1 Like
OK, I went to 18 first, then 19
SO here’s what I did (just FYI Ubuntu/Debian users) to get from 18 to 19 (17 to 18 is the same with different version numbers):
as web user (web1) from web root:
mv nextcloud oldnextcloud
wget https://download.nextcloud.com/server/releases/nextcloud-19.0.0.tar.bz2
tar -xjf nextcloud-19.0.0.tar.bz2
cp oldnextcloud/config/config.php nextcloud/config/config.php
cd nextcloud
php occ upgrade
THX
This works? Are you sure?
At least if you use data-dir in nextcloud-dir it can not work.
And what about apps?