Quantcast
Channel: Piwik Forums - Support & Bugs
Viewing all articles
Browse latest Browse all 4243

Cache Directory Issues on New Install (no replies)

$
0
0
Hi all,

I haven't used Piwik in a very long time but I have come back to it a couple of days ago but I have been stuck trying to install it. When I initially download and extract the files I get the following error:

Quote

Piwik couldn't write to some directories (running as user 'www-data').

Try to Execute the following commands on your server, to allow Write access on these directories:

chown -R www-data:www-data /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp/assets/
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp/cache/
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp/logs/
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp/tcpdf/
chmod -R 0755 /var/www/vhosts/xxxxxxx/xxxxxxx.co.uk/httpdocs/piwik/tmp/templates_c/
If this doesn't work, you can try to create the directories with your FTP software, and set the CHMOD to 0755 (or 0777 if 0755 is not enough). To do so with your FTP software, right click on the directories then click permissions.

So I follow the instructions and then I come across another issue:

Quote

Unable to create the cache directory (/var/www/vhosts/xxxxxxxxx/xxxxxxxxx.co.uk/httpdocs/piwik/tmp/templates_c/c7/fa).

and I am stumped as to where to go next. Server info:

Linux 2.6.32-042stab090.5 i686

PHP version: 5.5.9-1ubuntu4.3
MySQL version: 5.5.38
Apache version: 2.4.7 (Ubuntu)
Ubuntu 14.04

Viewing all articles
Browse latest Browse all 4243

Trending Articles