Changes
Page history
nextcloud2 alias
authored
Aug 23, 2022
by
Roland Alton
Hide whitespace changes
Inline
Side-by-side
Upgrade-procedure.md
View page @
41836757
...
@@ -4,15 +4,16 @@ This is an internal documentation for fairkom sysadmins. We have to upgrade next
...
@@ -4,15 +4,16 @@ This is an internal documentation for fairkom sysadmins. We have to upgrade next
1.
announce maintenance with Announcement app
1.
announce maintenance with Announcement app
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
1.
do a manual DB backup and copy to /mnt/backup2/faircloud_db (= external backup drive)
1.
set 'maintenance' => false,
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.
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
1.
this usually also updates all apps, and there is no way to get back in app versions
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.
check if all apps are working
1.
continue with upgrading to next nextcloud major version with
`sudo -u
www-data
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 o
e
vrview page
1.
check admin settings ov
e
rview page
1.
likely you need to do a
`sudo -u www-data php occ db:add-missing-indices`
1.
likely you need to do a
`sudo -u www-data php occ db:add-missing-indices`
1.
check if all apps are working
1.
check if all apps are working
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)
...
...
...
...