<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #83: Piwik 2.16.3</title>
    <link>https://trac.crin.org/trac/ticket/83</link>
    <description>&lt;p&gt;
The &lt;a class="ext-link" href="https://piwik.org/changelog/piwik-2-16-3/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Changelog&lt;/a&gt; contains:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;h2 id="Securityrelease"&gt;Security release&lt;/h2&gt;
&lt;p&gt;
&lt;strong&gt;&lt;span style="color: #FF0000"&gt;This release is rated critical.&lt;/span&gt;&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
The Piwik security engineering team has internally identified a critical security issue and has fixed it in Piwik 2.16.3. We recommend all users to upgrade to this latest version.
&lt;/p&gt;
&lt;h2 id="Databaseupgrade"&gt;Database upgrade&lt;/h2&gt;
&lt;p&gt;
Note: &lt;strong&gt;This release contains major database upgrades&lt;/strong&gt; and upgrading your database will take a long time if you have a lot of data in your database.
&lt;/p&gt;
&lt;p&gt;
Please make sure you read the &lt;a class="ext-link" href="https://piwik.org/docs/update/#database-upgrade-for-high-traffic-piwik-servers"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Update Piwik guide for high traffic instances&lt;/a&gt;.
&lt;/p&gt;
&lt;/blockquote&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/83</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 03 Oct 2016 10:12:48 GMT</pubDate>
      <title>hours, status changed; resolution, totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/83#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/83#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
So following the notes at &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Piwik#Upgrades"&gt;wiki:Piwik#Upgrades&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /var/www
vi piwik/config/config.ini.php
export PIWIK="2.16.3"
wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz"
wget "https://builds.piwik.org/piwik-$PIWIK.tar.gz.asc"
  gpg --verify piwik-$PIWIK.tar.gz.asc
  gpg: assuming signed data in `piwik-2.16.3.tar.gz'
  gpg: Signature made Sun 02 Oct 2016 11:38:49 PM GMT using RSA key ID 5590A237
  gpg: Good signature from "Matthieu Aubry &amp;lt;matt@piwik.org&amp;gt;"
  gpg:                 aka "Matthieu Aubry &amp;lt;matt@piwik.pro&amp;gt;"
  gpg:                 aka "Matthieu Aubry &amp;lt;matthieu.aubry@gmail.com&amp;gt;"
  gpg: WARNING: This key is not certified with a trusted signature!
  gpg:          There is no indication that the signature belongs to the owner.
  Primary key fingerprint: 814E 346F A01A 20DB B04B  6807 B5DB D592 5590 A237
cp piwik/config/config.ini.php .
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
      *** 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.16.2 to the new version 2.16.3.
      The following dimensions will be updated: log_visit.visit_entry_idaction_url.
  This is a major update! It will take longer than usual.
      *** Note: this is a Dry Run ***
      ALTER TABLE `log_visit` MODIFY COLUMN `visit_entry_idaction_url` INTEGER(11) UNSIGNED NULL  DEFAULT NULL;
      *** End of Dry Run ***
  A database upgrade is required. Execute update? (y/N) Y
  Starting the database upgrade process now. This may take a while, so please be patient.
      *** 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.16.2 to the new version 2.16.3.
      The following dimensions will be updated: log_visit.visit_entry_idaction_url.
      The database upgrade process may take a while, so please be patient.
    Executing ALTER TABLE `log_visit` MODIFY COLUMN `visit_entry_idaction_url` INTEGER(11) UNSIGNED NULL  DEFAULT NULL...
  Done. [1 / 1]
  Piwik has been successfully updated!
  It appears you have executed this update with user root:root, while your Piwik files are owned by piwik:piwik.
  To ensure that the Piwik files are readable by the correct user, you may need to run the following command (or a similar command depending on your server configuration):
  $ chown -R root:root /var/www/piwik
vi piwik/config/config.ini.php
&lt;/pre&gt;&lt;p&gt;
The the web system check reports:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Huzzah! There are no problems with your Piwik setup. Give yourself a pat on the back.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
So closing.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>