After updating to 21.0.0, the occ upgrade command failed to memory allocation. When disabling php memory limit nextcloud will eat up all the memory (tested with 16G of ram and it eat it all).
Are you still experiencing this? I ran into this at some point, but it disappeared. Tried both 7.4 and 8.0 and cannot replicate at the moment.
I test a simple reinstall with nextcloud-php74 (going from an older nextcloud-php73 version 20.0.4 [I had to use a backup of the software]) and I get the same kind of error. PHP Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 528384 bytes) in /usr/local/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php on line 133
Had the same issue. Do you have APCu enabled? If so you need to enable it also for CLI in your php-config. In /usr/local/etc/php/ext-20-apcu.ini add following: apc.enable_cli=1 That fixed it for me but no user can login anymore after the upgrade.
MARKED AS SPAM
(In reply to niqck from comment #3) Thank you! That fixed the upgrade issues for me.
(In reply to niqck from comment #3) Thank you, after applying this settings I no longer have this issue