diff --git a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md index 97fc01ad..3d255d18 100644 --- a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md +++ b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md @@ -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.