I had a similar issue with an NC update that upgraded to PHP8.3. Changing the apcu.ini helped:
apc.enable_cli=1 in /etc/php/{{ php_version }}/mods-available/apcu.ini
nano /etc/php/8.3/mods-available/apcu.ini
apc.enable_cli=1
/etc/init.d/php8.3-fpm restart