[tahoe-dev] upgrading server, expect some bumps

Brian Warner warner at lothar.com
Mon Oct 21 06:26:05 UTC 2013


On 10/20/13 5:40 PM, Brian Warner wrote:

> FYI, I'm upgrading the server that hosts tahoe-lafs.org this
> afternoon.. don't be surprised if Trac is unavailable for a bit as I
> work out the bugs.

So, the server is mostly upgraded, but something went weird in the
process, and things are kind of broken right now. Here's the current
state:

* trac is running, but page rendering is omitting headers and footers,
   which means there's no nav bar to find the other pages
* all existing links (tickets, reports, retc) will show their main
   contents, but not the headers/footers
* buildmasters are currently offline

I have to stop for the night, but I'll dive back into this again
tomorrow. For the curious:

* the root problem is that we were using locally-compiled versions of
   uwsgi, trac, and a bunch of trac plugins, all of which depended upon
   python2.6 . Ubuntu "Lucid" had py2.6, but "Precise" only has py2.7. So
   these things needed to be rebuilt for py2.7 . I'd prefer to stick with
   (or revert to) the OS-supplied versions, but they're somewhat old.
* the trac root page (https://tahoe-lafs.org/trac/tahoe-lafs) is loading
   trac/wiki/templates/wiki_view.html correctly, but then it is failing
   to heed the <xi:include href="layout.html"> directive that would pull
   in the headers and footers. According to strace, it isn't even trying
   to find layout.html. It works if I run the instance with "tracd -p
   8080", but not with our normal nginx+uwsgi environment.

If there's a trac/uwsgi/nginx expert in the audience and this rings a
bell for you, please let me know.. I'm baffled.

sorry for the downtime,
  -Brian


More information about the tahoe-dev mailing list