-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
After upgrading my docker-setup to the current latest-container from the 21-branch some hours ago, I got the following error messages:
docker exec nextcloud su - www-data -s /bin/bash -c 'php -f /var/www/html/cron.php'
Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 438272 bytes) in /var/www/html/3rdparty/composer/autoload_real.php on line 37
This happens basically with every php-command, e.g. occ to add the missing indices. Something seems wrong here with PHP Memory Limits. The following works fine:
docker exec nextcloud su - www-data -s /bin/bash -c 'php -d memory_limit=-1 -f /var/www/html/cron.php'
The PHP_MEMORY_LIMIT variable within the container seems to be set to 512. I found an older support-ticket regarding issues with this limit:
https://help.nextcloud.com/t/allowed-memory-size-of-xxx-bytes-exhausted/39371
So there seems an issue with the container's internal environment configuration.
edemirkan, HomeITAdmin, ChrisB85, BrunoEVCosta, enoy19 and 30 more
Metadata
Metadata
Assignees
Labels
No labels