Description of problem: switching my Nextcloud server to maintenance mode by sudo -u apache php /var/www/nextcloud/occ maintenance:mode --on I get the error: "Memcache \\OC\\Memcache\\APCu not available for local cache” Version-Release number of selected component (if applicable): php-apcu-5.1.19-1.mga8 and it might have started to happen after PHP 8.0.8 update (I am not certain though). I have an nginx server with php-fpm: * nginx version: nginx/1.18.0 * Zend Engine v4.0.8, Copyright (c) Zend Technologies with Zend OPcache v8.0.8, Copyright (c), by Zend Technologies I have the latest stable Nextcloud version 21.0.3 How reproducible: always on my server until I fixed it. Steps to Reproduce: 1. Install Nextcloud with Nginx server using wiki: https://wiki.mageia.org/en/Nextcloud_server_installation_with_NGINX 2. Run sudo -u apache php /var/www/nextcloud/occ maintenance:mode --on (actually, any occ command will lead to the save error) FIX: I fixed it using the recommended solution on the nextcloud forum: https://help.nextcloud.com/t/nc13-memcache-oc-memcache-apcu-not-available-for-local-cache/31027 Meaning I had to edit /etc/php.d/99_apcu.ini and add the following line: apc.enable_cli=1 I am sure I was not getting this error when I installed the first time Nextcloud on Mageia 8 and php 8.0.2 (it is when I wrote the wiki in reference). Is it connected to PHP updates or to Nextcloud updates? I can't say myself. Do you have an idea? Should our /etc/php.d/99_apcu.ini be modified? Let me know how I can help. Kind regards.
Should we update nextcloud and this package? Add some useful peoples.
CC: (none) => fri, joequant, mageia, mageia, ouaurelien
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=28511
Assignee: bugsquad => mageia
I assume there is a change in nextcloud which leads to this notice. In general you will not need to have any cache in cli mode. Most scripts only run once in while, so caching is not needed. Even the option is already present in /etc/php.d/99_apcu.ini - so it is up to you to enable this. I don't see the need to change sth.
no need to change
Resolution: (none) => WONTFIXStatus: NEW => RESOLVED