Quantcast
Channel: CodeSection,代码区,网络安全 - CodeSec
Viewing all articles
Browse latest Browse all 12749

Upgrading from Piwik 2.17.1 to Piwik 3.0.0

$
0
0

Piwik have just announced the release of Piwik 3.0 and I was excited to try it out. I've been running Piwik on this site for just over a year. I like Piwik because it allows me to run analyticson this site while respecting users privacy , giving users the option to opt-out of tracking and it means I don't share their data with a 3rd party like Google.

The upgrade was fairly seamless.

When I logged in there was a notification saying an update was available.


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

I clicked on the update link to update and selected "Update Automatically"


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

After about 10 seconds I got a message saying the update was successful


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

Then I had to upgrade the database, as this is a very low traffic site I decided to upgrade in the browser


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

The update finished and I continued on to piwki


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

Only when I reloaded the page I was getting 500 server errors


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

Looking in /var/log/apache2/error.log I saw a number of errors saying:

/var/www/html/piwik/plugins/.htaccess: Options not allowed here

I found that the .htaccess file in the plugins directory had a line at the end

Options -Indexes

That line stops people getting a directory listing of the files in the plugins folder, so it's an important security feature.

I edited my apache2 config and changed my AllowOverride setting from

<Directory /var/www/html/piwik> AllowOverride FileInfo Limit AuthConfig </Directory>

to

<Directory /var/www/html/piwik> AllowOverride FileInfo Limit AuthConfig Options=Indexes </Directory>

After that Piwik loaded up with no erros.


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

I've had a bit of a play with it and I think the new dashboard looks nice.


Upgrading from Piwik 2.17.1 to Piwik 3.0.0

One of the features I've been tracking and looking forward it is the change from md5 hashes to bcrypt so it's great to see that's landed in the 3.0 release.


Viewing all articles
Browse latest Browse all 12749

Trending Articles