Error Code 404 when upgrading

Nextcloud version _: 27.0.0
Operating system and version: Unraid Docker V6.12.3
nginx version _: Latest
PHP version (eg, 7.4): unsure

The issue you are facing:
I get an Error Code 404 When clicking upgrade from NC 27.0.0 to NC27.0.1 RC2
image

Is this the first time you’ve seen this error? Yes_:

Steps to replicate it:

  1. Update NC to version 27.0.0
  2. Click “Open Updater”

The output of your Nextcloud log in Admin > Logging:

Info	richdocuments	Fetched capabilities endpoint from https://192.168.1.56:9980/hosting/capabilities in 0.016 seconds		2023-07-17T20:06:16-0400

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

Not Sure what to get here

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

No Errors that I saw

Any help is Apreciated.

Drezin

If you’re using the community Docker image (unclear since you didn’t specify which Docker image you’re using), you don’t upgrade from within Nextcloud. You upgrade the Docker image itself.

And, incidentally, you won’t be able to run unreleased/unofficial versions since they don’t typically get images built for them (well, you can, but you have to be comfortable building your own image).

Thank you @jtr for your response. I have been a new user to Nextcloud and Unraid and have been utterly confused on the best way to update nextcloud. The manuals do not talk about unraid and I have not seen anywhere on the internet for the best way to do it.

Originally I was in the wrong group and it was not notifying me of updates so I was on Version 24 when Version 27 came out. So a friend of mine had to help me step through the versions which were done via the web page updater.

I am using the community Docker image which is updated to the “Latest” I don’t see a version number anywhere in unraid.

So then my question is what is the best way to update Nextcloud? Via Unraid when it prompts for updates and via web updater for major verions?

Please if anyone can shed some light on this, I greatly appreciate it.

Secondly, I assume the error I am getting is because it is not a major version? When version 28 comes out I should not expect the error then? Or is there something wrong with Nextcloud i need to investigate?

Thanks
Drezin

According to the README from the nextcloud/docker repo, the error may always be there, as you are supposed to just change the tag you’re pointing at. That web updater is for users that installed nextcloud directly on their server (not via docker).

Make sure before doing that, that you have any volumes backed up (config and files) as well as you take a backup of your database. You can find the backup process here and persistent data is covered a bit more in detail in that README [here].