[Moin-user] Upgrading from 1.8.1 to 1.9.8

Karl Auer kauer at biplane.com.au
Sun Apr 3 03:42:57 EDT 2016


On Sun, 2016-04-03 at 16:24 +1000, Karl Auer wrote:
> The upgrade notes all seem to be about installing 1.9.8 over 1.8.1 -
> i.e., on the same system.

I've sort of faked that now: I set up /usr/local/share/moin with the
1.8.1 data and overlay directories (and their contents) in it, then
installed 1.9.8 over the top. Copied moin.wsgi out of the server subdir
and edited wikiconfig.pi appropriately.

Now I get a "500 internal error" from Apache for pretty much any page
except the initial login page, and the final two lines of the Apache2
error log are:

[Sun Apr 03 17:14:28.361957 2016] [wsgi:error] [pid 7602:tid 139732746934016] [remote 192.168.1.142:48395]   File "Nullarbor", line 2, in <module>
[Sun Apr 03 17:14:28.362037 2016] [wsgi:error] [pid 7602:tid 139732746934016] [remote 192.168.1.142:48395] TypeError: 'dict' object is not callable

I've set the front page to be a page called "Nullarbor", and that page
certainly exists in the data.

The "upgraded" install does seem to know about the old data at some
level - if I try to open a page that I know is NOT there, MoinMoin will
offer to create a new one. If I try to open a page that I know already
exists, MoinMoin does NOT offer to create a new one; it throws the 500
error instead.

It also knows about the old accounts - I can log in as the admin
because I have set that one up new, but I can also log in as one of the
users from the old system.

It even seems to be paying attention to the ACLs, saying for various
pages that I don't have permission to view the page. But it actually
can't display any pages, even those I have permission to view. The
error log shows essentially identical errors for every page I try to
view.

This may be something to do with caches, but I don't have the skill to
adapt the script Rick Vandeveer provides with his upgrade notes. 

Still hoping for a clue.

Yours hopefully, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4







More information about the Moin-user mailing list