I was using modular config system (there is memcache.config.php under config)
I removed APCu entry from there, managed to get db indices and background jobs running again.
PHP is not getting killed. I’ll figure out how to enable memory caching from other thread
Thanks
[EDIT above this line]
that fails as well, even tried 3072M
sudo -u www-data php -d memory_limit=3072M /var/www/nextcloud/occ db:add-missing-indices
PHP Fatal error: Allowed memory size of 3221225472 bytes exhausted (tried to allocate 20480 bytes) in /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133
On other hand I’ve removed APCu from config in my environment, however still stuck on indices part