@netsetter opened this Issue on October 27th 2014

Running this command:

/usr/bin/php -f /var/www/vhosts/example/httpdocs/_statistics/console core:archive --force-all-websites --force-all-periods=315576000 --force-date-last-n=1000 --url=http://example.com/_statistics/

Gives this error:

INFO CoreConsole[2014-10-24 12:22:26] [622ae] ---------------------------
INFO CoreConsole[2014-10-24 12:22:26] [622ae] INIT
INFO CoreConsole[2014-10-24 12:22:26] [622ae] Piwik is installed at: https://example.com/_statistics/index.php
INFO CoreConsole[2014-10-24 12:22:26] [622ae] Running Piwik 2.8.3 as Super User
ERROR CoreConsole[2014-10-24 12:22:27] [622ae] The Piwik URL https://example.com/_statistics/index.php does not seem to be pointing to a Piwik server. Response was '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /_statistics/index.php was not found on this server.</p> </body></html>'. 

Worked before Piwik < 2.8
No changes were made in server configuration.
Viewing by browser, the url shows me the login / dashboard screen, so it exists.
Check the end of the error message, seems it's missing the correct (full) path to the server directory or just the domain name, perhaps this helps somehow to allocate the issue.
Or could the underscore in the folder name be a problem?

@mattab commented on October 28th 2014 Owner

Hi there, I don't think it's a Piwik issue. On your server can you try lynx https://example.com/_statistics/index.php it should show the login screen. it seems it's currently returning 404 error.

@netsetter commented on October 28th 2014

Yes, lynx on this server also says "not found" while Browsers like Firefox and all others are displaying the login screen.

When I run lynx from another server, it also shows me the login screen.

Any idea where I could have a look to fix?

@mattab commented on October 28th 2014 Owner

@netsetter this is not a piwik issue. Somehow your server should be able to load the Piwik URL. I'm not sure what could cause this as it depends on the setup. Please ask sysadmin for more info

@netsetter commented on November 7th 2014

Just wanted to let you know: I've upgraded Piwik now to 2.9.0 b7 and it's working again. Did not change anything in server setup.

@mattab commented on November 10th 2014 Owner

Good to hear @netsetter

This Issue was closed on October 28th 2014
Powered by GitHub Issue Mirror