{"id":40,"date":"2013-01-24T22:59:04","date_gmt":"2013-01-24T21:59:04","guid":{"rendered":"http:\/\/behrisch.de\/blog\/?p=40"},"modified":"2013-01-24T22:59:04","modified_gmt":"2013-01-24T21:59:04","slug":"moinmoin-wiki-umzug","status":"publish","type":"post","link":"https:\/\/behrisch.de\/blog\/2013\/01\/moinmoin-wiki-umzug\/","title":{"rendered":"MoinMoin Wiki Umzug"},"content":{"rendered":"<div class=\"shariff shariff-align-left shariff-widget-align-left\"><ul class=\"shariff-buttons theme-round orientation-horizontal buttonsize-medium\"><li class=\"shariff-button mastodon shariff-nocustomcolor\" style=\"background-color:#563ACC\"><a href=\"https:\/\/s2f.kytta.dev\/?text=MoinMoin%20Wiki%20Umzug https%3A%2F%2Fbehrisch.de%2Fblog%2F2013%2F01%2Fmoinmoin-wiki-umzug%2F\" title=\"Bei Mastodon teilen\" aria-label=\"Bei Mastodon teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#6364FF; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"75\" height=\"79\" viewBox=\"0 0 75 79\" fill=\"none\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M37.813-.025C32.462-.058 27.114.13 21.79.598c-8.544.621-17.214 5.58-20.203 13.931C-1.12 23.318.408 32.622.465 41.65c.375 7.316.943 14.78 3.392 21.73 4.365 9.465 14.781 14.537 24.782 15.385 7.64.698 15.761-.213 22.517-4.026a54.1 54.1 0 0 0 .01-6.232c-6.855 1.316-14.101 2.609-21.049 1.074-3.883-.88-6.876-4.237-7.25-8.215-1.53-3.988 3.78-.43 5.584-.883 9.048 1.224 18.282.776 27.303-.462 7.044-.837 14.26-4.788 16.65-11.833 2.263-6.135 1.215-12.79 1.698-19.177.06-3.84.09-7.692-.262-11.52C72.596 7.844 63.223.981 53.834.684a219.453 219.453 0 0 0-16.022-.71zm11.294 12.882c5.5-.067 10.801 4.143 11.67 9.653.338 1.48.471 3 .471 4.515v21.088h-8.357c-.07-7.588.153-15.182-.131-22.765-.587-4.368-7.04-5.747-9.672-2.397-2.422 3.04-1.47 7.155-1.67 10.735v6.392h-8.307c-.146-4.996.359-10.045-.404-15.002-1.108-4.218-7.809-5.565-10.094-1.666-1.685 3.046-.712 6.634-.976 9.936v14.767h-8.354c.109-8.165-.238-16.344.215-24.5.674-5.346 5.095-10.389 10.676-10.627 4.902-.739 10.103 2.038 12.053 6.631.375 1.435 1.76 1.932 1.994.084 1.844-3.704 5.501-6.739 9.785-6.771.367-.044.735-.068 1.101-.073z\"\/><defs><linearGradient id=\"paint0_linear_549_34\" x1=\"37.0692\" y1=\"0\" x2=\"37.0692\" y2=\"79\" gradientUnits=\"userSpaceOnUse\"><stop stop-color=\"#6364FF\"\/><stop offset=\"1\" stop-color=\"#563ACC\"\/><\/linearGradient><\/defs><\/svg><\/span><\/a><\/li><li class=\"shariff-button facebook shariff-nocustomcolor\" style=\"background-color:#4273c8\"><a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fbehrisch.de%2Fblog%2F2013%2F01%2Fmoinmoin-wiki-umzug%2F\" title=\"Bei Facebook teilen\" aria-label=\"Bei Facebook teilen\" role=\"button\" rel=\"nofollow\" class=\"shariff-link\" style=\"; background-color:#3b5998; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 18 32\"><path fill=\"#3b5998\" d=\"M17.1 0.2v4.7h-2.8q-1.5 0-2.1 0.6t-0.5 1.9v3.4h5.2l-0.7 5.3h-4.5v13.6h-5.5v-13.6h-4.5v-5.3h4.5v-3.9q0-3.3 1.9-5.2t5-1.8q2.6 0 4.1 0.2z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button linkedin shariff-nocustomcolor\" style=\"background-color:#1488bf\"><a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fbehrisch.de%2Fblog%2F2013%2F01%2Fmoinmoin-wiki-umzug%2F\" title=\"Bei LinkedIn teilen\" aria-label=\"Bei LinkedIn teilen\" role=\"button\" rel=\"noopener nofollow\" class=\"shariff-link\" style=\"; background-color:#0077b5; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 27 32\"><path fill=\"#0077b5\" d=\"M6.2 11.2v17.7h-5.9v-17.7h5.9zM6.6 5.7q0 1.3-0.9 2.2t-2.4 0.9h0q-1.5 0-2.4-0.9t-0.9-2.2 0.9-2.2 2.4-0.9 2.4 0.9 0.9 2.2zM27.4 18.7v10.1h-5.9v-9.5q0-1.9-0.7-2.9t-2.3-1.1q-1.1 0-1.9 0.6t-1.2 1.5q-0.2 0.5-0.2 1.4v9.9h-5.9q0-7.1 0-11.6t0-5.3l0-0.9h5.9v2.6h0q0.4-0.6 0.7-1t1-0.9 1.6-0.8 2-0.3q3 0 4.9 2t1.9 6z\"\/><\/svg><\/span><\/a><\/li><li class=\"shariff-button info shariff-nocustomcolor\" style=\"background-color:#eee\"><a href=\"http:\/\/ct.de\/-2467514\" title=\"Weitere Informationen\" aria-label=\"Weitere Informationen\" role=\"button\" rel=\"noopener \" class=\"shariff-link\" style=\"; background-color:#fff; color:#fff\" target=\"_blank\"><span class=\"shariff-icon\" style=\"\"><svg width=\"32px\" height=\"20px\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 11 32\"><path fill=\"#999\" d=\"M11.4 24v2.3q0 0.5-0.3 0.8t-0.8 0.4h-9.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h1.1v-6.8h-1.1q-0.5 0-0.8-0.4t-0.4-0.8v-2.3q0-0.5 0.4-0.8t0.8-0.4h6.8q0.5 0 0.8 0.4t0.4 0.8v10.3h1.1q0.5 0 0.8 0.4t0.3 0.8zM9.2 3.4v3.4q0 0.5-0.4 0.8t-0.8 0.4h-4.6q-0.4 0-0.8-0.4t-0.4-0.8v-3.4q0-0.4 0.4-0.8t0.8-0.4h4.6q0.5 0 0.8 0.4t0.4 0.8z\"\/><\/svg><\/span><\/a><\/li><\/ul><\/div><p>Ich hatte ja Hoffnung, im Uberspace jetzt ein einfacheres Leben mit MoinMoin zu haben. Leider wird aber auch <a href=\"https:\/\/uberspace.de\/dokuwiki\/brainstorming#mod_wsgi\">hier mod_wsgi nicht unterst\u00fctzt<\/a>, aber sie erkl\u00e4ren wenigstens warum. Also wieder CGI, diesmal aber wenigstens FastCGI. Nach meiner ersten <a title=\"MoinMoin Wiki auf sourceforge\" href=\"https:\/\/behrisch.de\/blog\/2012\/09\/moinmoin-wiki-auf-sourceforge\/\">Konfiguration analog zu damals<\/a> lief jedoch erstmal gar nichts au\u00dfer einem internal server error, was aber an mir lag, der ich nicht mitbekommen hatte, dass der python-Prozess (vermutlich um den CGI-Prozess zu beschleunigen) eben nicht immer neu gestartet wird und deswegen auch meine \u00c4nderungen an der Konfiguration gar nicht ankamen. Nach jeder Konfigurations\u00e4nderung sollte man also gucken, ob vielleicht noch ein Python-Prozess mit moin.fcgi l\u00e4uft, den es zu &#8222;kill&#8220;en gilt.<\/p>\n<p>Im Prinzip ist es n\u00e4mlich wirklich narrensicher:<br \/>\n<code><br \/>\neasy_install moin<br \/>\n<\/code><br \/>\nZuerst die Daten vom alten Wiki (data-Dir) und die wikiconfig.py in ein beliebiges Verzeichnis legen (z.B. <code>~\/wiki\/<\/code>) und das underlay-Verzeichnis aus <code>~\/lib\/python2.6\/moin-1.9.6-py2.6.egg\/share\/moin\/<\/code> daneben legen. Hat man noch kein altes Wiki, nimmt man auch das data-dir aus diesem Pfad und das config Beispiel aus <code>lib\/python2.6\/moin-1.9.6-py2.6.egg\/share\/moin\/config\/wikiconfig.py<\/code>. Dann <code>lib\/python2.6\/moin-1.9.6-py2.6.egg\/share\/moin\/server\/moin.fcgi<\/code> nach fcgi-bin kopieren und im Skript die Pfade anpassen (Suchpfad f\u00fcr Python um <code>~\/lib\/python2.6<\/code> und <code>~\/wiki<\/code> erg\u00e4nzen).<\/p>\n<p>Im wesentlichen war es das dann schon. Das Wiki ist dann unter name.server.uberspace.de\/fcgi-bin\/moin.fcgi erreichbar (wie man nettere URLs hinbekommt ist bei MoinMoin hinreichend dokumentiert).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich hatte ja Hoffnung, im Uberspace jetzt ein einfacheres Leben mit MoinMoin zu haben. Leider wird aber auch hier mod_wsgi nicht unterst\u00fctzt, aber sie erkl\u00e4ren wenigstens warum. Also wieder CGI, diesmal aber wenigstens FastCGI. Nach meiner ersten Konfiguration analog zu &hellip; <a href=\"https:\/\/behrisch.de\/blog\/2013\/01\/moinmoin-wiki-umzug\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,4],"tags":[],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-network","category-oss"],"_links":{"self":[{"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":3,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":45,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions\/45"}],"wp:attachment":[{"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/behrisch.de\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}