Package: python-moinmoin
Version: 1.9.4-8+deb7u1
Severity: important

After upgrading squeeze -> wheezy, I was getting "Internal server error"
(with CGI) or "Unhandled exception" errors with WSGI

Apache error.log includes errors like this, same as bug 644645:

  TypeError: 'dict' object is not callable


However, bug 644645 just gives some links and more effort was needed to
solve the problem.  README.Debian recommends the README.migration file,
but neither has complete details either.  The complete details are
spread across those two files and also one of the web sites linked from
bug 644645.

Basically, I think this should go in README.Debian, this is what I did
and it works:

a) stop webserver

b) clear cache stuff:

cd /var/lib/moinmoin
rm -rf \
    */data/cache/__* \
    */data/cache/wiki* \
    */data/pages/*/cache/* \
    */underlay/pages/*/cache/*

c) run the migration script against each site:

su - www-data
cd /var/lib/moinmoin
URL=http://www.example.org/wiki \
moin --config-dir=/etc/moin --wiki-url=$URL migration data

repeat for all sites

d) start webserver


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to