mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
updating php version
This commit is contained in:
parent
ab610ba532
commit
cf2ae05b0c
1 changed files with 2 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue