[SOLVED] Occ command; PHP Fatal error, Allowed memory size of XXX bytes exhausted

I had APCu activated in the nextcloud config.php. It seems I didn’t have apc.enable_cli=1 in /etc/php/8.0/cli/conf.d/20-apcu.ini. After I added that line to the file occ worked and there was no segmentation error anymore.

26 Likes