<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #561: Move Transition Research patterns Wagn website onto Penguin</title>
    <link>http://localhost:8080/trac/ticket/561</link>
    <description>&lt;p&gt;
The Transition Research group currently host their pattern language in the cloud here:
&lt;a class="ext-link" href="http://patterns.transitionresearchnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://patterns.transitionresearchnetwork.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
(Chris has done a re-direct for this already)
&lt;/p&gt;
&lt;p&gt;
They are keen to move the whole site and WAGN system onto TN servers.
&lt;/p&gt;
&lt;p&gt;
Please investigate and let me know what it will take to sort hosting this out.
&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/561</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 11 Jun 2013 19:59:30 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;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;
This would take a few hours work, Phusion Passenger and Nginx on &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PenguinServer"&gt;wiki:PenguinServer&lt;/a&gt; is a possibility, these are the docs I have looked at:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://wagn.org/installation"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/installation&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://wagn.org/wagn_in_production"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/wagn_in_production&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.phusionpassenger.com/download"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.phusionpassenger.com/download&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://www.modrails.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.modrails.com/documentation/Users%20guide%20Nginx.html#install_on_debian_ubuntu&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Or we could start by simply using Ngnix as a reverse proxy to the Rails' built-in webserver, Webrick -- this would be quicker to set up and as long as the site doesn't get a huge amount of traffic would probably be fine -- we could always switch to Phusion Passenger at a later date.
&lt;/p&gt;
&lt;p&gt;
One (non-urgent) thought I have had is that transition.ac.uk or trn.ac.uk would be nice and short domain names for the TRN, but they would have to have a legal identity to get a .ac.uk domain name so it might be a non-starter.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 19 Jul 2013 09:31:56 GMT</pubDate>
      <title>attachment set</title>
      <link>http://localhost:8080/trac/ticket/561</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;penguin-2013-09-19_memory-week.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Penguin RAM by Week 2013-09-19
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 19 Jul 2013 09:57:32 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.25&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a href="http://localhost:8080/trac/ticket/561#comment:1" title="Comment 1 for Ticket #561"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
we could start by simply using Ngnix as a reverse proxy to the Rails' built-in webserver, Webrick -- this would be quicker to set up and as long as the site doesn't get a huge amount of traffic would probably be fine -- we could always switch to Phusion Passenger at a later date.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Agreed with Ed at a meeting earlier this week that the above approach makes sense, Penguin also now has an extra 1GB of RAM so it should be fine running a Webrick server, see:
&lt;/p&gt;
&lt;p&gt;
&lt;a style="padding:0; border:none" href="http://localhost:8080/trac/attachment/ticket/561/penguin-2013-09-19_memory-week.png"&gt;&lt;img src="http://localhost:8080/trac/raw-attachment/ticket/561/penguin-2013-09-19_memory-week.png" alt="Penguin RAM by Week 2013-09-19" title="Penguin RAM by Week 2013-09-19" /&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://penguin.transitionnetwork.org/munin/transitionnetwork.org/penguin.transitionnetwork.org/memory.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://penguin.transitionnetwork.org/munin/transitionnetwork.org/penguin.transitionnetwork.org/memory.html&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
It might be worth upgrading Penguin to Wheezy before doing the install.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
will no longer strongly support Ruby 1.8.7 after Wagn 2.0
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="http://wagn.org/installation"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/installation&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Squeeze comes with Ruby 1.8.7 &lt;a class="ext-link" href="http://packages.debian.org/squeeze/ruby1.8"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://packages.debian.org/squeeze/ruby1.8&lt;/a&gt; or 1.9.1 &lt;a class="ext-link" href="http://packages.debian.org/squeeze/ruby1.9.1"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://packages.debian.org/squeeze/ruby1.9.1&lt;/a&gt; and so does Wheezy so upgrading to Wheezy isn't a requirement at this stage.
&lt;/p&gt;
&lt;p&gt;
There is a list of required Debian packages here:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://wagn.org/Installation+Ubuntu_Lucid?view=open"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/Installation+Ubuntu_Lucid?view=open&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
I estimate that setting up Wagen via Webbrick and a nginx reverse proxy should take less than an hour and if I have access to the existing server then copying the current site across should take less than an hour and then an hour documenting everything on the wiki -- 3 hours should be a safe maximum estimate.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 19 Jul 2013 09:58:29 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Investigate hosting Transition Research patterns website&lt;/em&gt; to &lt;em&gt;Investigate hosting Transition Research patterns Wagn website&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Mon, 22 Jul 2013 08:53:19 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/561#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:4</guid>
      <description>
        &lt;p&gt;
Have emailed Tom researcher and asked - awaiting his go ahead
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Mon, 05 Aug 2013 08:46:18 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/561#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:5</guid>
      <description>
        &lt;p&gt;
Tom has approved the move, and 3-4 hours of time, so Chris I suggest you do this in September when things are back to operational again?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Mon, 07 Oct 2013 16:09:13 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;Investigate hosting Transition Research patterns Wagn website&lt;/em&gt; to &lt;em&gt;Move Transition Research patterns Wagn website onto Penguin&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Tom's re-approved it - Chris please crack on
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 08 Oct 2013 12:19:12 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:7</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.5&lt;/em&gt; to &lt;em&gt;1.5&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Installing the packages needed from the list here &lt;a class="ext-link" href="http://wagn.org/Installation+Ubuntu_Lucid?view=open"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/Installation+Ubuntu_Lucid?view=open&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install ruby1.9.1 ruby1.9.1-dev rubygems git-core imagemagick libmagick9-dev
Note: selecting "libmagickwand-dev" instead of the
      virtual package "libmagick9-dev"
The following NEW packages will be installed:
  autopoint{a} autotools-dev{a} binutils{a} build-essential{a} cpp{a} cpp-4.4{a} debhelper{a} dpkg-dev{a} exiv2{a} fakeroot{a} g++{a} g++-4.4{a} gcc{a}
  gcc-4.4{a} gettext{a} gettext-base{a} ghostscript{a} git-core gsfonts{a} hicolor-icon-theme{a} html2text{a} imagemagick intltool-debian{a}
  libalgorithm-diff-perl{a} libalgorithm-diff-xs-perl{a} libalgorithm-merge-perl{a} libatk1.0-0{a} libatk1.0-data{a} libatk1.0-dev{a}
  libavahi-client3{a} libavahi-common-data{a} libavahi-common3{a} libbz2-dev{a} libc-dev-bin{a} libc6-dev{a} libcairo2-dev{ab} libcdt4{a} libcgraph5{a}
  libcroco3{a} libcups2{a} libcupsimage2{a} libdjvulibre-dev{a} libdjvulibre-text{a} libdjvulibre21{a} libdpkg-perl{a} libexif-dev{a} libexif12{a}
  libexiv2-9{a} libexpat1-dev{a} libffi5{a} libfontconfig1-dev{a} libfreetype6-dev{a} libglib2.0-dev{a} libgmp3c2{a} libgomp1{a} libgraph4{a}
  libgraphviz-dev{a} libgs8{a} libgsf-1-114{a} libgsf-1-common{a} libgtk2.0-0{a} libgtk2.0-bin{a} libgtk2.0-common{a} libgtk2.0-dev{a} libgvc5{a}
  libgvpr1{a} libice-dev{a} libice6{a} libilmbase-dev{a} libilmbase6{a} libjasper-dev{a} libjasper1{a} libjbig2dec0{a} libjpeg62-dev{a} liblcms1-dev{a}
  liblqr-1-0{a} liblqr-1-0-dev{a} libltdl-dev{a} libltdl7{a} libmagickcore-dev{a} libmagickcore3{a} libmagickcore3-extra{a} libmagickwand-dev
  libmagickwand3{a} libmail-sendmail-perl{a} libmpfr4{a} libnetpbm10{a} libopenexr-dev{a} libopenexr6{a} libpango1.0-dev{a} libpathplan4{a}
  libpixman-1-dev{ab} libpng12-dev{a} libpthread-stubs0{a} libpthread-stubs0-dev{a} libreadline5{a} librsvg2-2{a} librsvg2-dev{a} libruby1.8{a}
  libruby1.9.1{a} libsm-dev{a} libsm6{a} libstdc++6-4.4-dev{a} libsys-hostname-long-perl{a} libtiff4{a} libtiff4-dev{a} libtiffxx0c2{a} libtool{a}
  libunistring0{a} libwmf-dev{a} libwmf0.2-7{a} libx11-dev{a} libxau-dev{a} libxcb-render-util0{a} libxcb-render-util0-dev{a} libxcb-render0-dev{a}
  libxcb1-dev{a} libxcomposite-dev{a} libxcomposite1{a} libxcursor-dev{a} libxcursor1{a} libxdamage-dev{a} libxdamage1{a} libxdmcp-dev{a} libxdot4{a}
  libxext-dev{a} libxfixes-dev{a} libxfixes3{a} libxft-dev{a} libxi-dev{a} libxi6{a} libxinerama-dev{a} libxinerama1{a} libxml2-dev{a} libxrandr-dev{a}
  libxrandr2{a} libxrender-dev{a} libxt-dev{a} libxt6{a} libyaml-0-2{a} linux-libc-dev{a} make{a} manpages-dev{a} netpbm{a} ocaml-base-nox{a}
  pkg-config{a} po-debconf{a} ruby1.8{a} ruby1.8-dev{a} ruby1.9.1 ruby1.9.1-dev rubygems rubygems1.8{a} ufraw-batch{a} x11proto-composite-dev{a}
  x11proto-core-dev{a} x11proto-damage-dev{a} x11proto-fixes-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a} x11proto-randr-dev{a}
  x11proto-render-dev{a} x11proto-xext-dev{a} x11proto-xinerama-dev{a} xtrans-dev{a} zlib1g-dev{a}
0 packages upgraded, 166 newly installed, 0 to remove and 0 not upgraded.
Need to get 93.9 MB of archives. After unpacking 282 MB will be used.
The following packages have unmet dependencies:
  libpixman-1-dev: Depends: libpixman-1-0 (= 0.16.4-1) but 0.24.0-1~bpo60+1 is installed.
  libcairo2-dev: Depends: libcairo2 (= 1.8.10-6) but 1.10.2-7~bpo60+1 is installed.
The following actions will resolve these dependencies:
     Keep the following packages at their current version:
1)     libcairo2-dev [Not Installed]
2)     libgtk2.0-dev [Not Installed]
3)     libmagickcore-dev [Not Installed]
4)     libmagickwand-dev [Not Installed]
5)     libpango1.0-dev [Not Installed]
6)     libpixman-1-dev [Not Installed]
7)     librsvg2-dev [Not Installed]
Accept this solution? [Y/n/q/?] q
&lt;/pre&gt;&lt;p&gt;
So, these are the packages from backports which are installed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dpkg -l  |awk '/^ii/ &amp;amp;&amp;amp; $3 ~ /bpo[456]0/ {print $2}'
gawk
geoip-database
libcairo2
libgeoip1
liblog-dispatch-perl
libnet-server-perl
libpixman-1-0
liburi-perl
libxfont1
munin
munin-common
munin-doc
munin-node
munin-plugins-core
munin-plugins-extra
python-babel
trac
x11-common
&lt;/pre&gt;&lt;p&gt;
So we could upgrade to Wheezy at this stage or install from backports... installing the libpixman-1-dev and libcairo2-dev packages from backports:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude -t squeeze-backports install libpixman-1-dev libcairo2-dev
The following NEW packages will be installed:
  binutils{a} cpp{a} cpp-4.4{a} gcc{a} gcc-4.4{a} libc-dev-bin{a} libc6-dev{a} libcairo-gobject2{a} libcairo-script-interpreter2{a} libcairo2-dev
  libexpat1-dev{a} libfontconfig1-dev{a} libfreetype6-dev{a} libglib2.0-dev{a} libgmp3c2{a} libgomp1{a} libice-dev{a} libice6{a} libmpfr4{a}
  libpixman-1-dev libpng12-dev{a} libpthread-stubs0{a} libpthread-stubs0-dev{a} libsm-dev{a} libsm6{a} libx11-dev{a} libxau-dev{a}
  libxcb-render0-dev{a} libxcb-shm0-dev{a} libxcb1-dev{a} libxdmcp-dev{a} libxrender-dev{a} linux-libc-dev{a} manpages-dev{a} pkg-config{a}
  x11proto-core-dev{a} x11proto-input-dev{a} x11proto-kb-dev{a} x11proto-render-dev{a} xorg-sgml-doctools{a} xtrans-dev{a} zlib1g-dev{a}
0 packages upgraded, 42 newly installed, 0 to remove and 16 not upgraded.
Need to get 27.5 MB of archives. After unpacking 77.3 MB will be used.
Do you want to continue? [Y/n/?]Y
&lt;/pre&gt;&lt;p&gt;
Rerunning the original list of packages to install:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install ruby1.9.1 ruby1.9.1-dev rubygems git-core imagemagick libmagick9-dev
Note: selecting "libmagickwand-dev" instead of the
      virtual package "libmagick9-dev"
The following NEW packages will be installed:
  autopoint{a} autotools-dev{a} build-essential{a} debhelper{a} dpkg-dev{a} exiv2{a} fakeroot{a} g++{a} g++-4.4{a} gettext{a} gettext-base{a}
  ghostscript{a} git-core gsfonts{a} hicolor-icon-theme{a} html2text{a} imagemagick intltool-debian{a} libalgorithm-diff-perl{a}
  libalgorithm-diff-xs-perl{a} libalgorithm-merge-perl{a} libatk1.0-0{a} libatk1.0-data{a} libatk1.0-dev{a} libavahi-client3{a} libavahi-common-data{a}
  libavahi-common3{a} libbz2-dev{a} libcdt4{a} libcgraph5{a} libcroco3{a} libcups2{a} libcupsimage2{a} libdjvulibre-dev{a} libdjvulibre-text{a}
  libdjvulibre21{a} libdpkg-perl{a} libexif-dev{a} libexif12{a} libexiv2-9{a} libffi5{a} libgraph4{a} libgraphviz-dev{a} libgs8{a} libgsf-1-114{a}
  libgsf-1-common{a} libgtk2.0-0{a} libgtk2.0-bin{a} libgtk2.0-common{a} libgtk2.0-dev{a} libgvc5{a} libgvpr1{a} libilmbase-dev{a} libilmbase6{a}
  libjasper-dev{a} libjasper1{a} libjbig2dec0{a} libjpeg62-dev{a} liblcms1-dev{a} liblqr-1-0{a} liblqr-1-0-dev{a} libltdl-dev{a} libltdl7{a}
  libmagickcore-dev{a} libmagickcore3{a} libmagickcore3-extra{a} libmagickwand-dev libmagickwand3{a} libmail-sendmail-perl{a} libnetpbm10{a}
  libopenexr-dev{a} libopenexr6{a} libpango1.0-dev{a} libpathplan4{a} libreadline5{a} librsvg2-2{a} librsvg2-dev{a} libruby1.8{a} libruby1.9.1{a}
  libstdc++6-4.4-dev{a} libsys-hostname-long-perl{a} libtiff4{a} libtiff4-dev{a} libtiffxx0c2{a} libtool{a} libunistring0{a} libwmf-dev{a}
  libwmf0.2-7{a} libxcomposite-dev{a} libxcomposite1{a} libxcursor-dev{a} libxcursor1{a} libxdamage-dev{a} libxdamage1{a} libxdot4{a} libxext-dev{a}
  libxfixes-dev{a} libxfixes3{a} libxft-dev{a} libxi-dev{a} libxi6{a} libxinerama-dev{a} libxinerama1{a} libxml2-dev{a} libxrandr-dev{a} libxrandr2{a}
  libxt-dev{a} libxt6{a} libyaml-0-2{a} make{a} netpbm{a} ocaml-base-nox{a} po-debconf{a} ruby1.8{a} ruby1.8-dev{a} ruby1.9.1 ruby1.9.1-dev rubygems
  rubygems1.8{a} ufraw-batch{a} x11proto-composite-dev{a} x11proto-damage-dev{a} x11proto-fixes-dev{a} x11proto-randr-dev{a} x11proto-xext-dev{a}
  x11proto-xinerama-dev{a}
0 packages upgraded, 126 newly installed, 0 to remove and 0 not upgraded.
Need to get 68.6 MB of archives. After unpacking 209 MB will be used.
Do you want to continue? [Y/n/?] Y
&lt;/pre&gt;&lt;p&gt;
Also:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install libmysql-ruby libmysqlclient-dev
&lt;/pre&gt;&lt;p&gt;
And:
&lt;/p&gt;
&lt;pre class="wiki"&gt;gem install rubygems-update
Successfully installed rubygems-update-2.1.5
1 gem installed
Installing ri documentation for rubygems-update-2.1.5...
Installing RDoc documentation for rubygems-update-2.1.5...
&lt;/pre&gt;&lt;p&gt;
And:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/var/lib/gems/1.8/bin/update_rubygems
RubyGems 2.1.5 installed
Installing ri documentation for rubygems-2.1.5
...
------------------------------------------------------------------------------
RubyGems installed the following executables:
        /usr/bin/gem1.8
Ruby Interactive (ri) documentation was installed. ri is kind of like man
pages for ruby libraries. You may access it like this:
  ri Classname
  ri Classname.class_method
  ri Classname#instance_method
If you do not wish to install this documentation in the future, use the
--no-document flag, or set it as the default in your ~/.gemrc file. See
'gem help env' for details.
&lt;/pre&gt;&lt;p&gt;
Next:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Fetching: bundler-1.3.5.gem (100%)
Successfully installed bundler-1.3.5
Installing ri documentation for bundler-1.3.5
/usr/lib/ruby/1.8/rdoc/rdoc.rb:280: warning: conflicting chdir during another chdir block
/usr/lib/ruby/1.8/rdoc/rdoc.rb:287: warning: conflicting chdir during another chdir block
Done installing documentation for bundler after 13 seconds
1 gem installed
&lt;/pre&gt;&lt;p&gt;
I'm not sure if the implications, if any, of these warnings.
&lt;/p&gt;
&lt;p&gt;
Next onto the &lt;a class="ext-link" href="http://wagn.org/installation"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/installation&lt;/a&gt; steps.
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /web
git clone https://github.com/wagn/wagn.git
Cloning into wagn...
remote: Counting objects: 73397, done.
remote: Compressing objects: 100% (19645/19645), done.
remote: Total 73397 (delta 54419), reused 71551 (delta 52743)
Receiving objects: 100% (73397/73397), 28.23 MiB | 2.44 MiB/s, done.
Resolving deltas: 100% (54419/54419), done.
&lt;/pre&gt;&lt;pre class="wiki"&gt;cd /web/wagn
bundle install --without postgres:memcache:test:debug:development:assets
Fetching gem metadata from http://rubygems.org/.........
Fetching gem metadata from http://rubygems.org/..
Resolving dependencies...
Installing rake (10.1.0)
Installing i18n (0.6.5)
Installing multi_json (1.8.0)
Installing activesupport (3.2.14)
Installing builder (3.0.4)
Installing activemodel (3.2.14)
Installing erubis (2.7.0)
Installing journey (1.0.4)
Installing rack (1.4.5)
Installing rack-cache (1.2)
Installing rack-test (0.6.2)
Installing hike (1.2.3)
Installing tilt (1.4.1)
Installing sprockets (2.2.2)
Installing actionpack (3.2.14)
Installing mime-types (1.25)
Installing polyglot (0.3.3)
Installing treetop (1.4.15)
Installing mail (2.5.4)
Installing actionmailer (3.2.14)
Installing arel (3.0.2)
Installing tzinfo (0.3.37)
Installing activerecord (3.2.14)
Installing activeresource (3.2.14)
Installing json (1.8.0)
Installing airbrake (3.1.14)
Using bundler (1.3.5)
Installing climate_control (0.0.3)
Installing cocaine (0.5.2)
Installing coderay (1.1.0)
Installing htmlentities (4.3.1)
Installing systemu (2.5.2)
Installing macaddr (1.6.1)
Installing mysql2 (0.3.13)
Installing paperclip (2.8.0)
Installing rack-ssl (1.3.3)
Installing rdoc (3.12.2)
Installing thor (0.18.1)
Installing railties (3.2.14)
Installing rails (3.2.14)
Installing recaptcha (0.3.5)
Installing rmagick (2.13.2)
Installing ruby-prof (0.12.2)
Installing rubyzip (0.9.9)
Installing sass (3.2.11)
Installing smartname (0.2.3)
Installing uuid (2.3.7)
Installing xmlscan (0.3.0)
Your bundle is complete!
Gems in the groups postgres, memcache, test, debug, development and assets were not installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
Post-install message from rdoc:
Depending on your version of ruby, you may need to install ruby rdoc/ri data:
&amp;lt;= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
&amp;gt;= 1.9.2 : nothing to do! Yay!
&lt;/pre&gt;&lt;p&gt;
Then:
&lt;/p&gt;
&lt;pre class="wiki"&gt;bundle exec rake wagn:install
cp /web/wagn/config/samples/wagn.yml /web/wagn/config
&lt;/pre&gt;&lt;p&gt;
Then a database was created:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mysql&amp;gt; CREATE DATABASE wagn;
mysql&amp;gt; GRANT USAGE ON *.* TO wagn@localhost IDENTIFIED BY 'XXXXXX';
mysql&amp;gt; GRANT ALL PRIVILEGES ON wagn.* TO wagn@localhost;
mysql&amp;gt; FLUSH PRIVILEGES;
&lt;/pre&gt;&lt;p&gt;
Then &lt;tt&gt;/web/wagn/config/database.yml&lt;/tt&gt; was edited:
&lt;/p&gt;
&lt;pre class="wiki"&gt;production:
  database: wagn
  adapter: mysql2
  username: wagn
  password: XXXXXX
  pool: 5
  encoding: utf8
  host: localhost
#  socket: /tmp/mysql.sock
&lt;/pre&gt;&lt;p&gt;
Then:
&lt;/p&gt;
&lt;pre class="wiki"&gt;bundle exec rake wagn:create
dropping
creating
loading schema
-- create_table("card_references", {:force=&amp;gt;true})
   -&amp;gt; 0.1018s
-- add_index("card_references", ["referee_id"], {:name=&amp;gt;"wiki_references_referenced_card_id"})
   -&amp;gt; 0.1018s
-- add_index("card_references", ["referee_key"], {:name=&amp;gt;"wiki_references_referenced_name"})
   -&amp;gt; 0.0103s
-- add_index("card_references", ["referer_id"], {:name=&amp;gt;"wiki_references_card_id"})
   -&amp;gt; 0.0124s
-- create_table("card_revisions", {:force=&amp;gt;true})
   -&amp;gt; 0.0059s
-- add_index("card_revisions", ["card_id"], {:name=&amp;gt;"revisions_card_id_index"})
   -&amp;gt; 0.0072s
-- add_index("card_revisions", ["creator_id"], {:name=&amp;gt;"revisions_created_by_index"})
   -&amp;gt; 0.0080s
-- create_table("cards", {:force=&amp;gt;true})
   -&amp;gt; 0.0062s
-- add_index("cards", ["key"], {:unique=&amp;gt;true, :name=&amp;gt;"cards_key_uniq"})
   -&amp;gt; 0.0079s
-- add_index("cards", ["left_id"], {:name=&amp;gt;"index_cards_on_trunk_id"})
   -&amp;gt; 0.0079s
-- add_index("cards", ["name"], {:name=&amp;gt;"cards_name_index"})
   -&amp;gt; 0.0081s
-- add_index("cards", ["read_rule_id"], {:name=&amp;gt;"index_cards_on_read_rule_id"})
   -&amp;gt; 0.0272s
-- add_index("cards", ["right_id"], {:name=&amp;gt;"index_cards_on_tag_id"})
   -&amp;gt; 0.0161s
-- add_index("cards", ["type_id"], {:name=&amp;gt;"card_type_index"})
   -&amp;gt; 0.0176s
-- create_table("schema_migrations_cards", {:force=&amp;gt;true, :id=&amp;gt;false})
   -&amp;gt; 0.0144s
-- add_index("schema_migrations_cards", ["version"], {:unique=&amp;gt;true, :name=&amp;gt;"unique_schema_migrations_cards"})
   -&amp;gt; 0.0092s
-- create_table("sessions", {:force=&amp;gt;true})
   -&amp;gt; 0.0063s
-- add_index("sessions", ["session_id"], {:name=&amp;gt;"sessions_session_id_index"})
   -&amp;gt; 0.0079s
-- create_table("users", {:force=&amp;gt;true})
   -&amp;gt; 0.0064s
-- initialize_schema_migrations_table()
   -&amp;gt; 0.0124s
-- assume_migrated_upto_version(20130411210957, ["/web/wagn/db/migrate"])
   -&amp;gt; 0.0059s
-- assume_migrated_upto_version("20130927191728", ["/web/wagn/db/migrate_cards"])
   -&amp;gt; 0.0056s
loading bootstrap
bootstrap load starting
&lt;/pre&gt;&lt;p&gt;
The command for running the server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;env STATIC_ASSETS=true bundle exec rails server
&lt;/pre&gt;&lt;p&gt;
Before that was run a wagn user was created and the files were chowned:
&lt;/p&gt;
&lt;pre class="wiki"&gt;adduser --home /web/wagn --disabled-login wagn
chown -R wagn:wagn /web/wagn/
&lt;/pre&gt;&lt;p&gt;
Then the /usr/local/bin/su-trac script was copied to su-wagn, it contains:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
su - wagn -s /bin/bash
&lt;/pre&gt;&lt;p&gt;
So to start the server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;su-wagn
env STATIC_ASSETS=true bundle exec rails server
=&amp;gt; Booting WEBrick
=&amp;gt; Rails 3.2.14 application starting in production on http://0.0.0.0:3000
=&amp;gt; Call with -d to detach
=&amp;gt; Ctrl-C to shutdown server
[2013-10-08 13:04:07] INFO  WEBrick 1.3.1
[2013-10-08 13:04:07] INFO  ruby 1.8.7 (2010-08-16) [x86_64-linux]
[2013-10-08 13:04:07] INFO  WEBrick::HTTPServer#start: pid=19565 port=3000
&lt;/pre&gt;&lt;p&gt;
And test it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;lynx http://localhost:3000/
&lt;/pre&gt;&lt;p&gt;
And it works, so, the next steps are:
&lt;/p&gt;
&lt;ol&gt;&lt;li&gt;Sort out a firewall so people can't connect directly to wagn sites on port 3000 / make webbrick only listen on localhost
&lt;/li&gt;&lt;li&gt;Sort out a Nginx reverse proxy and http auth to start with
&lt;/li&gt;&lt;/ol&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Tue, 08 Oct 2013 13:55:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:8</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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.75&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.5&lt;/em&gt; to &lt;em&gt;2.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
To set it to only listen to localhost:
&lt;/p&gt;
&lt;pre class="wiki"&gt;env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1
&lt;/pre&gt;&lt;p&gt;
To make it run and detach from the shell:
&lt;/p&gt;
&lt;pre class="wiki"&gt;env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1 -d
=&amp;gt; Booting WEBrick
=&amp;gt; Rails 3.2.14 application starting in production on http://127.0.0.1:3000
&lt;/pre&gt;&lt;p&gt;
Scripts in /web/wagn/bin were created for starting and stopping the server, wagn-start:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
env STATIC_ASSETS=true bundle exec rails server --binding=127.0.0.1
&lt;/pre&gt;&lt;p&gt;
And wagn-stop:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
kill -INT $(cat /web/wagn/tmp/pids/server.pid)
&lt;/pre&gt;&lt;p&gt;
Create a htauth passwd:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /web/wagn/
/web/tech.transitionnetwork.org/bin/htpasswd -cs .htpasswd wagn
&lt;/pre&gt;&lt;p&gt;
Create /etc/nginx/sites-available/wagn initially HTTPS only:
&lt;/p&gt;
&lt;pre class="wiki"&gt;# wagn.transitionnetwork.org
# virtual server
# http://nginx.org/en/docs/http/ngx_http_core_module.html#server
server {
        # listen for ipv4
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
        #listen   8000;
        listen   80;
        # server name and server aliases
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name
        server_name wagn.transitionnetwork.org wagn.transitionresearchnetwork.org wagn.penguin.webarch.net;
        # logs, error log levels: info | notice | warn | error | crit | alert
        # http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log
        # http://nginx.org/en/docs/ngx_core_module.html#error_log
        access_log  /var/log/nginx/wagn.access.log;
        error_log   /var/log/nginx/wagn.error.log   crit;
        # Redirect to HTTPS
        location / {
                #rewrite ^/(.*)$ https://tech.transitionnetwork.org:4430/$1 permanent;
                rewrite ^/(.*)$ https://$server_name/$1 permanent;
        }
}
# HTTPS server
#
server {
        #listen   4430;
        listen   443;
        server_name wagn.transitionnetwork.org wagn.transitionresearchnetwork.org wagn.penguin.webarch.net;
        access_log  /var/log/nginx/wagn.ssl_access.log;
        error_log   /var/log/nginx/wagn.ssl_error.log crit;
        ssl  on;
        ssl_certificate  /etc/ssl/transitionnetwork.org/transitionnetwork.org.chained.pem;
        ssl_certificate_key  /etc/ssl/transitionnetwork.org/transitionnetwork.org.key;
        #ssl_protocols  SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        #ssl_ciphers  RC4-SHA:HIGH:!ADH:!SSLv2:!aNULL;
        ssl_protocols  SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers  RC4:HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers   on;
        # http://wiki.nginx.org/LikeApache
        location / {
                satisfy any;
                deny all;
                # http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
                auth_basic "Private Area";
                auth_basic_user_file /web/wagn/.htpasswd;
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Server $host;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://localhost:3000/;
        }
}
&lt;/pre&gt;&lt;p&gt;
Enable the site and restart nginx and the site is available here:
&lt;/p&gt;
&lt;p&gt;
&lt;a class="ext-link" href="https://wagn.transitionnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://wagn.transitionnetwork.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I'll send a email to the ttech list with login info etc.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 09 Oct 2013 19:36:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:9</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;1.0&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.25&lt;/em&gt; to &lt;em&gt;3.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
An archive from the existing site was uploaded to the server and first the database was imported, following &lt;a class="ext-link" href="http://wagn.org/Upgrading?view=open"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wagn.org/Upgrading?view=open&lt;/a&gt; and then the files were rsynced across:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cat db | mysql wagn
cd /web/wagn
rake wagn:reset_cache
rake wagn:migrate
 migrating structure
 migrating cards
rm -rf tmp/cache/
rsync -av source/ /web/wagn/local/files/
&lt;/pre&gt;&lt;p&gt;
And now the site appears to all be there, we just need to sort out what we are going to do regarding HTTPS logins.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 10 Oct 2013 08:22:30 GMT</pubDate>
      <title>component changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:10</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:10</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;component&lt;/strong&gt;
                changed from &lt;em&gt;Unassigned&lt;/em&gt; to &lt;em&gt;Wagn&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 10 Oct 2013 13:31:01 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:11</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;0.75&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;3.25&lt;/em&gt; to &lt;em&gt;4.0&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Add ~/bin/ to the path:
&lt;/p&gt;
&lt;pre class="wiki"&gt;echo "export PATH=$PATH:/web/wagn/bin" &amp;gt;&amp;gt; ~/.bash_profile
&lt;/pre&gt;&lt;p&gt;
I have started to document the site on the wiki, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/TransitionResearchWagn"&gt;wiki:TransitionResearchWagn&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Generate a CSR for the HTTPS cert:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /etc/ssl/
mkdir wagn
cd wagn/
 openssl req -nodes -newkey rsa:2048 -keyout wagn.key -out wagn.csr
Generating a 2048 bit RSA private key
......................+++
.............................+++
writing new private key to 'wagn.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) [Internet Widgits Pty Ltd]:
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:patterns.transitionresearchnetwork.org
Email Address []:
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
&lt;/pre&gt;&lt;p&gt;
Now waiting for this to be approved.
&lt;/p&gt;
&lt;p&gt;
I have amended the Nginx config so that requests starting with /account are redirected to HTTPS and also to keep people who access the site using HTTPS I have aded a STS header, so this is the current config (this will need updating when the cert is added):
&lt;/p&gt;
&lt;pre class="wiki"&gt;# http://nginx.org/en/docs/http/ngx_http_core_module.html#server
server {
        # listen for ipv4
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
        #listen   8000;
        listen   80;
        # server name and server aliases
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name
        server_name patterns.transitionresearchnetwork.org www.patterns.transitionresearchnetwork.org wagn.transitionnetwork.org wagn.transitionresearchnetwork.org wagn.penguin.webarch.net;
        # logs, error log levels: info | notice | warn | error | crit | alert
        # http://nginx.org/en/docs/http/ngx_http_log_module.html#access_log
        # http://nginx.org/en/docs/ngx_core_module.html#error_log
        access_log  /var/log/nginx/wagn.access.log;
        error_log   /var/log/nginx/wagn.error.log   crit;
        # Redirect logins to HTTPS
        location /account {
                rewrite  ^/account(.*)$ https://$server_name/account$1 permanent;
        }
        # http://wiki.nginx.org/LikeApache
        location / {
                #satisfy any;
                #deny all;
                # http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
                #auth_basic "Private Area";
                #auth_basic_user_file /web/wagn/.htpasswd;
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Server $host;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://localhost:3000/;
        }
}
# HTTPS server
#
server {
        #listen   4430;
        listen   443;
        server_name patterns.transitionresearchnetwork.org www.patterns.transitionresearchnetwork.org wagn.transitionnetwork.org wagn.transitionresearchnetwork.org wagn.penguin.webarch.net;
        access_log  /var/log/nginx/wagn.ssl_access.log;
        error_log   /var/log/nginx/wagn.ssl_error.log crit;
        ssl  on;
        ssl_certificate  /etc/ssl/transitionnetwork.org/transitionnetwork.org.chained.pem;
        ssl_certificate_key  /etc/ssl/transitionnetwork.org/transitionnetwork.org.key;
        #ssl_protocols  SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        #ssl_ciphers  RC4-SHA:HIGH:!ADH:!SSLv2:!aNULL;
        ssl_protocols  SSLv3 TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers  RC4:HIGH:!aNULL:!MD5;
        ssl_prefer_server_ciphers   on;
        # http://wiki.nginx.org/LikeApache
        location / {
                #satisfy any;
                #deny all;
                # http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
                #auth_basic "Private Area";
                #auth_basic_user_file /web/wagn/.htpasswd;
                # STS https://en.wikipedia.org/wiki/Strict_Transport_Security
                add_header Strict-Transport-Security max-age=31536000;
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Server $host;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://localhost:3000/;
        }
}
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 10 Oct 2013 14:06:31 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:12</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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.35&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;4.35&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Sorting out the cert, which was saved at &lt;tt&gt;/etc/ssl/wagn/wagn.pem&lt;/tt&gt; and following the notes from &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/475#comment:4" title="defect: Generate a new SSL certificate (closed: fixed)"&gt;ticket:475#comment:4&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;wget http://crt.gandi.net/GandiStandardSSLCA.crt -O GandiStandardSSLCA.crt
openssl x509 -inform DER -in GandiStandardSSLCA.crt -out GandiStandardSSLCA.pem
cat wagn.pem &amp;gt;&amp;gt; wagn.chained.pem
cat GandiStandardSSLCA.pem &amp;gt;&amp;gt; wagn.chained.pem
&lt;/pre&gt;&lt;p&gt;
Edit the Nginx config:
&lt;/p&gt;
&lt;pre class="wiki"&gt;        #ssl_certificate  /etc/ssl/transitionnetwork.org/transitionnetwork.org.chained.pem;
        #ssl_certificate_key  /etc/ssl/transitionnetwork.org/transitionnetwork.org.key;
        ssl_certificate  /etc/ssl/wagn/wagn.chained.pem;
        ssl_certificate_key  /etc/ssl/wagn/wagn.key;
&lt;/pre&gt;&lt;p&gt;
Edit the domain zone file to:
&lt;/p&gt;
&lt;pre class="wiki"&gt;@ 10800 IN A 199.34.228.100
patterns 10800 IN A 81.95.52.111
www.patterns 10800 IN A 81.95.52.111
www 10800 IN A 199.34.228.100
&lt;/pre&gt;&lt;p&gt;
From:
&lt;/p&gt;
&lt;pre class="wiki"&gt;@ 10800 IN A 199.34.228.100
wagn 10800 IN A 81.95.52.111
www 10800 IN A 199.34.228.100
patterns 10800 IN CNAME patterns.transitionresearchnetwork.org.230.cldstr.com.
&lt;/pre&gt;&lt;p&gt;
Now need to wait for it to propagate and then check.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 10 Oct 2013 18:41:20 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:13</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.35&lt;/em&gt; to &lt;em&gt;4.45&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The DNS has updated and the site is now live on &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PenguinServer"&gt;PenguinServer&lt;/a&gt;, &lt;a class="ext-link" href="https://patterns.transitionresearchnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://patterns.transitionresearchnetwork.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
The wiki page &lt;a class="wiki" href="http://localhost:8080/trac/wiki/TransitionResearchWagn"&gt;wiki:TransitionResearchWagn&lt;/a&gt; has been updated and I think this ticket is probably ready to be closed.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 12 Oct 2013 14:23:28 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:14</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.45&lt;/em&gt; to &lt;em&gt;4.7&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
To ensure that the WEBrick server starts after the server is rebooted I found the crontab we set up for trac on &lt;a class="closed ticket" href="http://localhost:8080/trac/ticket/470#comment:30" title="maintenance: Penguin install and configuration (closed: fixed)"&gt;ticket:470#comment:30&lt;/a&gt; and added that to the documentation for trac, &lt;a class="wiki" href="http://localhost:8080/trac/wiki/PenguinServer#tech.transitionnetwork.org"&gt;wiki:PenguinServer#tech.transitionnetwork.org&lt;/a&gt; and set the same thing up for the wagn user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;# start wagn after a server reboot
@reboot /web/wagn/bin/wagn-start
&lt;/pre&gt;&lt;p&gt;
And documented it &lt;a class="wiki" href="http://localhost:8080/trac/wiki/TransitionResearchWagn#TransitionResearchPatterns"&gt;wiki:TransitionResearchWagn#TransitionResearchPatterns&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 14 Oct 2013 10:40:44 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:15</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#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;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.7&lt;/em&gt; to &lt;em&gt;4.95&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The redirects to HTTPS for account Sign in and Sign up were not working, they have been fixed by changing the Nginx config and adding &lt;tt&gt;^~&lt;/tt&gt; to the location for &lt;tt&gt;/account&lt;/tt&gt; see &lt;a class="ext-link" href="http://wiki.nginx.org/NginxHttpCoreModule#location"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://wiki.nginx.org/NginxHttpCoreModule#location&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;        # Redirect logins to HTTPS
        location ^~ /account {
                rewrite  ^(.*)$ https://$server_name$1 permanent;
        }
        # http://wiki.nginx.org/LikeApache
        location / {
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Server $host;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://localhost:3000/;
        }
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Wed, 16 Oct 2013 11:15:43 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost:8080/trac/ticket/561#comment:16</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:16</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;Maintenance&lt;/em&gt; to &lt;em&gt;Production&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 15 Nov 2013 14:15:28 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/561#comment:17</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/561#comment:17</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;
There have been no reported issues with the &lt;a class="ext-link" href="https://patterns.transitionresearchnetwork.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://patterns.transitionresearchnetwork.org/&lt;/a&gt; site so this ticket looks like it is safe to close.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>