Error upgrading to 2.16 - help!


#1

I just updated to 2.16 and now have this error:

An exception has been thrown during the rendering of a template (“Unable to write in the cache directory (/var/www/vhosts/piwiksurfnet.com/httpdocs/tmp/templates_c/f9).”) in “@CoreHome/getDefaultIndexView.twig” at line 2.

please help


#2

also just to clarify i did try to set tmp directory recursive to writable even though i have updated many times before with same server settings and there was not a problem. I just dont know how to fix this. Please help


#3

I suggest you simply rename the existing /tmp directory to something else, and then create a new /tmp directory and give it universal read/write/modify (0777) permissions. Piwik should create the required subdirectory structure automatically. If this works, you can delete that previously renamed /tmp directory.


#4

thank you this worked great.