TL;DR Upgrade path for Nextcloud and MariaDB container versions to get to :latest?
Hi all, I’ve got a question I just want a little more clarification on, mostly concerning container tags.
I have a LSIO Nextcloud container that uses a LSIO MariaDB backend. I take weekly tar backups of the Docker volume mounts (/config inside the containers) of this and other containers. I thought everything was going on great, but then “something went terribly wrong”.
I accidentally removed the wrong directory, unrecoverably. When I went to restore from backups, I found that the most recent one was 2022-03-30, six months ago! I restored that data, but the combination of the new container version (using :latest) and older volume mount caused internal Nextcloud errors that I didn’t find any easy way of rectifying.
I decided to try pulling the container tags that were published six months ago from LSIO’s Docker Hub (kudos for keeping those around, btw) for both MariaDB and Nextcloud.
Those versions are :23.0.3-ls177 for Nextcloud and :10.5.13 for MariaDB. With those two container versions, the app starts up and runs.
What would be the best sequence to pull new images and step through the upgrades? Or what should I be looking for in the Dockerfiles as clues to which ones are needed in the upgrade path?
From StackOverflow, I found a way to list all the tags in Dockerhub for each registry (http s://stackoverflow.com/questions/28320134/how-can-i-list-all-tags-for-a-docker-image-on-a-remote-registry).
Nextcloud:
23.0.3-ls177 <------ Current version, working app
23.0.3-ls178
23.0.3-ls179
23.0.3-ls180
23.0.3-php8 <------- I can skip PHP8, since I’m pretty sure I’ve been on v7 this whole time
23.0.4
23.0.4-ls180
23.0.4-ls181
23.0.4-ls182
23.0.4-ls183
23.0.4-ls184
23.0.4-php8
24.0.1
24.0.1-ls185
24.0.1-ls186
24.0.1-ls187
24.0.1-ls188
24.0.1-ls189
24.0.1-php8
24.0.2
24.0.2-ls189
24.0.2-ls190
24.0.2-ls191
24.0.2-ls192
24.0.2-ls193
24.0.2-php8
24.0.3
24.0.3-ls193
24.0.3-ls194
24.0.3-ls195
24.0.3-ls196
24.0.3-php8
24.0.4
24.0.4-ls197
24.0.4-ls198
24.0.4-ls199
MariaDB:
10.5.13 <--------- Current image for working container
10.5.13-alpine
10.5.13-r0-ls43
10.5.13-r0-ls44
10.5.13-r0-ls45
10.5.13-r0-ls46
10.5.13-r0-ls47
10.5.13-r0-ls48
10.5.13-r0-ls49
10.5.15
10.5.15-alpine
10.5.15-r0-ls50
10.5.15-r0-ls51
10.5.15-r0-ls52
10.5.15-r0-ls53
10.5.15-r0-ls54
10.5.15-r0-ls55
10.5.15-r0-ls56
10.5.15-r0-ls57
10.5.15-r0-ls58
10.5.16
10.5.16-alpine
10.5.16-r0-ls59
10.5.16-r0-ls60
10.5.16-r0-ls61
10.5.16-r0-ls62
10.5.16-r0-ls63
10.5.16-r0-ls64
10.5.16-r0-ls65
10.5.16-r0-ls66
10.5.17
10.5.17-alpine
10.5.17-r0-ls67
Thank you for any help you can provide.