Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Piwik URL does not seem to be pointing to a Piwik server #6525

Closed
netsetter opened this issue Oct 27, 2014 · 5 comments
Closed

The Piwik URL does not seem to be pointing to a Piwik server #6525

netsetter opened this issue Oct 27, 2014 · 5 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@netsetter
Copy link

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
Copy link
Member

mattab commented Oct 28, 2014

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.

@mattab mattab added Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended. labels Oct 28, 2014
@netsetter
Copy link
Author

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 mattab closed this as completed Oct 28, 2014
@mattab
Copy link
Member

mattab commented Oct 28, 2014

@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
Copy link
Author

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
Copy link
Member

mattab commented Nov 10, 2014

Good to hear @netsetter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants