NextCloud : APCu not available for local cache (Is the matching PHP module installed and enabled?)

J’ai du eu l’erreur suivante sur NextCloud (sous Ubuntu):

# sudo -u www-data php8.0 -f /usr/share/nginx/nextcloud/occ maintenance:repair
An unhandled exception has been thrown:
OC\HintException: [0]: Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

Pour fixer l’erreur j’ai du faire :

# sudo ln -s /etc/php/8.0/mods-available/apcu.ini /etc/php/8.0/fpm/conf.d/30-apcu.ini
# sudo echo 'apc.enable_cli=1' >> /etc/php/8.0/mods-available/apcu.ini
# sudo systemctl restart php8.0-fpm

Maintenant c’est fixé.

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.