Skip to content

New install of Piwik 2.16.1 incorrectly reports Tracker Status 500 "GET request to piwik.php failed." #10283

@richb-hanover

Description

@richb-hanover

Installing Piwik 2.16.1 on Ubuntu 14.04.4 LTS. It's my own VPS (with root access). (This is information from https://forum.piwik.org/t/new-install-of-piwik-2-16-1-receive-get-request-to-piwik-php-failed/20115/1)

I am stuck at the System Check page that displays the message above (screen shot below). Here is my installation process:

I then connect to my host in my browser to start the web-based installation. I get to the System Check page and see the 500 Error for Tracker Status with the "GET request to piwik.php failed." message.

I do not have HTTP Authentication or mod_security running on this host (at least, none of the other virtual hosts see these errors.) Further troubleshooting:

  • When I browse to my site http://example.com/piwik.php, I get a 500 Server error
  • The error.log file contains the message below.
  • There is no file named /var/www/piwik/config/config.ini.php (consistent with error.log message below)
  • There is a file named /var/www/piwik/config/global.ini.php.

Any thoughts?

Relevant line from error.log file

[Thu Jul 07 08:57:54.337334 2016] [:error] [pid 28290] [client 64.222.236.200:60707] PHP Fatal error: Uncaught exception 'Exception' with message 'The configuration file {/var/www/piwik/config/config.ini.php} has not been found or could not be read.' in /var/www/piwik/core/Application/Kernel/EnvironmentValidator.php:63\nStack trace:\n#0 /var/www/piwik/core/Application/Kernel/EnvironmentValidator.php(44): Piwik\\Application\\Kernel\\EnvironmentValidator->checkConfigFileExists('/var/www/piwik/...', false)\n#1 /var/www/piwik/core/Application/Environment.php(185): Piwik\\Application\\Kernel\\EnvironmentValidator->validate()\n#2 /var/www/piwik/core/Application/Environment.php(94): Piwik\\Application\\Environment->validateEnvironment()\n#3 /var/www/piwik/piwik.php(56): Piwik\\Application\\Environment->init()\n#4 {main}\n thrown in /var/www/piwik/core/Application/Kernel/EnvironmentValidator.php on line 63

Screen shot of the error message on the System Check page

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFor errors / faults / flaws / inconsistencies etc.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions