... | ... | @@ -8,10 +8,12 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever |
|
|
1. set 'maintenance' => false or set to maintenance page in `/etc/apache2/sites-enabled/nextcloud.conf`
|
|
|
1. you always can login at `https://faircloud.eu/nextcloud2` (backdoor, not reachable for sync clients)
|
|
|
1. as nextcloud admin we now run upgrade to the latest minor version in the web interface
|
|
|
1. `Continue with web based updater` should be fine with minor updates
|
|
|
1. ~~`Continue with web based updater` should be fine with minor updates~~ DEC22: we prefer to upgrade with phar script:
|
|
|
1. `cd /var/www/nextcloud/`
|
|
|
1. `sudo -u faircloud php updater.phar`
|
|
|
1. this usually also updates all apps, and there is no way to get back in app versions
|
|
|
1. check if all apps are working
|
|
|
1. continue with upgrading to next nextcloud major version with `sudo -u faircloud php occ upgrade`
|
|
|
1. ~~continue with upgrading to next nextcloud major version with `sudo -u faircloud php occ upgrade`~~
|
|
|
1. some repair jobs may take quite long https://git.fairkom.net/hosting/nextcloud/-/issues/111#note_40870
|
|
|
1. check admin settings overview page
|
|
|
1. likely you need to do a `sudo -u www-data php occ db:add-missing-indices`
|
... | ... | |