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

Upgrade to 2.3.0 just broke PiWik #5251

Closed
anonymous-matomo-user opened this issue May 27, 2014 · 10 comments
Closed

Upgrade to 2.3.0 just broke PiWik #5251

anonymous-matomo-user opened this issue May 27, 2014 · 10 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. worksforme The issue cannot be reproduced and things work as intended.

Comments

@anonymous-matomo-user
Copy link

Just used the autoupdater to upgrade PiWik from 2.2.2 to 2.3.0.

The UI now displays this error:

Failed to load HTML file: Please check your server configuration. You may want to whitelist "*.html" files from the "plugins" directory. The HTTP status code is 404 for URL "plugins/Feedback/angularjs/ratefeature/ratefeature.html"

Ugh. All previous upgrades (from 1.9.x through to now) worked. Why hasn't this one?

@mattab
Copy link
Member

mattab commented May 28, 2014

Can you please try to upgrade to 2.4.0-beta2? I think this bug may be fixed: http://piwik.org/faq/how-to-update/faq_159/

@anonymous-matomo-user
Copy link
Author

No, it's not fixed. Just upgraded to 2.4.0-beta2, and it's still giving:

Failed to load HTML file: Please check your server configuration. You may want to whitelist "*.html" files from the "plugins" directory. The HTTP status code is 404 for URL "plugins/Feedback/angularjs/ratefeature/ratefeature.html"

Looking at the perms for the dir's up to there, they're all 755 so it's not a perms issue.

Ideas?

@anonymous-matomo-user
Copy link
Author

As a data point, this web server is using nginx not Apache. No idea if that has any effect for this bug.

@tsteur
Copy link
Member

tsteur commented May 29, 2014

There can me multiple reasons, for instance:

HTML files weren't used in previous versions

@mattab
Copy link
Member

mattab commented May 30, 2014

See also #5266 Serve HTML files as text/html mime type, on Apache2 web server

@mattab
Copy link
Member

mattab commented May 30, 2014

Your Piwik server should be able to serve HTML files.

Try to open the file: plugins/Feedback/angularjs/ratefeature/ratefeature.html

from your piwik server. What is logged in your nginx error log?

@anonymous-matomo-user
Copy link
Author

Our solution was to migrate off Piwik.

There is no excuse for an auto-update to break the primary purpose of the software, ever.

Closing the ticket (multiple times) without confirming things are fixed didn't help either.

@mattab
Copy link
Member

mattab commented May 30, 2014

There is no excuse for an auto-update to break the primary purpose of the software, ever.

Wrong, it did not break the primary purpose of the software, it simply displayed a notice message explaining your webserver does not serve HTML files.

We close the ticket multiple times because you did NOT search before creating your ticket. There was multiple duplicate tickets. So bye bye

@anonymous-matomo-user
Copy link
Author

Truly, I did search. Truly nothing showed up. (Trac is lousy)

Your software should check before auto-updating if this problem could happen before people are bitten by it.

Also, don't be a dickhead to your (now-ex) users.

@mattab
Copy link
Member

mattab commented Jun 2, 2014

Truly, I did search. Truly nothing showed up. (Trac is lousy)

Ok, that's a good excuse :-) We are planning to migrate to Github issues, see ticket #5273

This issue was closed.
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. Critical Indicates the severity of an issue is very critical and the issue has a very high priority. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

3 participants