Changes
Page history
faircloud user
authored
Apr 18, 2024
by
Roland Alton
Show whitespace changes
Inline
Side-by-side
Upgrade-procedure.md
View page @
4fcc3960
...
@@ -15,7 +15,7 @@ This is a documentation for fairkom sysadmins. We have to upgrade nextcloud ever
...
@@ -15,7 +15,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
www-data
php occ db:add-missing-indices`
1.
likely you need to do a
`sudo -u
faircloud
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)
...
@@ -37,12 +37,12 @@ Ist passiert am 22.06.2020 beim Versuch 16.x upzudaten. Das Backup hängt.
...
@@ -37,12 +37,12 @@ Ist passiert am 22.06.2020 beim Versuch 16.x upzudaten. Das Backup hängt.
*
Config Ordner kopieren
*
Config Ordner kopieren
*
Datenbankdump ziehen
*
Datenbankdump ziehen
*
`mv nextcloud nextcloud_bak && mv nextcloud_new/ nextcloud`
*
`mv nextcloud nextcloud_bak && mv nextcloud_new/ nextcloud`
*
`sudo -u
www-data
php ./occ upgrade`
*
`sudo -u
faircloud
php ./occ upgrade`
*
`sudo -u
www-data
php ./occ maintenance:repair`
(war in diesem Fall mal wieder nötig)
*
`sudo -u
faircloud
php ./occ maintenance:repair`
(war in diesem Fall mal wieder nötig)
In diesem Fall war außerdem nötig:
In diesem Fall war außerdem nötig:
`sudo -u
www-data
php ./occ db:convert-filecache-bigint`
`sudo -u
faircloud
php ./occ db:convert-filecache-bigint`
Etwas Off-Topic hier, aber ganz wichtig in config.php:
Etwas Off-Topic hier, aber ganz wichtig in config.php:
...
@@ -75,15 +75,15 @@ Als Erinnerung: https://github.com/nextcloud/server/issues/17241
...
@@ -75,15 +75,15 @@ Als Erinnerung: https://github.com/nextcloud/server/issues/17241
**occ command line tool**
**occ command line tool**
```
sudo -u
www-data
php ./occ list```
```
sudo -u
faircloud
php ./occ list```
**Alle Apps updaten**
**Alle Apps updaten**
```
sudo -u
www-data
php ./occ app:update --all
```
```
sudo -u
faircloud
php ./occ app:update --all
```
**Apps enablen**
**Apps enablen**
```
sudo -u
www-data
php occ app:enable forms
```
```
sudo -u
faircloud
php occ app:enable forms
```
Viele auf einmal enablen:
Viele auf einmal enablen:
...
...
...
...