Keep in mind: this in not officially supported - @LukasReschke and I build this. It is for testing purposes only. (beside that we have run in already successfully on multiple servers - but we want to be 100% sure that it doesnât cause issues in production instances first before saying it is officially supported).
-
- configure updater in
config.php
:
- configure updater in
'updater.server.url' => 'https://updates.nextcloud.com/updater_server/',
'updater.release.channel' => 'beta',
-
- put the new updater script in place (keep in mind to grant the web server user write permissions to this file - otherwise the updater will tell you this ;)):
wget https://raw.githubusercontent.com/nextcloud/updater/master/index.php -O updater/index.php
- 2a) restart the webserver now (crucial!!!)we have seen many reports that even if the file was replaced still the old updater was in use - I suspect that the opcache still has held the old code and didnât replaced it with the new one
-
- go to the admin page and change the channel to beta there too (yes we did this in the config, but this needs to be done here too, because those are sadly two different settings)
-
- then (after the next cron.php run) the update should be visible and a button âOpen Updaterâ should be available - you can click this (but be sure, that you put the before downloaded file in place - see step 2))
See Test our new work-in-progress upgrader script for the updater script.
To see if the correct updater was loaded check out the pictures in https://github.com/nextcloud/updater/issues/39#issuecomment-250399443