Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.06 KB

upgrading-nextcloud.md

File metadata and controls

30 lines (23 loc) · 1.06 KB

Upgrading NextCloud to latest Stable Release.

NOTE - Before proceeding further please make sure that you have created a backup. If not then follow Backup and Restore to create a backup.

Identify the latest released version.

Once the latest released version is identified we can update the corresponding version in the docker-compose.yml file.

Once version is updated, recreate container so it can use new version.

Upgrading the container.

docker-compose up -d

Checking the container logs.

docker-compose logs -f

After upgrade finishes, run the migration steps.

docker-compose exec -it --user www-data nextcloud php occ db:add-missing-columns
docker-compose exec -it --user www-data nextcloud php occ db:add-missing-indices
docker-compose exec -it --user www-data nextcloud php occ db:add-missing-primary-keys