Fresh Piwik installation is missing any design

Hi together

After reinstalling a server and installing a fresh Version (3.0.3 ) of piwik the design behaves very strange. It seems that all *.css files do not work.

It startet at the very beginning of the installation. First I thought “ok … let’s give it a try anyway, it will be all right after installation”, but … nope.

Piwik is the only piece of software beaving weird on this server.: drupal, tine, mantis etc. run perfectly normal …

Thanks for helping,

What I tried:

  • Using different browsers/computers
  • Delete and reinstall
  • Re-down- and upload all files again with reinstall.


  • Ubuntu 16.04
  • PHP 7.0.15
  • MYSQL 5.7
  • Plesk 17 (Onyx)


I am pretty sure this happens because you are using an adblocker that is blocking piwik. Just disable it on your site.

If this isn’t the case check the console and Troubleshooting - Analytics Platform - Piwik

Hi Findus23

Thanks for your reply. Unfortunately it doesn’t help:

  • Adblocker are not running
  • max_exec is set to “60”
  • Just in case I added “disable_merged_assets = 1” to the config.ini.php

Then can you look into your browsers developer tools and check if there are errors in the console or failed HTTP requests in the network tab.

@summerson, were you able to solve it?

unfortunatly not. On saturday I sent a support request to my provider - hope to get help soon.

Except of one not defined JS variable everything seems to run fine.

Except of one not defined JS variable everything seems to run fine.

Are you sure? Can you check the network tab of the browsers developer tools? There has to be a request that is failing and it would be really useful to now what error it is showing.

e.g. similar to this one:

Maybe try it in chrome or firefox if you are using another browser.

Or if your site is public, message me the URL, so I can look at it.

Nope. Seems to be fine:

By the way: Are you german


I am running out of ideas what can cause the browser to not even attempt to request the js/css files.

Pretty close, I am from Austria. :slight_smile:


So … let’s switch to german or is it better to write english in this board?

One more thing I found. On some pages I find the following line:

Oops… während der Anfrage ist ein Problem aufgetreten. Möglicherweise war der Server temporär überlastet, oder eventuell haben Sie einen Bericht mit zu vielen Daten angefordert. Bitte noch einmal versuchen. Wenn dieser Fehler wiederholt auftritt kontaktieren Sie bitte Ihren Piwik Administrator, um Unterstützung zu erhalten.


I don’t mind writing in English (and maybe someone else has an idea than me)

The error message sounds like the text for a 5xx error. I guess you are one a shared hoster. Is it maybe possible for you to look into the php logs? Maybe they can shed some light on the situation.

If you are able to install the LogView Plugin it may also help (How do I view Piwik application logs? - Analytics Platform - Piwik)

It’s a dedicated server - I have some vhosts installed, but each of them has full system/resource access.

I was able to install the log view … but nothing it showes me nothing

What version of nginx you use ?
Have seen the log ?

nginx 1.11.10-ubuntu16.04.17040416

Log view plugin shows nothing.
error.log shows no relevant problems

Additional, maybe usefull information:
Piwik itself works; I can see all logging events in the db …

what do you have in your nginx.conf ?
Maybe it´s some configuration…

Here it is:

#user  nginx;
worker_processes  1;
#error_log  /var/log/nginx/error.log;
#error_log  /var/log/nginx/error.log  notice;
#error_log  /var/log/nginx/error.log  info;

#pid        /var/run/;

include /etc/nginx/modules.conf.d/*.conf;

events {
    worker_connections  1024;

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';

    #access_log  /var/log/nginx/access.log  main;

    sendfile        on;
    #tcp_nopush     on;

    #keepalive_timeout  0;
    keepalive_timeout  65;
    #tcp_nodelay        on;

    #gzip  on;
    #gzip_disable "MSIE [1-6]\.(?!.*SV1)";

    server_tokens off;

    include /etc/nginx/conf.d/*.conf;

# override global parameters e.g. worker_rlimit_nofile
include /etc/nginx/*global_params;

this is my nginx.conf:

user www-data;
worker_processes 8;

#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;

pid /apps/nginx/run/;

events {
worker_connections 4096;

http {
include mime.types;
default_type application/octet-stream;

#log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
#                  '$status $body_bytes_sent "$http_referer" '
#                  '"$http_user_agent" "$http_x_forwarded_for"';

access_log  off;

sendfile        on;
#tcp_nopush     on;

client_body_buffer_size 10K;
client_header_buffer_size 1k;
client_max_body_size 16m;
large_client_header_buffers 2 2k;

proxy_cache_path /var/lib/nginx/cache levels=1:2 keys_zone=backcache:128m max_size=512m;
proxy_cache_key "$scheme$request_method$host$request_uri$is_args$args";
proxy_cache_valid 200 302 10m;
proxy_cache_valid 404 1m; 
proxy_http_version 1.1;
proxy_set_header Connection "";

client_body_timeout 12;
client_header_timeout 12;
keepalive_timeout 15;
send_timeout 10;
keepalive_requests 100000;	

gzip  on;
gzip_comp_level  2;
gzip_min_length  1000;
gzip_proxied     expired no-cache no-store private auth;
gzip_types       text/plain application/x-javascript text/xml text/css application/xml;

server {
    listen       8080;
    server_name  *********;

    #charset koi8-r;

    #access_log  logs/host.access.log  main;

    location / {
        root   /apps/nginx/etc/sites-available/piwik;
        index  index.php index.html index.htm;
		client_max_body_size 300m;
        client_body_buffer_size 128k;
        proxy_connect_timeout 300;
        proxy_read_timeout 300;
        proxy_send_timeout 600;
        proxy_buffer_size 64k;
        proxy_buffers   4 32k;
        proxy_busy_buffers_size 64k;
        proxy_temp_file_write_size 64k;

Ok … little bit more stuff :wink:

I will test what happenes if I just copy some of your lines in my .conf file