How do I fix moinmoin errors after a python upgrade?

After a change of the python version that moinmoin uses, error messages show up on most wiki pages. This is due to the fact that the python bytecode files (*.pyc) are not compatible with the new python version.

You can simply delete these files so that python will automatically generate new ones. You can do this either by hand or better use the following command:

moin --config-dir=CONFIGDIR maint cleancache

CONFIGDIR is the path to the directory that contains the wikiconfig.py file.


CategoryWEBA

FAQ/MoinMoinUpgrade (last edited 2020-08-31 12:47:47 by alders)