wiki:Piwik

Version 6 (modified by chris, 8 months ago) (diff)

--

Table of Contents

  1. Upgrades
  2. Piwik Tickets

Piwik

Documentation for the Piwik server at https://stats.crin.org/.

The site at https://stats.crin.org/ was migrated from web2.crin.org to crin1.crin.org on ticket:4.

Upgrades

These are the steps you need to follow to upgrade Piwik on the server using the command line (it is also possible to update using the web interface but this is not recommended for sites with a lot of data).

Set Piwik not to record stats while we are upgrading:

sudo -i
cd /var/www
vi piwik/config/config.ini.php

Set this variable:

[Tracker]
record_statistics = 0

Download and verify the new version:

export PIWIK="3.3.0"
wget "https://builds.matomo.org/matomo-$PIWIK.tar.gz"
wget "https://builds.matomo.org/matomo-$PIWIK.tar.gz.asc"
gpg --verify matomo-$PIWIK.tar.gz.asc

Backup the config file:

cp piwik/config/config.ini.php .

Extract the new version, set the ownerships, copy back the config file and run the updater:

tar -zxvf piwik-$PIWIK.tar.gz
cp config.ini.php piwik/config/
chown -R piwik:piwik /var/www/piwik/
php /var/www/piwik/console core:update

Then reset the config file to record stats:

vi piwik/config/config.ini.php

And check the status of the system check in the web interface at https://stats.crin.org/

Piwik Tickets

Open tickets with the "piwik" component set:

Ticket Summary Owner Reporter
#125 Piwik 3.1.1 chris chris
#118 Piwik 3.0.4 and some setting changes chris chris
#93 Piwik 2.17.1 chris chris

Closed tickets with the "piwik" component set:

Ticket Summary Owner Reporter
#133 Matomo 3.5.0 chris chris
#130 Matomo 3.3.0 chris chris
#128 Piwik 3.2.1 chris chris
#126 Piwik 3.2.0 chris chris
#124 Piwik 3.1.0 chris chris
#110 Piwik Accounts for Peter and Lisa chris chris
#109 Piwik 3.0.3 chris chris
#101 Piwik 3.0.2 chris chris
#96 Piwik 3.0.1 chris chris
#95 Piwik 3.0.0 chris chris
#91 Piwik 2.17.0 chris chris
#87 Piwik 2.16.5 chris chris
#84 Piwik 2.16.4 chris chris
#83 Piwik 2.16.3 chris chris
#80 Piwik 2.16.2 chris chris
#71 Piwik 2.16.1 chris chris
#61 Piwik 2.16.0 chris chris
#46 Piwik 2.15.0 chris chris
#33 Piwik 2.14.3 chris chris
#30 Piwik 2.14.2 chris chris
#29 Piwik 2.14.1 chris chris
#25 Piwik 2.14.0 chris chris
#4 Migrate Piwik from GreenQloud chris chris