Data Whimsy
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum

File permissions

2/19/2024

0 Comments

 
Errors which say Something happened, Unable to create, or Unable to write are caused by lack of permission. Your server user-name is usually www-data or sometimes apache.

To fix this error do all of the steps, in order.
  1. Which server do you use: Apache, Nginx, Windows? Please find the configuration file. See what "user name" it runs things as. You can discover this by searching the web server config file for "user" and "group". Confirm that it is www-data. Or go list your files to see the group name and owner name ls -l /var/www/html/matomo/tmp
  2. sudo chown -R www-data:www-data /var/www/html/matomo # I am assuming www-data was found in Step 1
  3. sudo find /var/www/html/matomo/tmp -type f -exec chmod 644 {} \;
  4. sudo find /var/www/html/matomo/tmp -type d -exec chmod 755 {} \;
  5. sudo find /var/www/html/matomo/tmp/assets -type f -exec chmod 644 {} \;
  6. sudo find /var/www/html/matomo/tmp/assets -type d -exec chmod 755 {} \;
  7. sudo find /var/www/html/matomo/tmp/assets -type f -exec chmod 644 {} \;


0 Comments



Leave a Reply.

    Troubleshooting + Deploying Matomo

    Archives

    December 2024
    July 2024
    April 2024
    March 2024
    February 2024
    November 2023
    October 2023

    Categories

    All

Powered by Create your own unique website with customizable templates.
  • Home
  • What is Matomo
  • Contact
  • Custom Reports
  • Connect Matomo to other software
  • CLI API etc
  • Matomo Tag Manager Simple Guide
  • Lyn Only
  • Troubleshooting + Deploying Matomo
  • Weird Data
  • Why is data in Matomo giving different numbers than Google Analytics
  • The Dashboard
  • Moving the Data
  • Book Club Forum