Nextcloud Server version: 23.0.12
Operating system and version: Debian 10
PHP version: 7.3.31-1~deb10u7
Installation method: Proxmox host with Tunkey Linux container.
I am running an outdated version of Nextcloud on a Turnkey Linux installation. I want to upgrade to the latest stable release. I was hoping to make a post here with my situation and plan, get feedback from anyone experienced, then track my progress/issues in the thread as I go.
I’ve read a lot of forum posts and documentation, and from what I can tell I will need to upgrade to from 23->24, then 24->25 and so on until I reach the latest stable release.
Several years ago, when I was only a few versions behind, I attempted to upgrade from 23->24, but needed to upgrade PHP from 7.3->7.4 first. I ran into an issue in my container that I could not get past, and chalked it up to being in the turnkey environment and gave up.
I have stopped using Turnkey Linux templates several years ago, and would prefer to migrate into a new container.
I did however look into what upgrade option Turnkey offers, and it appears I would need to use their cloud upgrade option, which I would rather not pay for. I also noticed they do skip versions from 23->26 then 26->29. So I believe this wouldn’t work anyway?
I believe my best course of action is to create a new container, running Nextcloud 23 and the latest version of PHP it supports.
Then I would migrate my data to it.
Then I would begin the process of upgrading to 24, then 25, etc.
I have a few questions from the Pros in the community:
-Is there any issues with my plan or alternatives I didn’t think of?
-Should I consider using an old version of Nextcloud AIO for my new installation, or do a manual install?
-If I were to go the route of Nextcloud AIO, should I try to upgrade my current installation to reach a specific version before the migration?
-I tend to prefer Debian, if I go the route of manual install, is there anything I should know specific to Debian during this process. Or is there a reason to use another distro?
-Currently I have a separate mount point for my OS and my data. OS is on NVME, and data is on ZFS pool. Is there any factors this would affect during a migration?
Hopefully I’ve provided enough context, thanks in advance for any assistance.