After having updated Matomo (old name: Piwik) to the current version 4.8.0, many of the dashboard widgets did not show up anymore and instead showed an error message:
Oops... there was a problem during the request. Maybe the server had a temporary issue, or maybe you requested a report with too much data. Please try again. If this error occurs repeatedly please contact your Matomo administrator for assistance.
Unfortunately Matomo does not write logs which would show what exactly this error causes. No PHP errors were logged either (using Apache error log).
At the end it turned out to be an issue with file permissions. Certain files were not writeable by the www-data user. They can be quickly identified using find:
ck@webserver:/var/www/piwik# find . ! -user www-data
Note: Depending on your setup, the user "www-data" might be different. Make sure you use the user under which the PHP process will run on.
Clearly a couple of files are not owned by www-data, which should not be the case. Make sure the whole Matomo directory (/var/www/piwik here) is owned by www-data:
root@webserver:/var/www/piwik# chown -R www-data:www-data /var/www/piwik/
Right after this and a refresh of the dashboard, the widgets correctly loaded again:
No comments yet.
AWS Android Ansible Apache Apple Atlassian BSD Backup Bash Bluecoat CMS Chef Cloud Coding Consul Containers CouchDB DB DNS Database Databases Docker ELK Elasticsearch Filebeat FreeBSD Galera Git GlusterFS Grafana Graphics HAProxy HTML Hacks Hardware Icinga Icingaweb Icingaweb2 Influx Internet Java KVM Kibana Kodi Kubernetes LVM LXC Linux Logstash Mac Macintosh Mail MariaDB Minio MongoDB Monitoring Multimedia MySQL NFS Nagios Network Nginx OSSEC OTRS Office PGSQL PHP Perl Personal PostgreSQL Postgres PowerDNS Proxmox Proxy Python Rancher Rant Redis Roundcube SSL Samba Seafile Security Shell SmartOS Solaris Surveillance Systemd TLS Tomcat Ubuntu Unix VMWare VMware Varnish Virtualization Windows Wireless Wordpress Wyse ZFS Zoneminder