<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #301: Upgrade LIVE server to Debian Squeeze</title>
    <link>http://localhost:8080/trac/ticket/301</link>
    <description>&lt;p&gt;
Many of the libraries and programs available to us are limited to older versions because LIVE is on Debian Etch. Upgrading to Squeeze will allow many components to be upgraded, and hopefully provide other nice side effects.
&lt;/p&gt;
&lt;p&gt;
Elements upgraded:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Memcached (important)
&lt;/li&gt;&lt;li&gt;PHP/MySQL/Apache (probably?)
&lt;/li&gt;&lt;li&gt;Linux kernel an all associated stuff
&lt;/li&gt;&lt;/ul&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/301</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 08 Sep 2011 14:21:43 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:1</guid>
      <description>
        &lt;p&gt;
Debian Squeeze has PHP PHP 5.3.3-7 and drupal.org says:
&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;
Drupal 6 notes
Although PHP 5.3 is supported by Drupal 6.14 core and higher (see the release notes for 6.14), some contributed modules may not be compatible with PHP 5.3, and some PHP 5.3 configurations still show warnings with Drupal 6.14; work is ongoing to resolve the latter in 360605: PHP 5.3 Compatibility &lt;a class="ext-link" href="https://drupal.org/node/360605"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/node/360605&lt;/a&gt;.
&lt;a class="ext-link" href="https://drupal.org/requirements"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/requirements&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Jim -- would this be an issue for us?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 08 Sep 2011 14:22:15 GMT</pubDate>
      <title>cc set</title>
      <link>http://localhost:8080/trac/ticket/301#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;jim&lt;/em&gt;, &lt;em&gt;ed&lt;/em&gt; added
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 08 Sep 2011 14:55:11 GMT</pubDate>
      <title>type changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;type&lt;/strong&gt;
                changed from &lt;em&gt;defect&lt;/em&gt; to &lt;em&gt;task&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Well I run the site (minus SSL, Varnish and Memcache) on my Ubuntu 11.04 system which has PHP v5.3.3-1ubuntu9.3...
&lt;/p&gt;
&lt;p&gt;
I think the main thing was a few pass-by-reference issues and notice-level warnings popping up...  I just changed the PHP warnings level (on LIVE as well) and these went away.
&lt;/p&gt;
&lt;p&gt;
The site runs fine on my box as far as I've seen. I think the vast majority of PHP5.3 bugs have been fixed in the modules we use, and if a handful have not then we can patch accordingly.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 14 Sep 2011 08:32:27 GMT</pubDate>
      <title>status, type changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;accepted&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;type&lt;/strong&gt;
                changed from &lt;em&gt;task&lt;/em&gt; to &lt;em&gt;maintenance&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 21 Sep 2011 14:15:14 GMT</pubDate>
      <title>hours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:5</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;2.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Upgrade done on kiwi: &lt;a class="wiki" href="http://localhost:8080/trac/wiki/LennyToSqueeze"&gt;wiki:LennyToSqueeze&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 11:11:36 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:6</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;2.5&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;2.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The upgrade yesterday on kiwi provides some lessons for the live upgrade:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Put the site into maintenance mode
&lt;/li&gt;&lt;li&gt;Dump the mysql databases
&lt;/li&gt;&lt;li&gt;Upgrade to squeeze
&lt;/li&gt;&lt;li&gt;Check the Mysql upgrade
&lt;/li&gt;&lt;li&gt;Import the databases
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Also there are still some issues to resolve with php:
&lt;/p&gt;
&lt;pre class="wiki"&gt;PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/php.ini on line 977 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/suhosin.ini on line 89 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/uploadprogress.so' - /usr/lib/php5/20090626/uploadprogress.so:
+cannot open shared object file: No such file or directory in Unknown on line 0
&lt;/pre&gt;&lt;p&gt;
And the subversion backups:
&lt;/p&gt;
&lt;pre class="wiki"&gt;== errors from /etc/backup.d/30.svn ==
Error: command failed -- /usr/bin/svnadmin hotcopy /web/tech.transitionnetwork.org/svn/. /var/backups/svn.tmp/.
Error: because of earlier errors, we are leaving svn backups in /var/backups/svn.tmp instead of /var/backups/svn
&lt;/pre&gt;&lt;p&gt;
Adding time spent last night when the timer wasn't working.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 11:12:52 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:7</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;2.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.5&lt;/em&gt; to &lt;em&gt;5.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Hmm the time got reset, it should have gone to 5 hours.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 13:18:08 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:8</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.7&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.0&lt;/em&gt; to &lt;em&gt;5.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The PHP issues have been resolved and everything looks OK here: &lt;a class="ext-link" href="https://dev.transitionnetwork.org/admin/reports/status"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://dev.transitionnetwork.org/admin/reports/status&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I'm a bit concerned though that there might be some database problem - Jim any idea what all the errors here are about? &lt;a class="ext-link" href="https://dev.transitionnetwork.org/admin/reports/dblog"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://dev.transitionnetwork.org/admin/reports/dblog&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
For example:
&lt;/p&gt;
&lt;pre class="wiki"&gt;	User warning: Table &amp;amp;#039;dev.block_class&amp;amp;#039; doesn&amp;amp;#039;t exist query: SELECT css_class, module, delta FROM block_class in _db_query() (line 148 of /web/dev.transitionnetwork.org.webarch.net/www/includes/database.mysql.inc).
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 14:50:05 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:9</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.51&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.7&lt;/em&gt; to &lt;em&gt;6.21&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The issue with the backups of the subversion repo were solved by following the steps here: &lt;a class="ext-link" href="http://linuxsysadminblog.com/2010/06/svnadmin-cant-open-file-svndbfsfs-conf-no-such-file-or-directory/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://linuxsysadminblog.com/2010/06/svnadmin-cant-open-file-svndbfsfs-conf-no-such-file-or-directory/&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 22 Sep 2011 15:14:17 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:10</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.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.21&lt;/em&gt; to &lt;em&gt;6.71&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
That table "block_class" missing error is a problem with that module - it's not installing itself properly. I've gone down a version and it's fine... Will open a bug report on the module issue list.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 15:50:29 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:11</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;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.71&lt;/em&gt; to &lt;em&gt;7.71&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Quite a few config file changes to upgrade to Varnish 3.0, see &lt;a class="ext-link" href="https://www.varnish-cache.org/docs/trunk/installation/upgrade.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.varnish-cache.org/docs/trunk/installation/upgrade.html&lt;/a&gt;  and &lt;a class="ext-link" href="https://drupal.org/node/1054886#comment-4871274"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://drupal.org/node/1054886#comment-4871274&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Have still to test varnish on dev.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 22 Sep 2011 16:08:57 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:12</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.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;7.71&lt;/em&gt; to &lt;em&gt;7.76&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Note the latest version of the Drupal Varnish module properly supports Varnish 3.x is in SVN and going up tonight hopefully... It's already on DEV.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 22 Sep 2011 16:43:10 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:13</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:13</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.7&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;7.76&lt;/em&gt; to &lt;em&gt;8.46&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Ah ha, cheers for that, I should have checked with you before doing the upgrade, dev is running varnish 3.0 now and it appears to be working OK, but I'm going to do some more testing, there were quite a few changes needed in the config file.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 23 Sep 2011 09:44:05 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:14</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:14</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.42&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;8.46&lt;/em&gt; to &lt;em&gt;8.88&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I testing varnish 3.0 and have put the dev site into online mode for testing.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 23 Sep 2011 13:36:51 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:15</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:15</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;2.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;8.88&lt;/em&gt; to &lt;em&gt;10.88&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Varnish seems to be OK but will need checking when the 3.0 configuration from the dev server is copied onto the live server.
&lt;/p&gt;
&lt;p&gt;
One thing that I have realised is that as the site works from &lt;a class="ext-link" href="http://transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://transitionnetwork.org/&lt;/a&gt; and &lt;a class="ext-link" href="http://www.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/&lt;/a&gt; varnish thinks these are different pages and will cache a copy for each url, we have two options here, munge the request with the varnish configuration (both url's would still work) or redirect at an apache level, say from &lt;a class="ext-link" href="http://transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://transitionnetwork.org/&lt;/a&gt; to &lt;a class="ext-link" href="http://www.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/&lt;/a&gt;. I think I'd rather do an apache redirect as it's simpler if that is OK with people.
&lt;/p&gt;
&lt;p&gt;
I have listed the steps to take for the upgrade here &lt;a class="wiki" href="http://localhost:8080/trac/wiki/LennyToSqueeze#LiveUpgradeSteps"&gt;wiki:LennyToSqueeze#LiveUpgradeSteps&lt;/a&gt; and it's going to take a couple of hours or so to do it and looking at times at which the site is least used it might make sense to do it late at night one evening -- would that be OK with people?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Fri, 23 Sep 2011 18:45:57 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:16</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:16</guid>
      <description>
        &lt;p&gt;
Apache redirect sounds the simplest to me... Provided it doesn't block other subdomains of course!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 24 Sep 2011 12:08:55 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:17</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:17</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.2&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;10.88&lt;/em&gt; to &lt;em&gt;11.08&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;blockquote&gt;
&lt;p&gt;
Apache redirect sounds the simplest to me
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK I have done that, it shouldn't cause any problems and should dramatically reduce the amount of duplicate pages varnish is caching :-)
&lt;/p&gt;
&lt;p&gt;
I have also noticed that since the upgrade the ticket URL's int he trac emails don't have full URL's any more in the sig, eg:
&lt;/p&gt;
&lt;pre class="wiki"&gt;
--
Ticket URL: &amp;lt;/trac/ticket/301#comment:16&amp;gt;
Transition Technology &amp;lt;/trac&amp;gt;
Support and issues tracking for the Transition Network Web Project.
&lt;/pre&gt;&lt;p&gt;
I'll look at this next week.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Sat, 24 Sep 2011 12:27:59 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:18</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:18</guid>
      <description>
        &lt;p&gt;
Was going to raise the trac footer link issue, hadn't realised how useful it was until it's gone.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 26 Sep 2011 13:25:53 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:19</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:19</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.2&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;11.08&lt;/em&gt; to &lt;em&gt;11.28&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Trac footer is fixed if the footer is now correct below this (on the email version of this comment)!
&lt;/p&gt;
&lt;p&gt;
The debian upgrade also upgraded trac and it's behaviour changed, see &lt;a class="ext-link" href="http://trac.edgewall.org/ticket/6150"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/ticket/6150&lt;/a&gt; and &lt;a class="ext-link" href="http://trac.edgewall.org/ticket/5064"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.edgewall.org/ticket/5064&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Would late tonight be a good time for the upgrade of the live server to squeeze?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 26 Sep 2011 22:19:43 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:20</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:20</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;1.8&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;11.28&lt;/em&gt; to &lt;em&gt;13.08&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
An uncompressed Mysql dump of the live server is  2.1G!
&lt;/p&gt;
&lt;p&gt;
Just dumping and database and doing the backup jobs took a long time.
&lt;/p&gt;
&lt;p&gt;
One Mysql error when inserting the backups, not sure which database this was from:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ERROR 1062 (23000) at line 12403: Duplicate entry 'läßt-18817-node' for key 'word_sid_type'
&lt;/pre&gt;&lt;p&gt;
The server has been upgraded and rebooted :-)
&lt;/p&gt;
&lt;p&gt;
I'm going to leave the varnish upgrade till tomorrow.
&lt;/p&gt;
&lt;p&gt;
Need to key an eye on things to make sure everything is OK...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 26 Sep 2011 22:45:39 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:21</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:21</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.2&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;13.08&lt;/em&gt; to &lt;em&gt;13.28&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
There are a lot of errors like this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;	User warning: Table &amp;amp;#039;live.block_class&amp;amp;#039; doesn&amp;amp;#039;t exist query: SELECT css_class, module, delta FROM block_class in _db_query() (line 148 of /web/transitionnetwork.org/www/includes/database.mysql.inc).
&lt;/pre&gt;&lt;p&gt;
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/reports/event/6463570"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/reports/event/6463570&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Is this a problems caused at a Mysql level?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Mon, 26 Sep 2011 23:02:25 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:22</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:22</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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;13.28&lt;/em&gt; to &lt;em&gt;13.38&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
No worries - as per &lt;a class="ext-link" href="https://tech.transitionnetwork.org/trac/ticket/301#comment:8"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://tech.transitionnetwork.org/trac/ticket/301#comment:8&lt;/a&gt; faulty module that'll be fixed shortly. I've disabled it for now.
&lt;/p&gt;
&lt;p&gt;
The site and the sharing engine seem fine, so all's well!... I'll do the SVN updates on Wednesday night once this has all settled..
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 27 Sep 2011 16:17:42 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:23</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:23</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;2.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;13.38&lt;/em&gt; to &lt;em&gt;15.38&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Munin is now working again &lt;a class="ext-link" href="https://kiwi.transitionnetwork.org/munin/webarch.net/quince.webarch.net.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://kiwi.transitionnetwork.org/munin/webarch.net/quince.webarch.net.html&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
vsftp has been switchd off due to the large number of brute force attacks -- it can be switched on as needs be.
&lt;/p&gt;
&lt;p&gt;
I have tried added this to settings.php so that the dblog reports have the remote IP rather than the IP of varnish for http requests, but it's not working, but it probably doesn't matter:
&lt;/p&gt;
&lt;pre class="wiki"&gt;$conf['reverse_proxy_header'] = 'HTTP_X_FORWARDED_FOR';
&lt;/pre&gt;&lt;p&gt;
I'll leave the varnish upgrade till the drupal module which supports Varnish 3.0 has been installed.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Tue, 27 Sep 2011 16:44:49 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:24</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:24</guid>
      <description>
        &lt;p&gt;
OK, I'm busy tonight but will do the updates tomorrow.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 28 Sep 2011 14:11:32 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:25</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:25</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.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;15.38&lt;/em&gt; to &lt;em&gt;15.88&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I need to fix this graph so it is of more use -- the max number of servers is 16 not 256.
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://kiwi.transitionnetwork.org/munin/webarch.net/quince.webarch.net/apache_processes.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://kiwi.transitionnetwork.org/munin/webarch.net/quince.webarch.net/apache_processes.html&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I have been also looking at the memory footprint of apache and this article explains why we have such a large one:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://2bits.com/articles/server-indigestion-the-drupal-contributed-modules-open-buffet-binge-syndrome.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2bits.com/articles/server-indigestion-the-drupal-contributed-modules-open-buffet-binge-syndrome.html&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
We have 176 modules enabled, each apache process is around 90 MB.
&lt;/p&gt;
&lt;p&gt;
We should probably look at nginx or at more RAM at some point...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 28 Sep 2011 14:47:47 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:26</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:26</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.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;15.88&lt;/em&gt; to &lt;em&gt;16.38&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 28 Sep 2011 14:48:13 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:27</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:27</guid>
      <description>
        &lt;p&gt;
That article is primarily about D5 and quite old... Not saying it' s not an issue, it is, but D6 selectively loads stuff much better than D5, hence why we've got nearly twice the modules as in the article, and we use the same amount of memory.
&lt;/p&gt;
&lt;p&gt;
I've just gone through the list of modules and, of 176, only 16 could be turned off without removing critical functionality. That might save us 1-10Mb per process, so might be worth a look, but disabling some will need work. Also, there are a few more coming in, and some leaving in the next SVN update.
&lt;/p&gt;
&lt;p&gt;
FYI the modules I reckon could go are:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;statistics -- logs user accesses/page views, I just disabled it.
&lt;/li&gt;&lt;li&gt;panels_mini -- I've just disabled this as it wasn't being used.
&lt;/li&gt;&lt;li&gt;translation -- (but needed for other languages -- not used properly presently)
&lt;/li&gt;&lt;li&gt;help -- (maybe)
&lt;/li&gt;&lt;li&gt;locale -- (see translation)
&lt;/li&gt;&lt;li&gt;calendar_ical -- are we importing/exporting iCal feeds?
&lt;/li&gt;&lt;li&gt;og_vocab -- Do CMS need their own vocabs now REconomy have left, Ed?
&lt;/li&gt;&lt;li&gt;insert -- is this used? Allows people to insert images from image fields into the wysiwyg editor
&lt;/li&gt;&lt;li&gt;private -- about to be replaced
&lt;/li&gt;&lt;li&gt;terms_of_use -- could be replaced with a mandatory CCK checkbox field
&lt;/li&gt;&lt;li&gt;rules_admin -- can be turned off after the SVN updates happen
&lt;/li&gt;&lt;li&gt;googleanalytics -- Piwik is there, let's kill this
&lt;/li&gt;&lt;li&gt;xmlsitemap -- provides a (huge) XML sitemap to google et al... I reckon we can do without this and its children xmlsitemap_node, xmlsitemap_taxonomy at the cost of slower indexing by search engines.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Everything else is needed, and in theory in D6 only what's needed for a page is loaded... A further line of investigation is to patch core so we get stats as to how much memory the individual modules are using... &lt;a class="ext-link" href="http://2bits.com/articles/measuring-memory-consumption-by-drupal-bootstrap-and-modules.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://2bits.com/articles/measuring-memory-consumption-by-drupal-bootstrap-and-modules.html&lt;/a&gt; will investigate on my machine and report back.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Wed, 28 Sep 2011 15:00:01 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/301#comment:28</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:28</guid>
      <description>
        &lt;p&gt;
CMS don't need their own vocabs.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 28 Sep 2011 17:06:23 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:29</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:29</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.075&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;16.38&lt;/em&gt; to &lt;em&gt;16.455&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
OG vocab now removed and uninstalled.
&lt;/p&gt;
&lt;p&gt;
If we feel that the above should be turned off, please move these requests to a new ticket.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Thu, 06 Oct 2011 13:31:06 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/301#comment:30</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:30</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;accepted&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;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 10 Oct 2011 12:31:55 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/301#comment:31</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/301#comment:31</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.32&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;16.455&lt;/em&gt; to &lt;em&gt;16.775&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Update Varnish to a squeeze version, edit &lt;tt&gt;/etc/apt/sources.list.d/varnish.list&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#deb http://repo.varnish-cache.org/debian/ lenny varnish-2.1
deb http://repo.varnish-cache.org/debian/ squeeze varnish-3.0
&lt;/pre&gt;&lt;p&gt;
Upgrade:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/varnish
/etc/init.d/varnish stop
cp default.vcl.3.0.bak default.vcl
dpkg -r varnish
aptitude update; aptitude install varnish
&lt;/pre&gt;&lt;p&gt;
This has been done, there was a few mins of downtime, I have also changed the settings at &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/settings/varnish/general"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/settings/varnish/general&lt;/a&gt; to match the varnish version.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>