46 lines
1.5 KiB
Markdown
46 lines
1.5 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
|
|
|
|
|
|
# NEXTCLOUD AIO
|
|
get pass(in container sh):
|
|
/mnt/docker-aio-config/data# ls
|
|
backupsecret configuration.json session_date_file
|
|
a4a2bed68bc4:/mnt/docker-aio-config/data# cat configuration.json | grep pass
|
|
citadel showcase turbofan wick shiftless travel woof dicing
|
|
backup:
|
|
location:/mnt/storage/containers/nextcloud_aio/backup$
|
|
pass: 0d760cd12d0c75991344ce9dcb599e2bfb85ef40db3ebe29
|
|
|
|
|