add read changelog authored by Roland Alton's avatar Roland Alton
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
This is a documentation for fairkom sysadmins. We have to upgrade nextcloud every few months. We share our experience and steps here. This is a documentation for fairkom sysadmins. We have to upgrade nextcloud every few months. We share our experience and steps here.
1. read changelog (to prevent surprises like a global adressbook https://git.fairkom.net/hosting/nextcloud/-/issues/181#note_77248)
1. announce maintenance with Announcement app (uncheck at three dots to be sent with e-mail to all users, only 20 mails per minute) 1. announce maintenance with Announcement app (uncheck at three dots to be sent with e-mail to all users, only 20 mails per minute)
1. in /var/www/nextcloud/config/config.php set `'maintenance' => true,` 1. in /var/www/nextcloud/config/config.php set `'maintenance' => true,`
1. do a manual DB backup and copy to /mnt/backup2/faircloud_db (= external backup drive) 1. do a manual DB backup and copy to /mnt/backup2/faircloud_db (= external backup drive)
...@@ -15,7 +16,7 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever ...@@ -15,7 +16,7 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever
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. some repair jobs may take quite long https://git.fairkom.net/hosting/nextcloud/-/issues/111#note_40870
1. check admin settings overview page 1. check admin settings overview page
1. likely you need to do a `sudo -u faircloud php occ db:add-missing-indices` 1. likely you need to do in `/var/www/nextcloud/` a `sudo -u faircloud php ./occ db:add-missing-indices`
1. check if all apps are working 1. check if all apps are working
1. use the maintenance window for an OS update and reboot if you got a new kernel 1. use the maintenance window for an OS update and reboot if you got a new kernel
2. remove the Announcement in the Announcement app (so those who did not read it yet won't get it anymore) 2. remove the Announcement in the Announcement app (so those who did not read it yet won't get it anymore)
... ...
......