Skip to content

Error during installation: The directory "/var/www/html/piwik/tmp/cache/tracker/" is not writable. #8918

@nmstoker

Description

@nmstoker

Hello,

I believe the CentOS server I'm using is correctly set up for Piwik (eg got the necessary PHP and MySQL requirements etc etc). I unzipped the file from http://builds.piwik.org/piwik.zip just earlier today (05-Oct-2015) into a directory /piwik in /var/www/html/.

However when I go to the server's URL for piwik, I get the error message in the title:

The directory "/var/www/html/piwik/tmp/cache/tracker/" is not writable.

I've checked the error log (in /var/log/httpd/error_log) and it shows the same error message.

My immediate thought was that file ownership or permissions were wrong, so I set about fixing that - although initially there was no directory /cache/tracker within /tmp, so I created that. I did the following commands (after creating the tracker directory):

sudo chmod -R 0755 piwik/
sudo chown apache:apache -R piwik/

and restarted Apache, but to no avail.

I also set the tracker directory to 777 (not that I want to leave it that way) and that didn't make any difference. I also confirmed that Apache is indeed running with the user and group of "apache" (just in case there was something unexpected, but there wasn't).

What are the next steps to try? Or where else should I look for any more diagnostic information?

Many thanks,
Neil

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions