But I am still getting the error (from docker logs -f nextcloud-aio-nextcloud
NOTICE: PHP message: PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4194304 bytes) in /var/www/html/lib/private/Log.php on line 166
I have actually played back and forth with the env vars and have now both NEXTCLOUD_MEMORY_LIMIT=1024M and PHP_MEMORY_LIMIT=1042M in there.
Both individually do not impact my problem.
The context in which this occurs is that I have ONE huge folder with many (~+ 200K photos). Only on this folder the problem exists. The other ones are accessible.