I just finished install NC13 on ubuntu and all went well. However the UI seems broken. I’ve already try to disable theming and enable it back but it does not solve the problem. I’m so new to this please advice.
Nextcloud version 13.0.12.1
Operating system and version Ubuntu 16.04)
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2019-04-03T13:34:47
PHP version 7.2
The issue you are facing:
UI broken (Refer to screenshot)
Here are some logs that i found for this issue. Please advice.
The output of your Nextcloud log in Admin > Logging:
{“reqId”:“DlkR1TYDKh4veFDsQYSv”,“level”:3,“time”:“2019-05-05T01:41:22+08:00”,“remoteAddr”:“60.52.108.4”,“user”:“nextcloudadmin”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/apps/files/",“message”:“Invalid argument supplied for foreach() at /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php#160”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36”,“version”:“13.0.12.1”}
{“reqId”:“DlkR1TYDKh4veFDsQYSv”,“level”:3,“time”:“2019-05-05T01:41:22+08:00”,“remoteAddr”:“60.52.108.4”,“user”:“nextcloudadmin”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/apps/files/",“message”:“Invalid argument supplied for foreach() at /var/www/html/nextcloud/lib/private/Template/SCSSCacher.php#160”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36”,“version”:“13.0.12.1”}
SCSSCacher.php#160" <—Below is the line for this file.
foreach ($deps as $file=>$mtime) {
if (!file_exists($file) || filemtime($file) > $mtime) {
return false;
hey… i dunno anything about your problems… but this just caught my eyes… dbhost asks for your host dpport asks for your port
you inserted all of the information under dbhosts… but i think it should be
‘dbhost’ => ‘localhost’,
‘dbport’ => ‘3306’,
plus: I’m not sure if entering an IP would be valid unter trusted domains… could happen that it has to be a full URL.
plus: overwrite.cli.url should not feature a http, i guess.
please refer to the manual for correct settings.
and last but not least: why do you install a more or less almost almost outdated version of nextcloud. if this is really a new installation why don’t you take nc15 or even nc16? where nc15 is really stable now.
{“reqId”:“S5pNVz98SRAIvnS4lZkC”,“level”:3,“time”:“2019-05-06T12:50:46+08:00”,“remoteAddr”:“175.136.131.243”,“user”:“nextmaster”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/core/preview?fileId=593&x=32&y=32",“message”:“imagecreatefromstring(): Data is not in a recognized format at /var/www/html/nextcloud/lib/private/legacy/image.php#622”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0”,“version”:“16.0.0.9”}
{“reqId”:“84KtODhOMjMl8DFikxmF”,“level”:3,“time”:“2019-05-06T12:50:46+08:00”,“remoteAddr”:“175.136.131.243”,“user”:“nextmaster”,“app”:“PHP”,“method”:“GET”,“url”:"/nextcloud/index.php/core/preview?fileId=590&x=32&y=32",“message”:“imagecreatefromstring(): Data is not in a recognized format at /var/www/html/nextcloud/lib/private/legacy/image.php#622”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0”,“version”:“16.0.0.9”}
/var/log/nextcloud.log
umm… have you installed any apps?
does that happen right after first login with a fresh installation?
would you mind trying a fresh installation using nc15 (only to be sure that its no bug in nc16)?
I managed to solve the issue. I forgot to change the server name on my apache setting.
<VirtualHost *:80>
ServerAdmin admin@example.com
DocumentRoot /var/www/html/nextcloud/
ServerName test.net.com <— This part
ServerAlias www.test.net.com <— This part
Alias /nextcloud “/var/www/html/nextcloud/”