Changes
Page history
add occ for maintenance
authored
Dec 11, 2025
by
Roland Alton
Show whitespace changes
Inline
Side-by-side
Upgrade-procedure.md
View page @
b58f640f
...
@@ -4,8 +4,8 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever
...
@@ -4,8 +4,8 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever
1.
read changelog (to prevent surprises like a global adressbook https://git.fairkom.net/hosting/nextcloud/-/issues/181#note_77248)
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,`
or
`root@alpstein /var/www/nextcloud # sudo -u faircloud php ./occ maintenance:mode --on`
1.
do a manual DB backup
and copy to /mnt
/backup2/
fair
cloud
_db
(= external backup drive)
1.
do a manual DB backup
`mysqldump faircloud > /data
/backup2/
next
cloud
Dez25.sql`
(= external backup drive)
1.
set 'maintenance' => false or set to maintenance page in
`/etc/apache2/sites-enabled/nextcloud.conf`
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.
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
...
...
...
...