<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #729: Upgrade to Piwik 2.2.2</title>
    <link>http://localhost:8080/trac/ticket/729</link>
    <description>&lt;p&gt;
2.2.2 came out on 8th May, not sure why I missed this at the time, the change log is here: &lt;a class="ext-link" href="http://piwik.org/changelog/piwik-2-2-2/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://piwik.org/changelog/piwik-2-2-2/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The last upgrade was 2.2.1 &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/726" title="maintenance: Upgrade to Piwik 2.2.1 (closed: fixed)"&gt;ticket:726&lt;/a&gt; and the upgrade notes are at &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PiwikServer#Updates"&gt;wiki:PiwikServer#Updates&lt;/a&gt;
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/729</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 23 May 2014 08:31:22 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/729#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/729#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.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;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Following the &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PiwikServer#Updates"&gt;wiki:PiwikServer#Updates&lt;/a&gt; notes, switch off the recording of stats by setting record_statistics to 0 in /web/stats.transitionnetwork.org/piwik/config/config.ini.php:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[Tracker]
record_statistics = 0
&lt;/pre&gt;&lt;p&gt;
Backup the config file:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /web/stats.transitionnetwork.org/
cp piwik/config/config.ini.php .
&lt;/pre&gt;&lt;p&gt;
Download, extract, and update the database and restart php-fpm:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /web/stats.transitionnetwork.org/
export PIWIK=2.2.2
wget "http://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
/etc/init.d/php5-fpm restart
&lt;/pre&gt;&lt;p&gt;
Switch recording of stats back on by setting record_statistics to 1 in /web/stats.transitionnetwork.org/piwik/config/config.ini.php:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[Tracker]
record_statistics = 1
&lt;/pre&gt;&lt;p&gt;
Looked at the "System check" and all looks good, closinmg this ticket.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>