I can’t help but upgrading Nextcloud is a sure source of frustration every single time. Each upgrade makes me think about looking for alternatives but then I can’t find the time for that.
This time I have installed 21.0.3 and the web settings page tells me that I could have 21.0.7. The Nextcloud website, however, mentions the version 22.2.3 as the latest stable version. Why won’t this work for once?
So I googled the upgrade instructions for the CLI upgrade (hadn’t seen them on the website and googling is usually faster than figuring out how to navigate websites like this). The web based upgrade won’t work because Nextcloud’s server requirements are so strange (and unsafe) that I always need to remove some lines from the .htaccess files to make it work at all. Losing access to the web interface halfway through the upgrade process certainly wouldn’t lead to a successful result. So the CLI way is the only way that works for me.
I ran the command
php ./occ upgrade and it plain said “Nextcloud is already latest version”, nothing more. I guess the green colour of the text should tell me that everything is good, but it’s not. No minor upgrade, no major upgrade, just a complete failure. Am I stuck to this (old?) version now and should I probably never care about upgrades again? (Like it won’t improve much anyway.)
Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25):
Apache 2.4.something (not relevant)
PHP version (eg, 7.4):
7.4 (but 8.0 is available, too, as php8.0 command and via web server config)
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): I have the strange feeling that it’s not. But it’s been a while since the last upgrade.
Steps to replicate it:
- Try to upgrade
- Do a web search and figure out you’re the only one having this problem or even trying to do this
- Try to shake off the constant frustration
- Ask for help, again
The output of your Nextcloud log in Admin > Logging:
What is that? Can't find it.
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
Please tell me if you need that and I should do the work to prepare it. I believe it's not useful here.
The output of your Apache/nginx/system log in
Does not apply.