Installation problem

I am trying to setup Piwik for the first time.

I am running CentOS 5.5 with Plesk version 10.

I do not want to use the Plesk Installer which has an exceptionally outdated version of Piwik (v1.1.1).

I have downloaded and unzipped Piwik at the command line on the server.

When I attempt to run the installer, I get his message:


chown -R www-data:www-data /var/www/vhosts/gobdg.org/piwik
chmod -R 0755 /var/www/vhosts/gobdg.org/piwik/tmp
chmod -R 0755 /var/www/vhosts/gobdg.org/piwik/tmp/templates_c
chmod -R 0755 /var/www/vhosts/gobdg.org/piwik/tmp/cache
chmod -R 0755 /var/www/vhosts/gobdg.org/piwik/tmp/assets
chmod -R 0755 /var/www/vhosts/gobdg.org/piwik/tmp/tcpdf

None of these commands work, because as the instructions note, these folders do not yet exist and need to be created. However, the very first command does not work either, because there is no user www-data under Centos 5.5 running Plesk. If I try using apache:apache instead (which was my guess as to what to use instead), that gets me as far as the first install screen.

After I click Next in order to begin the install process, I get a blank page with no error. If I try to go back to the first install screen, that too is blank and will not load. I need to wipe out the install and start fresh in order just to get back to the same place. I therefore cannot even get far enough to see what is failing in the install process.

There is nothing in the instructions to help address this problem.

can you try

chown -R apache:apache /var/www/vhosts/gobdg.org/piwik/tmp etc from your list

I sometimes had issues where i had to make the folder access to 777 via cpanel file manager to make install work.

I had done a chown -R apache:apache * across everything in the folder, which is what had yielded said results.

ok then i would in cpanel file manager manually change the folder permissions to apache apache.as well once you run the updae and se permission errors try to 777 them via cpanel as well.

when you tried to chown and chmod what user were you logged in as via the shell?

I’m not using CPanel, I’m using Plesk. And why would I change the folder permissions in the file manager when I’m working via SSH and can easily change permissions using chmod?

Cpanel was my problem, i found even though i was using ssh i had to adjust user setting via file manager from time to time.

I am now on parallels 11.0.9 you may want to update yours. What version of php do you have running in apache now?

5.3

Hi - I am having exactly the same issue and have no permission issues - I have tried it both a local machine and a full plesk server… I meet all the requirements but like Daniel I get a blank white screen as soon as I press NEXT and if I cannot go back - I have to delete the folders / files created (when i press NEXT) to see the setup screen again

Help! please

Would you gents happen to be using Hostgator? If so there is a post

http://forum.piwik.org/read.php?2,93407

It deals with whitelisting your domain.

Also how much memory do you have set on php.ini? i recommend at least 128M to 256M

*Hostgator, that is.

Hi - no not using Hogstar - have tried on a clean xampp and a plesk server - memoryy settings are ok

Hmm im stumped, can you find any error logs to see if it can help troubleshoot?

Will have a look - thanks

I’m on a Media Temple dedicated virtual server, not Hostgator.

This is all that appears in my error log:


[Mon Nov 26 15:00:27 2012] [error] [client 69.193.111.43] PHP Warning:  phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /var/www/vhosts/gobdg.org/piwik/info.php on line 1
[Mon Nov 26 15:00:27 2012] [error] [client 69.193.111.43] File does not exist: /var/www/vhosts/gobdg.org/piwik/favicon.ico
[Mon Nov 26 15:00:41 2012] [error] [client 69.193.111.43] PHP Warning:  phpinfo(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /var/www/vhosts/gobdg.org/piwik/info.php on line 1
[Mon Nov 26 15:00:42 2012] [error] [client 69.193.111.43] File does not exist: /var/www/vhosts/gobdg.org/piwik/favicon.ico
[Mon Nov 26 15:03:51 2012] [error] [client 69.193.111.43] Directory index forbidden by Options directive: /var/www/vhosts/gobdg.org/piwik/
[Mon Nov 26 15:03:51 2012] [error] [client 69.193.111.43] File does not exist: /var/www/vhosts/gobdg.org/piwik/favicon.ico

Would you happen to be upgrading from an earlier version of piwik? If so could you turn off your geoip plugin first then try to upgrade?

Something else if you have an .htaccess file make sure it captures the correct absolute path to where piwik is.(remeber you will be vhostig it)

after some debugging the issue seems to be in the following line in core/Loader.php

if (file_exists(dirname(FILE)."/lic.log")) exit;

the code forces the exit and execution simply stops

ah ok you have a currupted version of teh piwik archive…

please re download it again and try the install that should do it.

thanks - will try this - just downloaded it last night!