CSS not working after login (reinstall instance from existing one)

Hi!

I reinstall my Nextcloud instance few days ago.
For that, I save all my previous database and files, copy them to another computer, then relaunch everything.

Now it’s working, for example my contacts are correctly synchronized with server, same for files, etc. But when I try to log in the website, I have a CSS issue.

This is the page after login:

In my nextcloud.log, I got some message in every page refresh:

{“reqId”:“HJRmvKUIcnKOZl7GDLVb”,“level”:2,“time”:“2017-11-30T10:46:52+00:00”,“remoteAddr”:“x.x.x.x”,“user”:“user”,“app”:“core”,“method”:“GET”,“url”:“/apps/files/”,“message”:“Failed to compile and/or save /srv/webapps/nextcloud/core/css/server.scss”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0”,“version”:“12.0.3.3”}
{“reqId”:“HJRmvKUIcnKOZl7GDLVb”,“level”:3,“time”:“2017-11-30T10:46:52+00:00”,“remoteAddr”:“x.x.x.x”,“user”:“user”,“app”:“cssresourceloader”,“method”:“GET”,“url”:“/apps/files/”,“message”:“Could not find resource css/server.css to load”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0”,“version”:“12.0.3.3”}
{“reqId”:“HJRmvKUIcnKOZl7GDLVb”,“level”:2,“time”:“2017-11-30T10:46:52+00:00”,“remoteAddr”:“x.x.x.x”,“user”:“user”,“app”:“core”,“method”:“GET”,“url”:“/apps/files/”,“message”:“Failed to compile and/or save /srv/webapps/nextcloud/core/css/share.scss”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0”,“version”:“12.0.3.3”}
{“reqId”:“HJRmvKUIcnKOZl7GDLVb”,“level”:3,“time”:“2017-11-30T10:46:52+00:00”,“remoteAddr”:“x.x.x.x”,“user”:“user”,“app”:“cssresourceloader”,“method”:“GET”,“url”:“/apps/files/”,“message”:“Could not find resource core/css/share.css to load”,“userAgent”:“Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/57.0”,“version”:“12.0.3.3”}

Do you have any idea of what can goes wrong? As I said, base feature are working like sync, but this is still an issue.

Thank you in advance for helping! :slight_smile:

Hello,
I had the same issue (reported here: https://github.com/nextcloud/server/issues/7905)

After some investigation, it turns out that the “Theming” application in nextcloud breaks the main stylesheet on firefox (it works on chromium)

Your logs are slightly different, but it may be useful to try disabling it if you don’t absolutely need it

Hello,
I had the same problem and I solved it with :
sudo -u www-data php /var/www/nextcloud/occ app:disable theming
As mentioned above.
Thanks.

for me the problem was (seemingly) solved by updating the mail app