From fbb137dd96834e7b3d3c6b5648c373da2b953555 Mon Sep 17 00:00:00 2001 From: Yoann Gauthier-Colin Date: Tue, 1 Sep 2026 16:20:40 +0200 Subject: [PATCH] Upgrade Nextcloud to 27.1.11 (#2591) Bump Nextcloud core to 27.1.11 (latest 27.x, the highest release still supported on PHP 8.0) and the bundled apps to their highest NC 27 compatible versions: contacts 5.5.4, calendar 4.7.20, user_external 3.4.0. Add the 25 -> 26 step to the upgrade chain so existing installs migrate 25 -> 26 -> 27 in one run. Closes #2399. Co-authored-by: Claude Opus 4.8 --- setup/nextcloud.sh | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/setup/nextcloud.sh b/setup/nextcloud.sh index 85c96c73..fd545e43 100755 --- a/setup/nextcloud.sh +++ b/setup/nextcloud.sh @@ -21,8 +21,8 @@ echo "Installing Nextcloud (contacts/calendar)..." # we automatically install intermediate versions as needed. # * The hash is the SHA1 hash of the ZIP package, which you can find by just running this script and # copying it from the error message when it doesn't match what is below. -nextcloud_ver=26.0.13 -nextcloud_hash=d5c10b650e5396d5045131c6d22c02a90572527c +nextcloud_ver=27.1.11 +nextcloud_hash=9f30c01a021c2e5a9e7baff119955afb3c552ebc # Nextcloud apps # -------------- @@ -36,16 +36,16 @@ nextcloud_hash=d5c10b650e5396d5045131c6d22c02a90572527c # find by running: curl -sL | sha1sum # Always ensure the versions are supported, see https://apps.nextcloud.com/apps/contacts -contacts_ver=5.5.3 -contacts_hash=b234ab410480a4106176a28f39c9b27f471d0473 +contacts_ver=5.5.4 +contacts_hash=c4e3f2183a0088b829f8aa1b3af1f87c9a4c46a2 # Always ensure the versions are supported, see https://apps.nextcloud.com/apps/calendar -calendar_ver=4.7.6 -calendar_hash=cf8e68e7d945ee71933f5bb71a969faf152da55c +calendar_ver=4.7.20 +calendar_hash=12d876904e227156e39ca4335b18481b42a6d00f # Always ensure the versions are supported, see https://apps.nextcloud.com/apps/user_external -user_external_ver=3.3.0 -user_external_hash=280d24eb2a6cb56b4590af8847f925c28d8d853e +user_external_ver=3.4.0 +user_external_hash=7f9d8f4dd6adb85a0e3d7622d85eeb7bfe53f3b4 # Developer advice (test plan) # ---------------------------- @@ -239,6 +239,10 @@ if [ ! -d /usr/local/lib/owncloud/ ] || [[ ! ${CURRENT_NEXTCLOUD_VER} =~ ^$nextc InstallNextcloud 25.0.7 a5a565c916355005c7b408dd41a1e53505e1a080 5.3.0 4b0a6666374e3b55cfd2ae9b72e1d458b87d4c8c 4.4.2 21a42e15806adc9b2618760ef94f1797ef399e2f 3.2.0 a494073dcdecbbbc79a9c77f72524ac9994d2eec CURRENT_NEXTCLOUD_VER="25.0.7" fi + if [[ ${CURRENT_NEXTCLOUD_VER} =~ ^25 ]]; then + InstallNextcloud 26.0.13 d5c10b650e5396d5045131c6d22c02a90572527c 5.5.3 b234ab410480a4106176a28f39c9b27f471d0473 4.7.6 cf8e68e7d945ee71933f5bb71a969faf152da55c 3.3.0 280d24eb2a6cb56b4590af8847f925c28d8d853e + CURRENT_NEXTCLOUD_VER="26.0.13" + fi fi InstallNextcloud $nextcloud_ver $nextcloud_hash $contacts_ver $contacts_hash $calendar_ver $calendar_hash $user_external_ver $user_external_hash