[moin-user] Migrate from 1.8.1 to 1.9.9

Karl Auer kauer at biplane.com.au
Sat Jul 8 13:39:30 EDT 2017


Hullo (again)

I have a long-standing effort to migrate my 1.8.1 wiki to the latest
version, currently 1.9.9. But I need to migrate it off the hardware it
is on, too.

What I have done is essentially this:

- do a clean install of 1.9.9 (which works!)[1]
- delete the data directory (except dict)
- copy my old data directory in 
- run Rick Vandermeer's cache-cleaning command[2]
   (modified for Linux and my paths)
- fix permissions on data/cache/__sessions__
- restart Apache

If I do this, basically nothing works. I get only "Internal server
error".

Ricks' instructions say to install the new version OVER the old
version, but I don't have the old version working on the new hardware
and getting it working seems like a serious task, as the old system has
an older python, different paths...

So I took the end state of the above and re-installed 1.9.9 over the
top of it, re-ran the cache-clearing, fixed all permissions and
ownership, and restarted Apache again. Still just an internal server
error. As a sanity check I tested the clean install again, and it still
worked.

In the Apache error log, I see only two likely candidates. The first is
only a warning:

WARNING MoinMoin.log:112 /usr/local/lib/python2.7/dist-
packages/MoinMoin/support/werkzeug/filesystem.py:63:
BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will
use UTF-8 as filesystem encoding instead of 'ANSI_X3.4-1968'

The second seems to be more serious (I've removed syslog prefixes, pids
and tids for readability, and elided most of the traceback):

[wsgi:error] 2017-07-09 02:40:10,510 ERROR MoinMoin.wsgiapp:281 An
exception has occurred [http://otherpi/].
[wsgi:error] [remote 192.168.1.142:54646] Traceback (most recent call
last):
[wsgi:error] [remote 192.168.1.142:54646]   File
"/usr/local/lib/python2.7/dist-
packages/MoinMoin/support/werkzeug/wsgi.py", line 599, in __call__[...]
[wsgi:error] File "/usr/local/lib/python2.7/dist-
packages/MoinMoin/Page.py", line 1030, in parse_processing_instructions
[wsgi:error]     if args in i18n.wikiLanguages():
[wsgi:error] TypeError: argument of type 'NoneType' is not iterable

Anyway - I'm stuck. Can anyone offer assistance? Is there a better
migration method?

Regards, K.

[1] https://moinmo.in/HowTo/UbuntuQuick

[2] https://moinmo.in/RickVanderveer/UpgradingFromMoin18ToMoin19
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: A52E F6B9 708B 51C4 85E6 1634 0571 ADF9 3C1C 6A3A
Old fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B




More information about the moin-user mailing list