{"id":26,"date":"2009-05-04T15:35:39","date_gmt":"2009-05-04T14:35:39","guid":{"rendered":"http:\/\/www.jarekwoznica.net\/blog\/?p=26"},"modified":"2009-05-04T15:35:39","modified_gmt":"2009-05-04T14:35:39","slug":"upgrading-trac","status":"publish","type":"post","link":"http:\/\/www.jarekwoznica.net\/blog\/2009\/05\/04\/upgrading-trac\/","title":{"rendered":"Upgrading Trac"},"content":{"rendered":"<p><a href=\"http:\/\/trac.edgewall.org\/\">Trac<\/a> is a great tool but upgrading it may sometimes be tricky. If you are using FreeBSD than the easiest way is to use the portupgrade tool, however if you have multi-project configuration (and fcgi) than take a copy of your trac.fcgi file as it is overwritten by the upgrade tool (and the error output from trac is really very ugly).<\/p>\n<p>After the upgrade you just need to put back these three lines:<\/p>\n<p>import os<br \/>\nos.environ[&#8216;TRAC_ENV_PARENT_DIR&#8217;] = &#8220;\/path\/to\/your\/projects&#8221;<br \/>\nos.environ[&#8216;PYTHON_EGG_CACHE&#8217;] = &#8220;\/path\/to\/your\/plugins-cache&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trac is a great tool but upgrading it may sometimes be tricky. If you are using FreeBSD than the easiest way is to use the portupgrade tool, however if you have multi-project configuration (and fcgi) than take a copy of your trac.fcgi file as it is overwritten by the upgrade tool (and the error output [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,8],"tags":[25,23,24],"class_list":["post-26","post","type-post","status-publish","format-standard","hentry","category-freebsd","category-tools","tag-freebsd","tag-trac","tag-upgrade"],"_links":{"self":[{"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/posts\/26","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/comments?post=26"}],"version-history":[{"count":1,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions"}],"predecessor-version":[{"id":27,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/posts\/26\/revisions\/27"}],"wp:attachment":[{"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/media?parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/categories?post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jarekwoznica.net\/blog\/wp-json\/wp\/v2\/tags?post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}