FAQ: How do I fix the errors “Unable to write in the cache directory” or “The directory matomo/tmp/cache/*” is not writable.”?
…own the files in this directory (replace www-data by the web server username, sometimes called apache): sudo chown -R www-data:www-data /var/www/html/matomo/tmp/* If your server is running SELinux or CentOS, you…