Nextcloud 21 upgrade error

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 problem: PHP_MEMORY_LIMIT environment variable is not set in user context www-data solution: sudo -u www-data...
en_USEnglish