<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #147: Migration of live server</title>
    <link>http://localhost:8080/trac/ticket/147</link>
    <description>&lt;p&gt;
This is a ticket to track the migration of &lt;a class="wiki" href="http://localhost:8080/trac/wiki/LiveServer"&gt;wiki:LiveServer&lt;/a&gt; (transitionnetwork.gaiahost.coop) to &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer"&gt;wiki:NewLiveServer&lt;/a&gt; (quince.webarch.net), even though we haven't got the final go ahead, due to the desire to migrate by the end of the month, I have made a "at risk" start on this.
&lt;/p&gt;
&lt;p&gt;
The hosting side of things is all done apart from sorting out the backups.
&lt;/p&gt;
&lt;p&gt;
The virtual server has been set up, accounts have been created for jim and john and their public keys have been installed so they should be able to connect to it.
&lt;/p&gt;
&lt;p&gt;
A copy of the live site has been set up here and it's now available for testing:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://live.quince.webarch.net/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://live.quince.webarch.net/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
It has the same settings as the dev and test sites to ensure that it doesn't send out unwanted emails to users.
&lt;/p&gt;
&lt;p&gt;
One issue I found is that the cacherouter module isn't in svn any more, so this was manually copied across, there are also some drupal errors and I think they might also be due to missing modules but I haven't bottomed this out yet (more on these issues here: &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer"&gt;wiki:NewLiveServer&lt;/a&gt;).
&lt;/p&gt;
&lt;p&gt;
One thing we need to decide is what php accelerator to use -- no apache/php/mysql optimisations at all have been done so far.
&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/147</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 15 Oct 2010 14:31:20 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;3.0&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;3.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 15 Oct 2010 14:34:11 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:2</guid>
      <description>
        &lt;p&gt;
I forgot to add, what about the sites that are on the gaia server but we are not using at the moment:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://atrium.transitiontoday.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://atrium.transitiontoday.org/&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://www.transitiontoday.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitiontoday.org/&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Sat, 16 Oct 2010 16:28:58 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:3</guid>
      <description>
        &lt;p&gt;
Well done Chris.
&lt;/p&gt;
&lt;p&gt;
OK, the SVN repo isn't quite right and the best version to presently pull from is the DEV branch, which is 100% up to date. I do plan to finish tagging the latest release in TEST and LIVE very soon so let me know if you want this done first. DEV is king for now though.
&lt;/p&gt;
&lt;p&gt;
As for the PHP accelerator, Drupal.org has lots of documentation on the best approach. I also recommend adding memcached so that &lt;a class="missing wiki"&gt;CacheRouter?&lt;/a&gt; can use it for a huge speed increase.
&lt;/p&gt;
&lt;p&gt;
Lots more on a 'proper' performant Drupal setup here: &lt;a class="ext-link" href="http://www.chapterthree.com/blog/josh_koenig/project_mercury_preconfigured_drupalvarnish_ec2_ami"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.chapterthree.com/blog/josh_koenig/project_mercury_preconfigured_drupalvarnish_ec2_ami&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 16 Oct 2010 17:54:48 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:4</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;3.0&lt;/em&gt; to &lt;em&gt;4.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
OK, the SVN repo isn't quite right and the best version to presently pull from is the DEV branch, which is 100% up to date. I do plan to finish tagging the latest release in TEST and LIVE very soon so let me know if you want this done first. DEV is king for now though.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK, this is a good way to test how fast svn is now, switching from &lt;a class="ext-link" href="https://svn.webarch.net/transition/code/trunk/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://svn.webarch.net/transition/code/trunk/&lt;/a&gt; to &lt;a class="ext-link" href="https://svn.webarch.net/transition/code/branches/DEV/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://svn.webarch.net/transition/code/branches/DEV/&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /web/transitionnetwork.org/www/
date ; svn switch https://svn.webarch.net/transition/code/branches/DEV/ ; date
  Sat Oct 16 17:10:51 UTC 2010
  ...
  svn: Failed to add directory 'sites/all/modules/cacherouter': a versioned directory of the same name already exists
  Sat Oct 16 17:11:11 UTC 2010
rm -rf sites/all/modules/cacherouter
cd sites/all/modules/
svn up
&lt;/pre&gt;&lt;p&gt;
20 seconds for the svn switch... which seems OK?
&lt;/p&gt;
&lt;p&gt;
I have installed memcached and php5-memcache and it's running with the default debian settings, apart from the memory limit of 64M having been changed to 128M, see /etc/memcached.conf. I have looked at &lt;a class="ext-link" href="http://drupal.org/project/cacherouter"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Cache Router&lt;/a&gt; and could find the settings there so I used the ones &lt;a class="ext-link" href="http://programmingbulls.com/settings-drupal-cacherouter-memcache"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;here&lt;/a&gt; (I'm not sure if shared shouldn't be FALSE since we only have one memcache server and one site?):
&lt;/p&gt;
&lt;pre class="wiki"&gt;$conf['cacherouter'] = array(
        'default' =&amp;gt; array(
        'engine'  =&amp;gt; 'memcache',
        'server'  =&amp;gt; array('127.0.0.1:11211'),
        'shared'  =&amp;gt; TRUE,
),
);
&lt;/pre&gt;&lt;p&gt;
But I'm not sure this has speeded things up -- 1000 requests for the front page, 10 at a time, from the dev server takes about 5 seconds with memcached:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -v 4 -n 1000 -H "Accept-Encoding: gzip" -c 100 "http://live.quince.webarch.net/"
 Concurrency Level:      100
 Time taken for tests:   4.732 seconds
 Complete requests:      1000
 Failed requests:        0
&lt;/pre&gt;&lt;p&gt;
But with the file cache settings it's closer to 4 seconds:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -v 4 -n 1000 -H "Accept-Encoding: gzip" -c 100 "http://live.quince.webarch.net/"
 Concurrency Level:      100
 Time taken for tests:   3.876 seconds
 Complete requests:      1000
 Failed requests:        0
&lt;/pre&gt;&lt;p&gt;
I guess some more testing and tweaking is required...
&lt;/p&gt;
&lt;p&gt;
Do we want to install Project Mercury and the Varnish Accelerating Proxy now?
&lt;/p&gt;
&lt;p&gt;
If we do then this article seems to be guide we could follow: &lt;a class="ext-link" href="http://library.linode.com/development/frameworks/php/project-mercury/debian-5-lenny"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Deploy High Performance Drupal Sites with Mercury on Debian 5 (Lenny)&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 16 Oct 2010 20:32:23 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:5</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;3.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.0&lt;/em&gt; to &lt;em&gt;7.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Regarding APC vs Memcache there is an interesting thread here, it might be the case that memcache doesn't add much for our usage, if we had one or move dedicated memcache servers then I guess it would: &lt;a class="ext-link" href="http://groups.drupal.org/node/73513"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://groups.drupal.org/node/73513&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I forgot to click submit changed on a ticket yesterday -- I did a further 3 hours of tweaking and was going to post this comment (I'm adding those hours to this comment):
&lt;/p&gt;
&lt;p&gt;
I've sorted some more thing out the items still oustanding:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Cron
&lt;/li&gt;&lt;li&gt;GD, perhaps switch to the php from &lt;a class="ext-link" href="http://www.dotdeb.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.dotdeb.org/&lt;/a&gt; or use imagemagick?
&lt;/li&gt;&lt;li&gt;Optimisation, php accelerator?
&lt;/li&gt;&lt;li&gt;Drupal errors: &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer#TODO"&gt;wiki:NewLiveServer#TODO&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;What to do, if anything, with &lt;a class="ext-link" href="http://atrium.transitiontoday.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://atrium.transitiontoday.org/&lt;/a&gt; and &lt;a class="ext-link" href="http://www.transitiontoday.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitiontoday.org/&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Please comment if there is anything else!
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 25 Oct 2010 14:09:01 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;7.0&lt;/em&gt; to &lt;em&gt;8.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Migrating the Mediawiki site &lt;a class="ext-link" href="http://wiki.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wiki.transitionnetwork.org/&lt;/a&gt; will be done at the same time, see &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/148" title="defect: Wiki https certificate (closed: fixed)"&gt;ticket:148&lt;/a&gt; and there is a script to make this easy, on quince run:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/usr/local/bin/mysql-update-from-mediawiki.webarch.net
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 27 Oct 2010 20:36:28 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:7</guid>
      <description>
        &lt;p&gt;
I guess you're still sorting APC/Cacherouter out as I'm looking around the site right now and am getting very slow responses plus this error at the head of the page:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Notice: Use of undefined constant CACHE_PERMENANT - assumed 'CACHE_PERMENANT' in /web/transitionnetwork.org/www/sites/all/modules/cacherouter/engines/memcache.php on line 66
&lt;/pre&gt;&lt;p&gt;
According to anecdotal evidence here maybe it's an APC issue?? PERMENANT is spelled wrong, too...
&lt;/p&gt;
&lt;p&gt;
Also getting time-outs:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Fatal error: Maximum execution time of 30 seconds exceeded in /web/transitionnetwork.org/www/sites/all/modules/cacherouter/engines/memcache.php on line 185
&lt;/pre&gt;&lt;p&gt;
All at 9.30pm on 27 Oct.
&lt;/p&gt;
&lt;p&gt;
Is Cacherouter's setup correct or are you still setting up APC etc?
&lt;/p&gt;
&lt;p&gt;
Anyway, as for other issues:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;I've used the &lt;a class="missing wiki"&gt;DotDeb?&lt;/a&gt; on my machine because Debian's GD PHP library is ancient. I recommend sticking to the setup on LIVE though, so best to carry on with &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; unless you're averse to it somehow.
&lt;/li&gt;&lt;li&gt;Are those Drupal errors still happening? Do you want me to look into them?
&lt;/li&gt;&lt;li&gt;Personally I reckon we need Varnish or a Mercury-type setup soon... Controversy is growing for TN's activities and there's always the chance of us being Slashdotted. Not important for launch, obviously, but nice to have a migration plan in place. What have you learned Chris?
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 28 Oct 2010 10:02:25 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:8</guid>
      <description>
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
I guess you're still sorting APC/Cacherouter out as I'm looking around the
site right now and am getting very slow responses
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
It's been using memcache since I last worked on it, this is what we have in /web/transitionnetwork.org/www/sites/default/settongs.php:
&lt;/p&gt;
&lt;pre class="wiki"&gt;$conf['cache_inc'] = './sites/all/modules/cacherouter/cacherouter.inc';
$conf['cacherouter'] = array(
        'default' =&amp;gt; array(
        'engine'  =&amp;gt; 'memcache',
        'server'  =&amp;gt; array('127.0.0.1:11211'),
        'shared'  =&amp;gt; TRUE,
),
);
&lt;/pre&gt;&lt;blockquote class="citation"&gt;
&lt;p&gt;
plus this error at the
head of the page:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Notice: Use of undefined constant CACHE_PERMENANT - assumed
'CACHE_PERMENANT' in
/web/transitionnetwork.org/www/sites/all/modules/cacherouter/engines/memcache.php
on line 66
&lt;/pre&gt;&lt;p&gt;
According to anecdotal evidence here maybe it's an APC issue?? PERMENANT
is spelled wrong, too...
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
This is weird, I don't get the error and I can't see it in the reports here: &lt;a class="ext-link" href="https://live.quince.webarch.net/admin/reports/dblog"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://live.quince.webarch.net/admin/reports/dblog&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
There was only one use of CACHE_PERMENANT in line of /web/transitionnetwork.org/www/sites/all/modules/cacherouter/engines/memcache.php line 66:
&lt;/p&gt;
&lt;pre class="wiki"&gt;if ($expire == CACHE_TEMPORARY || $expire == CACHE_PERMENANT) {
&lt;/pre&gt;&lt;p&gt;
And yes it's a typo, see: &lt;a class="ext-link" href="http://drupal.org/node/936966"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://drupal.org/node/936966&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I have fixed it and committed it here: &lt;a class="ext-link" href="https://svn.webarch.net/transition/code/branches/DEV/sites/all/modules/cacherouter/engines/memcache.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://svn.webarch.net/transition/code/branches/DEV/sites/all/modules/cacherouter/engines/memcache.php&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 28 Oct 2010 10:47:04 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:9</guid>
      <description>
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
Also getting time-outs:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Fatal error: Maximum execution time of 30 seconds exceeded in
/web/transitionnetwork.org/www/sites/all/modules/cacherouter/engines/memcache.php
on line 185
&lt;/pre&gt;&lt;p&gt;
All at 9.30pm on 27 Oct.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK, I have now also got the errors, after setting up memcache to log in a verbose way I found the same errors in /var/log/memcached.log as mentioned here: &lt;a class="ext-link" href="http://drupal.org/node/734026#comment-2681912"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://drupal.org/node/734026#comment-2681912&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;&amp;lt;10 add /tmp/cache_lock 0 0 1
&amp;gt;10 NOT_STORED
&lt;/pre&gt;&lt;p&gt;
I haven't got to the bottom of this, but for now I have changed cacherouter back to use the filecache.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Is Cacherouter's setup correct or are you still setting up APC etc?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
APC is installed and the mediawiki site is using it, I'll do some testing and see if APC makes the site faster than using the file cache.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;ul&gt;&lt;li&gt;I've used the DotDeb on my machine because Debian's GD PHP library is
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
ancient. I recommend sticking to the setup on LIVE though, so best to
carry on with ImageMagick unless you're averse to it somehow.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Fine by me, any pointers regarding what I need to do to get Drupal to use ImageMagick?
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;ul&gt;&lt;li&gt;Are those Drupal errors still happening? Do you want me to look into
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
them?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
No, sorry I should have made that clear sooner, they have all gone.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;ul&gt;&lt;li&gt;Personally I reckon we need Varnish or a Mercury-type setup soon...
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Controversy is growing for TN's activities and there's always the chance
of us being Slashdotted. Not important for launch, obviously, but nice to
have a migration plan in place. What have you learned Chris?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
That I'd need a day or so to play with it, I was thinking of following this article and testing it on the dev server: &lt;a class="ext-link" href="http://library.linode.com/development/frameworks/php/project-mercury/debian-5-lenny"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://library.linode.com/development/frameworks/php/project-mercury/debian-5-lenny&lt;/a&gt; Tis would have to be done after the server switch due to time constraints.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 28 Oct 2010 11:53:15 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:10</guid>
      <description>
        &lt;p&gt;
Re: &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt;/GD etc... Use the best match to LIVE unless there's a better way.
&lt;/p&gt;
&lt;p&gt;
In any case, to change the image processing in Drupal: Once the right underlying libraries are in place, it's a case of going to &lt;a class="ext-link" href="https://live.quince.webarch.net/admin/build/modules"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://live.quince.webarch.net/admin/build/modules&lt;/a&gt; to enable the correct ImageAPI backend module. Then you'd go to &lt;a class="ext-link" href="https://live.quince.webarch.net/admin/settings/imageapi"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://live.quince.webarch.net/admin/settings/imageapi&lt;/a&gt; and ensure it's set up properly. It's all pretty simple.
&lt;/p&gt;
&lt;p&gt;
Re: Cacherouter &amp;amp; other drupal issues...
I wonder if the correct SVN checkout will have fixed many of these.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 28 Oct 2010 13:52:14 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;4.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;8.0&lt;/em&gt; to &lt;em&gt;12.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
Re: ImageMagick?/GD etc... Use the best match to LIVE unless there's a better way.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
The current live server has a very different setup in this regard since it's running FreeBSD... I'll look at it...
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Re: Cacherouter &amp;amp; other drupal issues...
I wonder if the correct SVN checkout will have fixed many of these.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Hopefully :-)
&lt;/p&gt;
&lt;p&gt;
I haven't had much joy with APC, it didn't seem any quicker and was generating a lot of error messages, see &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer#apc"&gt;wiki:NewLiveServer#apc&lt;/a&gt; so the site is using the filecache.
&lt;/p&gt;
&lt;p&gt;
I've done another update of the database from gaia but it has resulted in some errors on pages like this one &lt;a class="ext-link" href="https://live.quince.webarch.net/user"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://live.quince.webarch.net/user&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'notifications_access_user' was given in /web/transitionnetwork.org/www/includes/menu.inc on line 452.
&lt;/pre&gt;&lt;p&gt;
This need tracking down...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 28 Oct 2010 14:04:36 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:12</guid>
      <description>
        &lt;p&gt;
Those kind of errors (call_user_func_array) generally stem from Drupal not being able to find a function in code that is referenced in the database. I cleared the caches and the issue went away.
&lt;/p&gt;
&lt;p&gt;
I would suggest that LIVE's codebase is not quite a match for the DEV branch that Quince ues (probably due to those merge errors I have had over the months). In any case, clearing the caches removed the reference to the incorrect/outdated/moved function and told Drupal to recheck and re-cache its hooks.
&lt;/p&gt;
&lt;p&gt;
In other words I think it's a non-issue.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 29 Oct 2010 20:16:20 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:13</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:13</guid>
      <description>
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
clearing the caches removed the reference to the incorrect/outdated/moved function and told Drupal to recheck and re-cache its hooks
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Thanks for that, do you, by any chance, know what the SQL commands would be to achieve this -- if I add these to the script for syncing the database between servers it would make it work better... :-)
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 01 Nov 2010 15:21:24 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:14</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;1.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;12.0&lt;/em&gt; to &lt;em&gt;13.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
&lt;a class="ext-link" href="http://wiki.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wiki.transitionnetwork.org/&lt;/a&gt; and &lt;a class="ext-link" href="http://static.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://static.transitionnetwork.org/&lt;/a&gt; have been migrated to the new live server but there is a 24 hour TTL on the DNS so you might not get the new server yet...
&lt;/p&gt;
&lt;p&gt;
The Drupal migration will happen tomorrow with a 1 min TTL :-)
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 02 Nov 2010 15:18:57 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:15</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;13.5&lt;/em&gt; to &lt;em&gt;16.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The server switch has been done.
&lt;/p&gt;
&lt;p&gt;
Outstanding items:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;imagemagick
&lt;/li&gt;&lt;li&gt;monitor munin stats &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; and tweak apache / mysql settings as needs be
&lt;/li&gt;&lt;li&gt;monitor the drupal logs &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/reports/dblog"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/reports/dblog&lt;/a&gt; and look into any problems
&lt;/li&gt;&lt;li&gt;update documentation on the wiki
&lt;/li&gt;&lt;li&gt;set up stats? &lt;a class="ext-link" href="http://awstats.sf.net/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://awstats.sf.net/&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 03 Nov 2010 13:59:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:16</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:16</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;16.0&lt;/em&gt; to &lt;em&gt;16.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;blockquote class="citation"&gt;
&lt;p&gt;
In any case, to change the image processing in Drupal: Once the right underlying libraries are in place, it's a case of going to &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/build/modules"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/build/modules&lt;/a&gt; to enable the correct ImageAPI backend module. Then you'd go to &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/settings/imageapi"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/settings/imageapi&lt;/a&gt; and ensure it's set up properly.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK, that's done, and seem to work, I think, if any one knows some good test for it please do them or point me in the right direction.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 03 Nov 2010 16:09:30 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:17</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;16.5&lt;/em&gt; to &lt;em&gt;16.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
There was an ImageMagick issue:
&lt;/p&gt;
&lt;pre class="wiki"&gt;	The specified ImageMagick path /usr/local/bin/convert does not exist.
&lt;/pre&gt;&lt;p&gt;
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/reports/event/618152"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/reports/event/618152&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I have added a sym link from /usr/local/bin/convert (the path on the old live server) to the correct path, /usr/bin/convert but it would also be good to track down where we need to chance this setting.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Wed, 03 Nov 2010 16:15:45 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/147#comment:18</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:18</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;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;
        &lt;p&gt;
It's in: &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/settings/imageapi/config"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/settings/imageapi/config&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I've updated it to the correct path so the symlink isn't needed now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Thu, 04 Nov 2010 11:58:55 GMT</pubDate>
      <title>status changed; resolution deleted</title>
      <link>http://localhost:8080/trac/ticket/147#comment:19</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:19</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;closed&lt;/em&gt; to &lt;em&gt;reopened&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                &lt;em&gt;fixed&lt;/em&gt; deleted
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
getting some imagemagick burble at the of things I'm editing with images in them:
(&lt;a class="ext-link" href="http://www.transitionnetwork.org/blogs/ed-mitchell/2010-04/creating-news-item"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/blogs/ed-mitchell/2010-04/creating-news-item&lt;/a&gt;)
&lt;/p&gt;
&lt;p&gt;
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; command: /usr/bin/convert 'sites/default/files/uploaded/u4/news-item-guide-1.png' -resize 500x319! -quality '80' 'sites/default/files/resize/uploaded/u4/news-item-guide-1-500x319.png'
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; output:
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; command: /usr/bin/convert 'sites/default/files/uploaded/u4/news-item-guide-2.png' -resize 500x315! -quality '80' 'sites/default/files/resize/uploaded/u4/news-item-guide-2-500x315.png'
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; output:
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; command: /usr/bin/convert 'sites/default/files/uploaded/u4/news-item-guide-3.png' -resize 500x271! -quality '80' 'sites/default/files/resize/uploaded/u4/news-item-guide-3-500x271.png'
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; output:
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; command: /usr/bin/convert 'sites/default/files/uploaded/u4/news-item-guide-4.png' -resize 500x319! -quality '80' 'sites/default/files/resize/uploaded/u4/news-item-guide-4-500x319.png'
# &lt;a class="missing wiki"&gt;ImageMagick?&lt;/a&gt; output:
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Thu, 04 Nov 2010 13:56:44 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/147#comment:20</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:20</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;reopened&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;
        &lt;p&gt;
Debugging was on... now it's not.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 05 Nov 2010 16:36:38 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:21</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;4.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;16.7&lt;/em&gt; to &lt;em&gt;20.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have done a lot of tidying of documentation for the dev server today, I hoped to also do the same for the live server documentation but that will have to be done another day.
&lt;/p&gt;
&lt;p&gt;
This page is now clear about what is running on the dev server:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://kiwi.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://kiwi.transitionnetwork.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The dev server docs are upto date:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://tech.transitionnetwork.org/trac/wiki/DevelopmentServer"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://tech.transitionnetwork.org/trac/wiki/DevelopmentServer&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
And I have rewritten the live2dev and wiki-live2dev scripts so that they work with the new live server, see the &lt;a class="wiki" href="http://localhost:8080/trac/wiki/DevelopmentServer"&gt;wiki:DevelopmentServer&lt;/a&gt; documentation for more on these.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 10 Nov 2010 15:20:26 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/147#comment:22</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#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;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;20.7&lt;/em&gt; to &lt;em&gt;21.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I've done some tidying up of the documentation, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer"&gt;wiki:NewLiveServer&lt;/a&gt; and I still need to document how the FTP server is set up.
&lt;/p&gt;
&lt;p&gt;
Also phpmyadmin &lt;a class="ext-link" href="https://quince.transitionnetwork.org/phpmyadmin"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://quince.transitionnetwork.org/phpmyadmin&lt;/a&gt; and the php &lt;a class="ext-link" href="https://quince.transitionnetwork.org/info/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://quince.transitionnetwork.org/info/&lt;/a&gt; and apc info &lt;a class="ext-link" href="https://quince.transitionnetwork.org/info/apc.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://quince.transitionnetwork.org/info/apc.php&lt;/a&gt; have been moved off the www.transitionnetwork.org domain name to quince.transtitionnetwork.org and a static page at &lt;a class="ext-link" href="http://quince.transtitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://quince.transtitionnetwork.org/&lt;/a&gt; lists the sites running on the server.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 11 Nov 2010 14:59:28 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/147#comment:23</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/147#comment:23</guid>
      <description>
        &lt;p&gt;
This is now finished -- the docs are up to date: &lt;a class="wiki" href="http://localhost:8080/trac/wiki/NewLiveServer"&gt;wiki:NewLiveServer&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>