I recently upgraded my Debian system, which led to a breakage of my MoinMoin wikis: "500 Internal Server Error" when accessing to the main wiki page, with an underlying "TypeError: 'dict' object is not callable".

As described on http://moinmo.in/MoinMoinBugs/ExceptionRaisedAtPageLoading, this seems like a known upgrading "inconvenience" solved by cleaning the data cache, so I tried to use the "moin ... maint cleancache" command line.

I tried various --config-dir and/or --wiki-url values instead of "...", but I still get the following behavior:
INFO MoinMoin.config.multiconfig:93 using farm config: /etc/moin/farmconfig.pyc
data_dir "/org/mywiki/data" does not exist, or has incorrect ownership or permissions.

All command line examples I find seem to be for CGI setups, but I am using the WSGI setup (one apache sites-enabled file for each wiki). I do not remember using the farmconfig facility.

So, can I use the "moin" command-line tool to clean data caches of WSGI MoinMoin wikis?