Linuxservers docker image: latest
Original install: 23.0.0
Trying to update - (also tried downgrade)
export docker settings
download new docker image
NC runs and connects, but version remains at 23.0, regardless of using a 23.0.2 or 22.2 or whatever image.
I assume this is because there is a data file that is not changed.
I cannot figure out how to do the docker update correctly - none of the tutorials on the web cover my problem.
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.
thanks - I was confused by what could be done in the Synology Docker GUI and what had to be command line. What I ended up doing was:
From the Docker GUI in Synology:
Select container, then Settings → export
Store to a local place (e.g. /docker)
Then command line: