Update Nextcloud-Versions in Nextcloudpi

Hi!

First of all: Sorry if this is in the wrong place, I am slightly overwhwelmed by the options to categorize my post in this forum and I didn´t find a better place to ask.

I am currently using NextcloudPi on my RaspberryPi. My installation is up-to-date (v1.53.0) and my nextcloud-version is 24.0.5.1. All is fine at the moment.

However: Since Nextcloud has already far advanced in its main versions (25 is already EoL and 26 will be in a few days: Maintenance and Release Schedule · nextcloud/server Wiki · GitHub) I would like to upgrade Nextcloud at least to 25. Also I understand that manually upgrading might be risky if you are, like me, not very keen on becoming a beta tester (Staying up to date)

I am not necessarily impatient (I know this all takes time and people are volunteering) I am however wondering two things:

1.Will there be a stable release of Nextcloud 25.x released that then just upgrades in NCP or am I stuck on 24.x?
2. How risky is it to upgrade to Nextcloud 25.x and then to 26.x and even 27.x? I like the software I run to be not EOL - especially something as central as Nextcloud.

I hope I didn´t offend anyone with this question and am very hopeful for answers :slight_smile:

Sorry but i do not use NextcloudPi.

Because of here NextcloudPi uses Debian 11 Bullseye (i think with PHP 7.4). I don’t know if the Nextcloud version you mentioned is the current version in the NextcloudPi release. Please check it or someone can get an answer.

@theCalcaholic

Update: If all goes well with the next releases, I see ourselves supporting Debian Bookworm in 2024-03

According to here, there will probably be a new release in 2024-03. I wouldn’t change anything manually for the time being and wait and see. But maybe someone else can say something about the release plan of NextcloudPi. Will the change from Debian Bullseye to Debian Bookworm incl. PHP 7.4 to PHP 8.2 and upgrade from e.g. Nextcloud 24 to Nextcloud 28 over all releases be supported at all? I already had enough problems migrating my Debian Bullseye to Debian Bookworm without breaking my Nextcloud.

Thank you for the reply, @devnull ! It is good to know that there will soon be a new release.

NCP only supports updates one major release at a time, so you would upgrade from 24 to 25, then from 25 to 26 etc. NCP also has a “autoupgrade” feature, which upgrades to the latest recommended version. I have it enabled, this seems to imply that 24 is the latest recommended version.

In the thread you linked (thanks for that!) @theCalcaholic says “NextcloudPi supports Nextcloud 27, though, except for the NCP docker container, which is discontinued” which confuses me a bit - this seems to imply that it is safe to upgrade from 24 to 25 and then 25 to 26 and finally 26 to 27?

Sorry for the bump, but I am still not sure what to do…

Does anybody who uses NextcloudPi know if it is safe to upgrade to Nextcloud version 25 and later in NextcloudPi?

I have the same question.

My nextcloudpi installation on an odroid HC4 has been stuck on version 25 for already a long time. On my “Administration settings”-page, the bottom part, “Update”, is blanc - even the title isn’t shown.

Yesterday I did an dist-upgrade to Bookworm which went well (now running php 8.1 which is necessary to move up to next versions of Nextcloud, if I understand well?), but version 25 seems still to be advised?

On https://nextcloudpi.com/ it says under button Feature “Latest Nextcloud” and on some posts in this help-forum, I read users running a higher version.

Can I do a manual upgrade of Nextcloud?

Where can I check which Nextcloud-version is latetst safe version voor NextcloudPi?

Take a look:
v1.55.2 (2024-09-24) Hotfix release
Staying up to date

Hello David,

At some point I just made a Backup, set the version to update to in the config to the latest available (which would be 29.0.4 at the moment) and ran the updates. It went smoothly, no problems.

Shortly after that however I upgraded my hardware and now I use Nextcloud-AIO via docker, so I cannot tell you how reliable that would have been in the long run.

Thank you! That makes things clear. And I bumped version already up to 27.1.11 (two versions)!

Although, one more question: PHP-version.
Version 1.55.2 of ncp is installed. On Release v1.55.2 · nextcloud/nextcloudpi · GitHub PHP-version 8.3 is mentioned.
But on my armbian it seems to be version 8.1:

PHP 8.1.29 (cli) (built: Jun  6 2024 16:45:05) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.29, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.29, Copyright (c), by Zend Technologies

With apt-cache search I can see that there is a version 8.3 available.

How do I upgrade to version 8.3? https://docs.nextcloudpi.com/ nor the forum gives me a clear answer… I would think upgrading ncp would bump php-version? Upgrade to PHP 8.3 with Apache · Wiki · nextcloud / passwords · GitLab has some info (also info for Lighttpd and nginx).

Take a look:
Releases and PHP versions
and as in

here
(You're invited to talk on Matrix)

nothing to get settled
Maintenance and Release Schedule

1 Like

@haukew Hi, if you’re on the latest version of NCP (v1.55.2 - if not, feel free to run ncp-update), you can just update using ncp-config → Updates → ncp-update-nc and enter 0 as your target version.

That will upgrade you to the next major version of Nextcloud, and, if you do it repeatedly, all the way up to Nextcloud 29, which is the latest Nextcloud version officially supported (and tested) by NCP.