Missing css files in files app after upgrade (only scss)

I just upgraded nextcloud to v12 and the files app looks pretty broken.
It seems, that the files.css is missing, so I looked up the css folder of the files app and only see scss files, but no css files:

[root:/var/www/nextcloud/apps/files/css]# ll
total 40
-rw-r–r-- 1 www-data www-data 2335 May 22 12:47 detailsView.scss
-rw-r–r-- 1 www-data www-data 16692 May 22 12:47 files.scss
-rw-r–r-- 1 www-data www-data 96 May 22 12:47 merged.scss
-rw-r–r-- 1 www-data www-data 2052 May 22 12:47 mobile.scss
-rw-r–r-- 1 www-data www-data 4380 May 22 12:47 upload.scss

I did the upgrade in the webinterface. Permissions should all be OK, the admin interface doesn’t give any warnings, that something is missing or improperly configured…

Nextcloud version: 12.0
Operating system and version: debian jessie
Apache or nginx version: lighttpd/1.4.35
PHP version: PHP 5.6.30-0+deb8u1 with Zend OPcache v7.0.6-dev

There is nothing particularly in the log files indicating an issue.

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

My configuration:

$CONFIG = array (
‘instanceid’ => ‘oc5c117a2179’,
‘passwordsalt’ => ‘removed’,
‘forcessl’ => true,
‘filesystem_check_changes’ => 1,
‘memcache.local’ => ‘\OC\Memcache\APCu’,
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘filelocking.enabled’ => ‘true’,
‘redis’ =>
array (
‘host’ => ‘/var/run/redis/redis.sock’,
‘port’ => 0,
‘timeout’ => 0,
‘trusted_domains’ =>
array (
0 => ‘removed’,
1 => ‘removed’,
2 => ‘removed
‘datadirectory’ => ‘/var/www/nextcloud/data’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘’,
‘dbname’ => ‘nextcloud’,
‘dbhost’ => ‘localhost’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘oc_admin’,
‘dbpassword’ => ‘87d2111ad469a10d2ad651395f3754’,
‘installed’ => true,
‘default_language’ => ‘en’,
‘defaultapp’ => ‘files’,
‘knowledgebaseenabled’ => true,
‘enable_avatars’ => true,
‘allow_user_to_change_display_name’ => true,
‘remember_login_cookie_lifetime’ => 1296000,
‘session_lifetime’ => 86400,
‘session_keepalive’ => true,
‘skeletondirectory’ => ‘’,
‘mail_smtpmode’ => ‘smtp’,
‘mail_smtpname’ => ‘removed’,
‘appstoreenabled’ => true,
‘appstoreurl’ => ‘https://api.owncloud.com/v1’,
‘apps_paths’ =>
array (
0 =>
array (
‘path’ => ‘/var/www/nextcloud/apps’,
‘url’ => ‘/apps’,
‘writable’ => true,
‘asset-pipeline.enabled’ => true,
‘loglevel’ => 0,
‘check_for_working_webdav’ => true,
‘check_for_working_htaccess’ => true,
‘maintenance’ => false,
‘mail_from_address’ => ‘nextcloud’,
‘mail_domain’ => ‘removed’,
‘mail_smtpauthtype’ => ‘LOGIN’,
‘mail_smtpauth’ => 1,
‘mail_smtphost’ => ‘removed’,
‘mail_smtppassword’ => ‘removed’,
‘mail_smtpport’ => ‘25’,
‘versions_retention_obligation’ => ‘auto’,
‘appcodechecker’ => false,
‘updatechecker’ => true,
‘has_internet_connection’ => true,
‘check_for_working_wellknown_setup’ => true,
‘config_is_read_only’ => false,
‘log_type’ => ‘owncloud’,
‘logfile’ => ‘/var/log/nextcloud.log’,
‘syslog_tag’ => ‘ownCloud’,
‘enable_previews’ => true,
‘preview_max_x’ => 1024,
‘preview_max_y’ => 1024,
‘preview_max_scale_factor’ => 1,
‘preview_max_filesize_image’ => 20,
‘enabledPreviewProviders’ =>
array (
0 => ‘OC\Preview\PNG’,
1 => ‘OC\Preview\JPEG’,
2 => ‘OC\Preview\GIF’,
11 => ‘OC\Preview\Illustrator’,
12 => ‘OC\Preview\Postscript’,
13 => ‘OC\Preview\Photoshop’,
14 => ‘OC\Preview\TIFF’,
‘secret’ => ‘removed’,
‘trashbin_retention_obligation’ => ‘auto’,
‘appstore.experimental.enabled’ => true,
‘htaccess.RewriteBase’ => ‘/’,
‘updater.release.channel’ => ‘stable’,
‘updater.secret’ => ‘removed’,
‘overwrite.cli.url’ => ‘removed’,

lighttpd is known to be buggy and is officially not supported. Looks like a webserver config issue that you have to figure out on your own (maybe take a look at the nginx docs (https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html).

Forgot to mention, that since version 9 everything is working pretty fine for me using lighttpd. Why are these css files missing in the files app? Where do I get them from?

They are not missing but you need to configure your webserver correctly to serve them. For unsupported webservers there is no guarantee that things don’t break or that you have to change your config, even if everything worked on prior versions (by chance I might add :D)

Thanks Bernhard. It wasn’t just working by chance, btw.

I couldn’t find any clues in https://docs.nextcloud.com/server/12/admin_manual/installation/nginx.html about scss. Actually there is nowhere anything to be found about the requirements of serving scss.

It’s OK if you don’t want to support anything but apache+nginx but there should be the minimum requires stated. (“you have to configure correctly” isn’t very helpful there)

So: what are the requirements?
You say, “They are not missing” isn’t helpful. Actually they are missing (see ll of the files app css folder in my OP)


The CSS files are generated via the asset pipeline once they are first accessed afaik. So if they are not accessed correctly (by having a correct webserver config) then they wont be generated. I can’t go into detail here because I’m lacking the knowledge as well.

You say, “They are not missing” isn’t helpful

I have no idea how your webserver is set up nor do I have any idea about how to configure lighttpd. All I know is that its working just fine here on Apache.