diff --git a/pages/04.applications/10.docs/nextcloud/app_nextcloud.fr.md b/pages/04.applications/10.docs/nextcloud/app_nextcloud.fr.md index b636b726..bc09f194 100644 --- a/pages/04.applications/10.docs/nextcloud/app_nextcloud.fr.md +++ b/pages/04.applications/10.docs/nextcloud/app_nextcloud.fr.md @@ -130,7 +130,7 @@ Lancez un scan du nouveau répertoire par Nextcloud: ```bash cd /var/www/nextcloud -sudo -u nextcloud php7.3 occ files:scan --all +sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all ``` C'est terminé. À présent testez si tout va bien, essayez de vous connecter à votre instance Nextcloud, envoyer un fichier, vérifiez sa bonne synchronisation. @@ -274,7 +274,7 @@ Enregistrer le fichier (**CTRL** + **o**) et quitter nano (**CTRL** + **c**). Ensuite lancer un scan en tant que root : ```bash -sudo -u nextcloud php /var/www/nextcloud/occ files:scan --all +sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all ``` À présent, le problème est corrigé. diff --git a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md index 98b6f7cf..45c0fe9a 100644 --- a/pages/04.applications/10.docs/nextcloud/app_nextcloud.md +++ b/pages/04.applications/10.docs/nextcloud/app_nextcloud.md @@ -130,7 +130,7 @@ Run a scan of the new directory by Nextcloud: ```bash cd /var/www/nextcloud -sudo -u nextcloud php7.3 occ files:scan --all +sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all ``` Update the YunoHost setting, so automatic upgrades and backups know where the datadir is located: @@ -195,7 +195,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 php /var/www/nextcloud/occ files:scan --all +sudo -u nextcloud php8.1 --define apc.enable_cli=1 files:scan --all ``` Now the problem is fixed.