NextCloud Crash after update to version 12

Hi,

After the update to Nextcloud12 i’m unable to use it due to a enormous memory allocation by
SCSSCacher.php.

Below the error:
FastCGI sent in stderr: “PHP message: PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 140529990328352 bytes) in /var/www/html/xxxxx/lib/private/Template/SCSSCacher.php on line 264” while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: xxx.xxx.xxx request: “GET /apps/gallery/ HTTP/1.1”, upstream: “fastcgi://127.0.0.1:9000”, host: “xxx.xxx.xxx.xxx”.

Anyone get the same error ?

Yes, I have the same error! on my server as I post here with details https://help.nextcloud.com/t/cron-php-consumes-up-to-14gb-ram-memory-and-mysql-oc-filecache-up-to-17gb-disk-space/12923

And on a new fresh installed nextcloud 11 ubuntu 16.04 LTS.

No clue!

@juliushaertl @rullzer Any ideas? :slight_smile:

:open_mouth: I’ve no idea how this can cause a memory exhaution. The array used in the SCSSCacher should just contain some short strings as it is build in here: https://github.com/nextcloud/server/blob/master/apps/theming/lib/ThemingDefaults.php#L187-L218

I have the same problem after updating to 12!

"reqId":"WT@ByRkfzk-3c68THl2B9wAAAAY","level":3,"time":"2017-06-13T06:10:17+00:00","remoteAddr":"192.168.1.35","user":"da5142ee-96a3-1036-9809-f98d50bc924d","app":"PHP","method":"GET","url":"\/index.php\/apps\/files\/","message":"Allowed memory size of 25769803776 bytes exhausted (tried to allocate 139703268084384 bytes) at \/shared\/nextcloud\/lib\/private\/Template\/SCSSCacher.php#264","userAgent":"Mozilla\/5.0 (X11; Linux x86_64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.98 Safari\/537.36","version":"12.0.0.29"}

There is a new report: Nextcloud doesn't work after upgrade from 11 to 12.0.0