32 lines
1.2 KiB
Markdown
32 lines
1.2 KiB
Markdown
updates:
|
|
https://help.nextcloud.com/t/updates-between-multiple-major-versions-are-unsupported/7094
|
|
Solution:
|
|
You need to upgrade first to the latest available version of 10.0.x which is currently 10.0.2. For that specific scenario the following is recommended:
|
|
|
|
Remove all files and folders of your Nextcloud installation folder except /data/ and /config/
|
|
Download 9.0.56 from https://nextcloud.com/changelog/ 3.0k
|
|
Extract the content of the archive it into your Nextcloud installation folder
|
|
Run the update via the webui or the command line tool
|
|
Afterwards repeat those steps with 10.0.2 and 11.0.0
|
|
|
|
|
|
|
|
docker exec -u www-data nextcloud php occ ...
|
|
docker exec -u 0 nextcloud php occ
|
|
docker exec -u 0 nextcloud php occ maintenance:mode --on
|
|
docker exec -u 0 nextcloud php occ upgrade
|
|
occ files:scan --all
|
|
occ maintenance:mode --on
|
|
docker exec -u www-data nextcloud php occ upgrade
|
|
|
|
|
|
To check the database version in Nextcloud:
|
|
docker exec -u www-data nextcloud php occ config:system:get version
|
|
|
|
cleanup files:
|
|
docker exec -u 0 nextcloud php occ versions:cleanup
|
|
docker exec -u 0 nextcloud php occ trashbin:cleanup --all-users
|
|
|
|
|
|
|
|
27.0.2.1 ->> 28.0.14 -> 29.0.10 -> 30.0.4 |