After upgrading to 3.0, i got a 500 error on several requests. Error log:
[alert] [client ip] /path/plugins/.htaccess: Options not allowed here, referer: http://piwik-base-url.de/
In aforementioned file, the last line reads
Commenting it out solves the issue, but, as stated in the file, the .htaccess is autogenerated by piwik and so it is no long term solution. what can i do to make sure future updates do not crash my installation?
December 19, 2016, 9:45am
Can you please create bug report @ Issues · piwik/piwik · GitHub and we will investigate a fix for the future version to prevent this problem.
Thanks for this!
December 19, 2016, 10:17am
In my case, I had to remove the
Options -Indexes line to get piwik 3.0 to work (after upgrade)
Had the same problem and reinstalled three times after i came up with your solution. Thanks and hope this will be fixed in the next update.
December 27, 2016, 9:22am
can you please upgrade to 3.0.1-b1 where this should be fixed?
i’ve added some comments to the issue at
09:59AM - 19 Dec 16 UTC
03:07AM - 27 Dec 16 UTC
Afterr upgrading to Piwik 3.0.0 i had the following issues:
[Mon Dec 19
… 07:44:46 2016] [alert] [client 22.214.171.124] /data/<docroot>**/piwik/libs/.htaccess: AddHandler not allowed here**, referer: https://piwik.domain.de/index.php?module=CoreUpdater&action=newVersionAvailable
and the next one:
[Mon Dec 19 07:48:42 2016] [alert] [client 126.96.36.199] /data/<docroot>**/piwik/plugins/.htaccess: Options not allowed here**, referer: https://piwik.domain.de/index.php?module=MultiSites&action=index&idSite=1&period=day&date=today
I have a Debian Wheezy and a Apache
Server version: Apache/2.2.22 (Debian)
Server built: Jul 20 2016 05:07:11
As figured out from another one (https://forum.piwik.org/t/internal-server-error-after-upgrade-to-3-0/22163) The Issue is gone, while i comment out the Options Line.
Allow from All
Require all granted
The AddHandler Issue i couldn't solve at this point!
# Serve HTML files as text/html mime type - Note: requires mod_mime apache module!
** AddHandler text/html .html **
** AddHandler text/html .htm **
Thank you all very much for your great job with piwik!
and i’ve explained how you could change your vhost configuration to solve this issue.