-
Notifications
You must be signed in to change notification settings - Fork 39
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
Bug description
The ongoing issues with the update process are both absurd and inexcusable. It's apparent that those responsible for it are utterly unfit for the job. A quick review of the numerous topics concerning Nextcloud server updates provides enough evidence of this chaos.
A supposedly straightforward update from version 25.0.7 to 25.0.10 on an Ubuntu server results in a bombardment of errors. When the update process fails, it frustratingly hangs at "Update Nextcloud on step X."
Executing the sudo -u www-data php --define apc.enable_cli=1 /var/www/html/nextcloud/updater/updater.phar command should be straightforward, but instead, it is plagued with problems:
Current version is 25.0.7.
Update to Nextcloud 25.0.10 available. (channel: "stable")
Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-25.0.10.zip
Open changelog ↗️
Steps that will be executed:
[ ] Check for expected files
[ ] Check for write permissions
[ ] Create backup
[ ] Downloading
[ ] Verify integrity
[ ] Extracting
[ ] Enable maintenance mode
[ ] Replace entry points
[ ] Delete old files
[ ] Move new files in place
[ ] Done
Start update? [y/N] y
Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.
[✔️] Check for expected files
[✔️] Check for write permissions
[✔️] Create backup
[✔️] Downloading
[✔️] Verify integrity
[ ] Extracting ...PHP Warning: require(/var/www/html/nextcloud/updater/../version.php): failed to open stream: No such file or directory in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 673
PHP Fatal error: require(): Failed opening required '/var/www/html/nextcloud/updater/../version.php' (include_path='.:/usr/share/php') in phar:///var/www/html/nextcloud/updater/updater.phar/lib/Updater.php on line 673
This isn't just an isolated technical hiccup, but a critical error indicating a disastrous lack of competence.
In no uncertain terms, the team handling this update process needs to be seriously reevaluated. Perhaps they should be replaced by individuals who can competently manage and streamline the process - because as it stands, this is an organizational catastrophe.
There appears to be a potential workaround to this persistent error, although it remains untested. However, when we delve into this, it's quite startling to see the extent of hoops a user is expected to jump through just to update Nextcloud. This workaround isn't simply a convenient detour – it's a complex, multi-step hurdle that users are being forced to navigate. Such a process should surely be more streamlined, with less burden on the user. This situation highlights the need for an urgent review of the update process within Nextcloud.
Steps to reproduce
- sudo -u www-data php --define apc.enable_cli=1 /var/www/html/nextcloud/updater/updater.phar
Expected behavior
Update nextcloud from version 25.0.7 to 25.0.10
Installation method
Community Manual installation with Archive
Nextcloud Server version
25
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
- Default user-backend (database)
- LDAP/ Active Directory
- SSO - SAML
- Other
Configuration report
Could not open input file: occList of activated Apps
Could not open input file: occNextcloud Signing status
Update in process.Nextcloud Logs
No response
Additional info
No response