Nextcloud doesn't work after upgrade from 11 to 12.0.0

Hello,

Nextcloud version: 12.0.0
Operating system and version : Centos77
Apache or nginx version : Apache
PHP version: 7
Is this the first time you’ve seen this error?: Yes

The issue you are facing:

my nextcloud instance doesn’t work after upgrade from 11 to 12.0.0. Everytime when i want to open Nextclud i get the message that nextcloud doesn’t response,

The output of your Nextcloud log in Admin > Logging:

Allowed memory size of 536870912 bytes exhausted (tried to allocate 140613082732088 bytes) at /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php#264

Leafo\ScssPhp\Exception\ParserException: parse error: failed at $: '1';: '';$: '';$: 'https://nextcloud.*********.de/core/img/logo.svg?v=1';$: 'https://nextcloud.*********.de/core/img/background.jpg?v=1';$: false;@import "share.scss"; (stdin) on line 1 in /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Parser.php:128 Stack trace: #0 /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Parser.php(169): Leafo\ScssPhp\Parser->throwParseError() #1 /var/www/html/nextcloud/3rdparty/leafo/scssphp/src/Compiler.php(186): Leafo\ScssPhp\Parser->parse(’@import "variab…’) #2 /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php(213): Leafo\ScssPhp\Compiler->compile(’@import "variab…’) #3 /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php(112): OC\Template\SCSSCacher->cache(’/var/www/html/n…’, ‘share.css’, ‘share.scss’, Object(OC\Files\SimpleFS\SimpleFolder), ‘core/css’) #4 /var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php(99): OC\Template\SCSSCacher->process(’/var/www/html/n…’, ‘core/css/share…’, ‘core’) #5 /var/www/html/nextcloud/lib/private/Template/CSSResourceLocator.php(55): OC\Template\CSSResourceLocator->cacheAndAppendScssIfExist(’/var/www/html/n…’, ‘core/css/share…’, ‘core’) #6 /var/www/html/nextcloud/lib/private/Template/ResourceLocator.php(75): OC\Template\CSSResourceLocator->doFind(‘core/css/share’) #7 /var/www/html/nextcloud/lib/private/TemplateLayout.php(225): OC\Template\ResourceLocator->find(Array) #8 /var/www/html/nextcloud/lib/private/TemplateLayout.php(170): OC\TemplateLayout::findStylesheetFiles(Array) #9 /var/www/html/nextcloud/lib/private/legacy/template.php(205): OC\TemplateLayout->__construct(‘user’, ‘activity’) #10 /var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php(157): OC_Template->fetchPage() #11 /var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php(113): OCP\AppFramework\Http\TemplateResponse->render() #12 /var/www/html/nextcloud/lib/private/AppFramework/App.php(114): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Activity\Controller\Activities), ‘showList’) #13 /var/www/html/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main(‘ActivitiesContr…’, ‘showList’, Object(OC\AppFramework\DependencyInjection\DIContainer), Array) #14 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array) #15 /var/www/html/nextcloud/lib/private/Route/Router.php(299): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array) #16 /var/www/html/nextcloud/lib/base.php(1000): OC\Route\Router->match(’/apps/activity/’) #17 /var/www/html/nextcloud/index.php(40): OC::handleRequest() #18 {main}

Failed to compile and/or save /var/www/html/nextcloud/core/css/share.scss

Could not find resource core/css/share.css to load

The output of your config.php file in /path/to/nextcloud:

<?php $CONFIG = array ( 'instanceid' => '******', 'passwordsalt' => '**********', 'secret' => '**************', 'trusted_domains' => array ( 0 => 'nextcloud.*******.de', ), 'datadirectory' => '/var/www/html/nextcloud/data', 'overwrite.cli.url' => 'https://nextcloud.'******'******'.de', 'dbtype' => 'mysql', 'version' => '12.0.0.29', 'dbname' => ''******'', 'dbhost' => 'localhost', 'dbport' => '', 'dbtableprefix' => 'oc_', 'dbuser' => ''******'', 'dbpassword' => ''******'******''******'', 'logtimezone' => 'UTC', 'installed' => true, 'memcache.local' => '\\OC\\Memcache\\APCu', 'maintenance' => false, 'theme' => '', 'loglevel' => 2, 'mail_smtpmode' => 'smtp', 'mail_from_address' => 'noreply', 'mail_domain' => ''******'-'******'.de', 'mail_smtpsecure' => 'tls', 'mail_smtpauthtype' => 'LOGIN', 'mail_smtpauth' => 1, 'mail_smtphost' => ''******'.'******'.net', 'mail_smtpport' => '25', 'mail_smtpname' => 'noreply@'******'******'.de', 'mail_smtppassword' => '******', 'updater.release.channel' => 'beta', 'updater.secret' => '$2y$10$'******'.0OV.'******'/re6E2.'******'', **The output of your Apache/nginx/system log in `/var/log/____`:** [Wed May 03 14:07:59.352376 2017] [core:alert] [pid 22038] [client *****:52057] /var/www/html/nextcloud/.htaccess: Unknown parameter: nosniff [Wed May 03 14:08:10.078911 2017] [authz_core:error] [pid 22006] [client *****:52057] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata [Wed May 03 14:14:56.992553 2017] [authz_core:error] [pid 22528] [client *****:52057] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata [Wed May 03 14:17:06.438031 2017] [authz_core:error] [pid 22656] [client *****:52057] AH01630: client denied by server configuration: /var/www/html/nextcloud/data/.ocdata

I thought I did read about it, and indeed I found a reference but no solution:

Please open a bug report on github.com/nextcloud/server/issues

Now my nextcloud instance work normally. I have deactivate all apps.

I only must deactivate the APP “Theming”

1 Like

Thank you for this very very very helpful tip. I searched for hours now why I get this error and you solved it :heart: