vault backup: 2025-12-10 11:37:35
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
---
|
||||
url: http://cloud.thpeetz.de
|
||||
---
|
||||
|
||||
## Maintenance tasks from commandline
|
||||
Running as root:
|
||||
```shell
|
||||
sudo -u www-data /usr/bin/php /data/nextcloud/occ db:add-missing-indices
|
||||
sudo -u www-data /usr/bin/php /data/nextcloud/occ integrity:check-core
|
||||
sudo -u www-data /usr/bin/php /data/nextcloud/occ maintenance:mode --off
|
||||
sudo -u www-data /usr/bin/php /data/nextcloud/occ db:convert-filecache-bigint
|
||||
sudo -u www-data php --define apc.enable_cli=1 /data/nextcloud/occ trashbin:cleanup --all-users
|
||||
```
|
||||
|
||||
## Upgrade
|
||||
Running as root:
|
||||
```shell
|
||||
sudo -u www-data php updater/updater.phar --no-interaction
|
||||
```
|
||||
|
||||
## Install PHP 8.2 modules
|
||||
```shell
|
||||
apt install -y php-common php8.2-{fpm,gd,curl,xml,zip,intl,mbstring,bz2,ldap,apcu,bcmath,gmp,imagick,igbinary,mysql,redis,smbclient,cli,common,opcache,readline} imagemagick --allow-change-held-packages
|
||||
```
|
||||
|
||||
Remove old PHP versions
|
||||
```shell
|
||||
apt remove php8.1-* --purge
|
||||
rm -Rf /etc/php/8.1/
|
||||
```
|
||||
|
||||
##Links
|
||||
- https://docs.nextcloud.com/server/latest/admin_manual/installation/php_configuration.html
|
||||
- https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html
|
||||
- https://www.c-rieger.de/nextcloud-update-php-fpm-8-2/
|
||||
- https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/caching_configuration.html
|
||||
|
||||
## Aufgaben
|
||||
Reference in New Issue
Block a user