Notes on migrating Nextcloud to docker with version mismatch

Some quick notes (mostly to myself) on how to migrate nextcloud to another server, while changing to a docker-based system, and also updating across multiple major versions. In my case, I had a server running version 19, and the current stable version at time of update was 21. Direct migration across multiple major steps is not supported, so I first ported to 19, and then upgraded first to 20, and then to 21. This took a while to figure out from multiple sources, so here a brief summary of the main steps.

Continue reading “Notes on migrating Nextcloud to docker with version mismatch”