diff options
author | J0WI <J0WI@users.noreply.github.com> | 2019-04-29 14:45:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-29 14:45:25 +0200 |
commit | cde407bf5ed1f950d90a1c29977c27fcfd979b0d (patch) | |
tree | 5caaf6997b768b40a5a90649930b303e23e61d0e | |
parent | c653d9b8a91b179a0f43a91292060b165ed52920 (diff) | |
parent | 8680beee04ebc3e1d3e5e094249b3f3a824af909 (diff) |
Merge pull request #728 from J0WI/majupgrdoc
Clarify major version upgrade procedure
-rw-r--r-- | README.md | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -259,7 +259,11 @@ In our [examples](https://github.com/nextcloud/docker/tree/master/.examples) sec When you first access your Nextcloud, the setup wizard will appear and ask you to choose an administrator account, password and the database connection. For the database use `db` as host and `nextcloud` as table and user name. Also enter the password you chose in your `docker-compose.yml` file. # Update to a newer version -Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one. Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected. +Updating the Nextcloud container is done by pulling the new image, throwing away the old container and starting the new one. + +**It is only possible to upgrade one major version at a time. For example, if you want to upgrade from version 14 to 16, you will have to upgrade from version 14 to 15, then from 15 to 16.** + +Since all data is stored in volumes, nothing gets lost. The startup script will check for the version in your volume and the installed docker version. If it finds a mismatch, it automatically starts the upgrade process. Don't forget to add all the volumes to your new container, so it works as expected. ```console $ docker pull nextcloud |