Update: We now ship this in 9.0.54 and 10.0.1 - see https://help.nextcloud.com/t/test-our-new-work-in-progress-upgrader-script/1214/151?u=morrisjobke - Thanks for testing!
@MorrisJobke and me spend some time to work together on a revamped web updater, the reasoning behind this and what technically happens in the background can be read at https://github.com/nextcloud/updater/issues/2
In a nutshell: Instead of relying on the old ownCloud updater that does stuff like
shell_exec (which often is blocked at shared hosting providers and so on), this is a simple script that simply does what it should do: Replace all program files.
We'd utmostly appreciate any testing from YOUR side. It would be great to know whether we missed some test cases.
To test this upload the file from https://raw.githubusercontent.com/nextcloud/updater/add-simplified-updater/index.php to
/updater/index.php in your ownCloud or Nextcloud. And add the following to your config file (remove this value later after testing again!):
'updater.server.url' => 'https://updates.nextcloud.org/updater_server/',
Then switch in your admin screen to another channel and back to "stable". You should also get a message displayed that a newer version is available. (if a warning is displayed that shell_exec is required, take a look at https://help.nextcloud.com/t/test-our-new-work-in-progress-upgrader-script/1214/18)
The following behaviour would be expected:
- If you are on 9.0.50 it should update you to 9.0.51 if you go to /updater/
- If you are on ownCloud 9.x or 8.2 it should update you to Nextcloud 9.0.51
You can either access the updater directly at
https://example.com/updater/) or change the channel in your admin screen to "daily". Reload the page and then press the "Open updater" link.
Any feedback would be welcome! Something broke? Let us know. It worked fine? Let us know as well.
Attention: While we have tested the script quite a lot, we'd encourage you to make a backup of your instance before trying it out.