Can't find tmp folder to complete install


#1

I just started installing Piwik, when I got a message to use the following commands:


chown -R web:web /home/public
chmod -R 0755 /home/public/tmp
chmod -R 0755 /home/public/tmp/assets/
chmod -R 0755 /home/public/tmp/cache/
chmod -R 0755 /home/public/tmp/logs/
chmod -R 0755 /home/public/tmp/tcpdf/
chmod -R 0755 /home/public/tmp/templates_c/

I ran the first one, but was unable to run the rest because there is no tmp folder. When I run ls, this is what the ssh terminal showed for folders:


CHANGELOG.md                    index.php
CONTRIBUTING.md                 js
How to install Piwik.html       lang
LEGALNOTICE                     libs
README.md                       misc
SECURITY.md                     piwik.js
bower.json                      piwik.php
composer.json                   piwik.zip
composer.lock                   plugins
config                          tests
console                         vendor
core

Any idea why there is no tmp folder? How can I install Piwik then?

I’m running Apache.


#2

Just create that missing “tmp” folder within the Piwik install directory on your server. Give it 777 permissions.


(Matthieu Aubry) #3

Hi there

Any idea why there is no tmp folder? How can I install Piwik then?

Yes it was a bug in Piwik that we deleted the tmp/ folder without noticing. it will be restored in next version