Issue I am facing:
When upgrading Nextcloud, the apps are not always compatible with the version to which Nextcloud is being upgraded. Even more: there usually is at least one app that blocks the upgrade.
I tend to :
- make a backup (as fallback)
- and a snapshot (for quick turnaround) before upgrading Nextcloud.
- then run the upgrade,
- mark the app on which it crashes
- rollback snapshot
- remove app
- re-run the upgrade and start on top when it crashes on another app
I feel a bit like this bear: I know there must be a better way, but I’m too busy crashing the upgrade and restoring snapshots to think about it.
Motivation
After procrastinating the upgrade from 29 to 30, I sat down to check the app compatibility beforehand.
- I started to look for a pre-upgrade script that could do the work for me, but failed.
- Next was a search for an app compatibility matrix, or,
- lacking that, a version specific list of (in)compatible apps (but then for upgrade/migration 29-30, I tried using tags in the search)
- Considering what might be a logical location, I checked the release notes ; a few menu items lower is an item “Apps management”, but it does not seem to deal with NC upgrades
- The more tiresome options seemed checking every installed app on my installation, but I can’t find the compatibility info there.
- Finally, I resorted to starting to search for each installed app in turn on the Nextcloud app site, but it is very slow and error prone:
- the first installed app I checked was “Activity”, but
- the app store only has two “Activities for shared files”, no “Activity”.
- The link in the details the installed app brings me to Github, where I fail to notice a compatibility statement.
I’m quite sure I ask for a resource that is readily available. I did do my best to use web search, forum search and logical thinking, but came up empty handed.
It is not really a problem to continue my old fashioned way, but if an app compatibility matrix is available I’d love to be pointed to it!
The Basics
- Nextcloud Server version - 29.0.7
- Operating system and version - Debian 12 / Bookworm (Linux 6.8.12-5-pve x86_64)
- Web server and version - Nginx/1.22.1
- Reverse proxy and version - Nginx/1.22.1
- PHP version - 8.3.16
- Is this the first time you’ve seen this error? - No
- When did this problem seem to first start? - Most NC upgrades
- Installation method - Full OS install (Yunohost) in LXC container
- Are you using CloudfIare, mod_security, or similar? - nothing
Apps
$ php occ app:list
Enabled:
- activity: 2.21.1
- bookmarks: 14.2.7
- calendar: 4.7.16
- circles: 29.0.0-dev
- cloud_federation_api: 1.12.0
- comments: 1.19.0
- contacts: 6.0.2
- contactsinteraction: 1.10.0
- dashboard: 7.9.0
- dav: 1.30.1
- deck: 1.13.3
- federatedfilesharing: 1.19.0
- federation: 1.19.0
- files: 2.1.1
- files_downloadlimit: 2.0.0
- files_external: 1.21.0
- files_pdfviewer: 2.10.0
- files_reminders: 1.2.0
- files_sharing: 1.21.0
- files_trashbin: 1.19.0
- files_versions: 1.22.0
- firstrunwizard: 2.18.0
- gpxpod: 5.0.18
- logreader: 2.14.0
- lookup_server_connector: 1.17.0
- maps: 1.4.0
- memories: 7.4.1
- music: 2.1.1
- nextcloud_announcements: 1.18.0
- notes: 4.11.0
- notifications: 2.17.0
- oauth2: 1.17.1
- password_policy: 1.19.0
- photos: 2.5.0
- privacy: 1.13.0
- provisioning_api: 1.19.0
- recommendations: 2.1.0
- related_resources: 1.4.0
- richdocuments: 8.4.9
- richdocumentscode: 24.4.1103
- serverinfo: 1.19.0
- settings: 1.12.0
- sharebymail: 1.19.0
- snappymail: 2.38.2
- spreed: 19.0.12
- support: 1.12.0
- survey_client: 1.17.0
- systemtags: 1.19.0
- tasks: 0.16.1
- text: 3.10.1
- theming: 2.4.0
- twofactor_admin: 4.7.1
- twofactor_backupcodes: 1.18.0
- user_ldap: 1.20.0
- user_status: 1.9.0
- viewer: 2.3.0
- weather_status: 1.9.0
- workflowengine: 2.11.0
Disabled:
- admin_audit: 1.19.0
- bruteforcesettings: 2.9.0
- encryption: 2.17.0
- ocsms: 2.2.0 (installed 2.2.0)
- suspicious_login: 7.0.0
- twofactor_totp: 11.0.0-dev
- updatenotification: 1.19.1 (installed 1.5.0)