{"id":153,"date":"2008-04-29T09:28:42","date_gmt":"2008-04-29T09:28:42","guid":{"rendered":"http:\/\/blog.stmellion.org\/?p=153"},"modified":"2008-05-07T11:42:17","modified_gmt":"2008-05-07T11:42:17","slug":"upgrading-moin","status":"publish","type":"post","link":"https:\/\/blog.stmellion.org\/?p=153","title":{"rendered":"Upgrading Moin"},"content":{"rendered":"<p>I manage the <a href=\"http:\/\/wiki.stmellion.org\">St Mellion Village Wiki<\/a> which runs under <a href=\"http:\/\/moinmo.in\">MoinMoin<\/a>.  At the moment a new release of Moin comes out quite frequently and every time I run into problems with upgrading it.  In an effort to ease my pains I decided to document my process for it.<\/p>\n<p>Download the release to \/usr\/local\/share and extract it.<br \/>\nMove the moin directory to moin.old<br \/>\nFrom the newly extracted release directory, run the install command:-<br \/>\n<em>python setup.py install &#8211;prefix=&#8217;\/usr\/local&#8217; &#8211;record=install.log<\/em><br \/>\nMove \/var\/local\/moin\/<wikiname>\/underlay to underlay.old<br \/>\nCopy the new underlay directory from \/usr\/local\/share\/moin\/underlay to \/var\/local\/moin\/<wikiname><br \/>\nSet ownership: chown -R www-data:www-data underlay<br \/>\nSet permissions: chmod -R ug+rwX underlay and chmod -R o-rwx underlay<br \/>\nCheck that the moin.cgi file hasn&#8217;t changed in the new release.  If it has, copy over the new one and modify it for the local config.  The logo setting needs to be updated to point to the new 1.6.x version.<br \/>\nEdit \/etc\/apache2\/sites-available\/wiki and change the Alias entry to the new release level.<\/p>\n<p>If all went well, that should be it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I manage the St Mellion Village Wiki which runs under MoinMoin. At the moment a new release of Moin comes out quite frequently and every time I run into problems with upgrading it. In an effort to ease my pains I decided to document my process for it. Download the release to \/usr\/local\/share and extract&hellip; <a class=\"more-link\" href=\"https:\/\/blog.stmellion.org\/?p=153\">Continue reading <span class=\"screen-reader-text\">Upgrading Moin<\/span><\/a><\/p>\n","protected":false},"author":24,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-153","post","type-post","status-publish","format-standard","hentry","category-moinmoin","entry"],"_links":{"self":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=153"}],"version-history":[{"count":0,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=\/wp\/v2\/posts\/153\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.stmellion.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}