Ticket #791 (closed maintenance: fixed)

Opened 2 years ago

Last modified 2 years ago

Piwik 2.7.0

Reported by: chris Owned by: chris
Priority: major Milestone: Maintenance
Component: Piwik Keywords:
Cc: ed Estimated Number of Hours: 0.0
Add Hours to Ticket: 0 Billable?: yes
Total Hours: 0.25

Description

The changelog for 2.7.0 contains:

Piwik 2.7.0 is a new major release of Piwik!

What’s new in 2.7.0?

In this release we have packed several major new features and many small improvements. The new features in this release are: User ID, New Pivot Table feature for Events reports, new plugin to count users visiting several of your websites, new Content Tracking plugin, new Browser language Report listing the user language codes, and more (see below the list of all issues that were closed in this release).

63 tickets have been closed by 15 contributors!

Database upgrade

  • Note: This release contains major database upgrades and upgrading your database will take a long time if you have a lot of data in your database.
  • Exceptionally when you upgrade your Piwik to 2.7.0 you will run through the Upgrade screen twice (instead of only once as usual). If you use the command line you will have to execute the command ‘./console core:update’ twice. This is expected and normal behavior for this release.

-> Check out this CHANGELOG.md file (in the root of Piwik) to see all changes to the platform and APIs.

https://github.com/piwik/piwik/blob/master/CHANGELOG.md#piwik-platform-changelog

Change History

comment:1 Changed 2 years ago by chris

  • Add Hours to Ticket changed from 0.0 to 0.25
  • Status changed from new to closed
  • Resolution set to fixed
  • Total Hours changed from 0.0 to 0.25

Following the PiwikServer#Updates notes, set record_statistics to 0 in /web/stats.transitionnetwork.org/piwik/config/config.ini.php

Backup the config file:

cd /web/stats.transitionnetwork.org/
cp piwik/config/config.ini.php .

Download, extract, and update the database and restart php-fpm:

export PIWIK="2.7.0"
wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz"
tar -zxvf piwik-$PIWIK.tar.gz
cp config.ini.php piwik/config/
chown -R www-data:www-data piwik/
php /web/stats.transitionnetwork.org/piwik/console core:update

*** Update ***

    Database Upgrade Required

    Your Piwik database is out-of-date, and must be upgraded before you can continue.

    Piwik database will be upgraded from version 2.6.1 to the new version 2.7.0.
    The following dimensions will be updated: log_visit.user_id.

    The database upgrade process may take a while, so please be patient.


    Done!

****************************************
  Piwik has been successfully updated!  
****************************************

php /web/stats.transitionnetwork.org/piwik/console core:update

*** Update ***

    Database Upgrade Required

    Your Piwik database is out-of-date, and must be upgraded before you can continue.

    The following dimensions will be updated: log_link_visit_action.idaction_content_interaction, log_link_visit_action.idaction_content_name, log_link_visit_action.idaction_content_piece, log_link_visit_action.idaction_content_target.

    The database upgrade process may take a while, so please be patient.


    Done!

****************************************
  Piwik has been successfully updated!  
****************************************

/etc/init.d/php5-fpm restart

Re-enable the recording of stats and checked the web interface and it all seems to be working fine.

The wiki has been updated with a link to this ticket, PiwikServer#Updates.

Note: See TracTickets for help on using tickets.