updating php version

This commit is contained in:
Alexis IMBERT 2024-02-27 21:19:46 +01:00
parent ab610ba532
commit cf2ae05b0c

View file

@ -132,8 +132,7 @@ Back up with `ctrl+x` then `y` or `o` (depending on your server locale).
Run a scan of the new directory by Nextcloud:
```bash
cd /var/www/nextcloud
sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all
sudo -u nextcloud php8.2 --define apc.enable_cli=1 /var/www/nextcloud/occ files:scan --all
```
Update the YunoHost setting, so automatic upgrades and backups know where the datadir is located:
@ -246,7 +245,7 @@ Save the file (**CTRL** + **o**) and exit nano (**CTRL** + **c**).
Then run a scan by executing next command as root:
```bash
sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all
sudo -u nextcloud php8.2 --define apc.enable_cli=1 /var/www/nextcloud/occ files:scan --all
```
Now the problem is fixed.