Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.
Resource icon

Scripted installation of Nextcloud 19 in iocage jail 2018-03-23

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

xames

Member
Joined
Jun 1, 2020
Messages
156
Results again:

Code:
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 266240 bytes) in /usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133
 

xames

Member
Joined
Jun 1, 2020
Messages
156
This solution on nextcloud forums, but i don't know how to apply.

This is what fixed it for me, the -d memory_limit=-1

me@server:/var/www/nextcloud$ sudo -u www-data php -d memory_limit=512M ./cron.php

or actually what I was initially after …

me@server:/var/www/nextcloud$ sudo -u www-data php -d memory_limit=-1 ./occ db:add-missing-indices

A very frustrating experience. Now to deal with the “A background job is pending that checks for user imported SSL certificates” problem
and this
Try to enable 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 the memory didn't get filled anymore.
 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
2,767
i only found memory_limit, memory_size inside php.ini cannot found.
Yes, my bad. Use that if you have not already.
 

Patrick M. Hausen

Dedicated Sage
Joined
Nov 25, 2013
Messages
2,767
PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted
It says that it needs more than 1G. My Nextcloud installation is running fine with 1024M. Try 2G ...
 
Top