<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #664: Upgrade Piwik to 2.0.2</title>
    <link>http://localhost:8080/trac/ticket/664</link>
    <description>&lt;p&gt;
This is a bugfix version which fixes 3 issues, see &lt;a class="ext-link" href="http://piwik.org/changelog/piwik-2-0-1/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://piwik.org/changelog/piwik-2-0-1/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Upgrade notes are here, &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/664</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 24 Dec 2013 15:01:49 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/664#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/664#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.45&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.45&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Following &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PiwikServer#Updates"&gt;wiki:PiwikServer#Updates&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /web/stats.transitionnetwork.org/
cp piwik/config/config.ini.php .
&lt;/pre&gt;&lt;p&gt;
Switch off the recording of stats by adding this to &lt;tt&gt;/web/stats.transitionnetwork.org/piwik/config/config.ini.php&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[Tracker]
record_statistics = 0
&lt;/pre&gt;&lt;p&gt;
Download, extract, and update the database:
&lt;/p&gt;
&lt;pre class="wiki"&gt;wget "http://piwik.org/latest.zip" -O latest.zip
unzip latest.zip
cp config.ini.php piwik/config/
chown -R www-data:www-data piwik/
php /web/stats.transitionnetwork.org/piwik/index.php -- "module=CoreUpdater"
&lt;/pre&gt;&lt;p&gt;
Then we have this error:
&lt;/p&gt;
&lt;pre class="wiki"&gt;A fatal error occurred
The following error just broke Piwik (v2.0.2):
Class 'Twig_Loader_Filesystem' not found
in
/web/stats.transitionnetwork.org/piwik/core/Twig.php line 150
If this error continues to happen, there is a good chance to fix this issue by disabling one or more of the Third-Party plugins. You can enable them again in the Plugins or Themes page under settings at any time.
If this error still occurs after disabling all plugins, you might want to consider uninstalling some plugins. Keep in mind: The plugin will be completely removed from your platform.
ExampleFeedburner 	uninstall
We appreciate if you send the error report to the Piwik team.
&lt;/pre&gt;&lt;p&gt;
I have searched the ticketing system, &lt;a class="ext-link" href="http://dev.piwik.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://dev.piwik.org/&lt;/a&gt; and forums &lt;a class="ext-link" href="http://forum.piwik.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://forum.piwik.org/&lt;/a&gt; for anyone else with this problem but couldn't find any reports of this issue.
&lt;/p&gt;
&lt;p&gt;
I have raised a ticket about it here: &lt;a class="ext-link" href="http://dev.piwik.org/trac/ticket/4434"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://dev.piwik.org/trac/ticket/4434&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 26 Dec 2013 11:28:21 GMT</pubDate>
      <title>hours, status, totalhours changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/664#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/664#comment:2</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.45&lt;/em&gt; to &lt;em&gt;0.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/664#comment:1" title="Comment 1 for Ticket #664"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
I have raised a ticket about it here: &lt;a class="ext-link" href="http://dev.piwik.org/trac/ticket/4434"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://dev.piwik.org/trac/ticket/4434&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
The answer &lt;a class="ext-link" href="http://dev.piwik.org/trac/ticket/4434#comment:1"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;from Matt on the Pwiki Trac&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Can you check all files were uploaded properly?
&lt;/p&gt;
&lt;p&gt;
If so, what php version do you use?
&lt;/p&gt;
&lt;p&gt;
Closing as it should not be a bug but likely config or php or missing file issue...
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
However after downloading and installing the files again we now have a 500 error for the front page, so I have changed the &lt;a class="ext-link" href="http://nginx.org/en/docs/ngx_core_module.html#error_log"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;log level&lt;/a&gt; from &lt;tt&gt;crit&lt;/tt&gt; to &lt;tt&gt;debug&lt;/tt&gt; and restarted Nginx and we now have this in the logs:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2013/12/26 11:20:31 [error] 27131#0: *32 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Class 'Zend_Session_Abstract' not found in /web/stats.transitionnetwork.org/piwik/libs/Zend/Session.php on line 50
PHP message: PHP Fatal error:  Class 'Piwik\Session' not found in /web/stats.transitionnetwork.org/piwik/core/FrontController.php on line 432" while reading response header from upstream, client: XX.XX.XX.XX, server: stats.transitionnetwork.org, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "stats.transitionnetwork.org"
&lt;/pre&gt;&lt;p&gt;
So I restarted php-fpm and it's fixed!
&lt;/p&gt;
&lt;p&gt;
I have updated the docs, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PiwikServer#Updates"&gt;wiki:PiwikServer#Updates&lt;/a&gt; and switched on stats recording.
&lt;/p&gt;
&lt;p&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 27 Dec 2013 11:24:50 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/664#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/664#comment:3</guid>
      <description>
        &lt;p&gt;
For all previous upgrades a php-fpm restart wasn't needed and I think this is because previously we were not running with APC, but now we are, see &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/535#comment:55" title="maintenance: Upgrade Puffin, Penguin and Parrot from Debian Squeeze to Wheezy (closed: fixed)"&gt;ticket:535#comment:55&lt;/a&gt;. The upgrade dopcumentation has been updated to include a php-fpm restart &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PiwikServer#Updates"&gt;wiki:PiwikServer#Updates&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>