Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- docker exec -it -u abc nextcloud bash
- cd /config/www
- mv nextcloud nextcloud.old
- wget https://download.nextcloud.com/server/releases/<release>.zip
- unzip <release>.zip
- cp nextcloud.old/config/config.php nextcloud/config
- #ensure maintenance mode set to false
- ctrl+p+q
- #docker exec -it nextcloud bash
- #occ maintenance:mode --off
- #ctrl+p+q
- docker exec nextcloud occ maintenance:mode --off
- #refresh your nextcloud instance in the browser and it should ask you to update in the gui
- #Refresh all db settings -
- docker exec -it nextcloud /bin/bash
- cd /config/www/nextcloud
- occ db:add-missing-primary-keys
- occ db:convert-filecache-bigint
- occ db:add-missing-indices
- ctrl+p+q
- docker stop nextcloud && docker rm nextcloud && docker-compose up -d nextcloud
- #stolen and modified for docker from this github comment https://github.com/nextcloud/updater/issues/156#issuecomment-395443783
Add Comment
Please, Sign In to add comment