Nextcloud in maintance after update

Leonard Lassen

Explorer
Joined
Nov 19, 2020
Messages
82
Hello, everybody.
I have in Truenas a Nextcloud plugin running which I wanted to update via the GUI. NAch the update I had to macehn the update also in the browser. However, an error occurred, on which Nextcloud went into maintenance mode and I get them from this with update also not merh out.

the following I have already tried. But to no avail. Can someone tell me exactly what to do or what the problem is?

Code:
iocage console nextcloud

cd /usr/local/www/nextcloud

su -m www -c "/usr/local/bin/php occ maintenance:mode --off"


and then the update cmd

su -m www -c "/usr/local/bin/php occ upgrade"


after that i get the following

root@nextcloud:/usr/local/www/nextcloud # su -m www -c "/usr/local/bin/php occ upgrade"

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


best regards Leonard
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Try increasing the memory_limit parameter in /usr/local/etc/php.ini.
 

Leonard Lassen

Explorer
Joined
Nov 19, 2020
Messages
82
Do you mean this?
Memory Limit.PNG
 
Top