(2014-09-19) Moin Cache Crash
I ran my MoinMoin-file-purge script to keep my file-count down at Blue Host. Then MoinMoin wouldn't run anymore!
Every request: get page back with An unhandled exception was thrown by the application.
Static pages still run fine.
Checking /tmp/moin.log
always shows the error as: {{{
INFO 2014-09-19 07:38:26,836 MoinMoin.web.contexts:128 <http://webseitz.fluxent.com/cgi-bin/moin.fcgi/wiki/Republican National Convention In Nyc/RK%3D0/RS%3DGeq9MV2w9mZfUqVBiNIu4xwGeV4->
ERROR 2014-09-19 07:38:26,837 MoinMoin.wsgiapp:292 An exception has occurred [http://webseitz.fluxent.com/cgi-bin/moin.fcgi/wiki/Republican National Convention In Nyc/RK%3D0/RS%3DGeq9MV2w9mZfUqVBiNIu4xwGeV4-].
Traceback (most recent call last):
File "/home/teamflux/moin-1.9.2/MoinMoin/wsgiapp.py", line 281, in call
response = run(context)
File "/home/teamflux/moin-1.9.2/MoinMoin/wsgiapp.py", line 78, in run
check_surge_protect(context)
File "/home/teamflux/moin-1.9.2/MoinMoin/web/utils.py", line 74, in check_surge_protect
data = cache.content()
File "/home/teamflux/moin-1.9.2/MoinMoin/caching.py", line 285, in content
raise [Cache Error]
Cache Error: 'utf8' codec can't decode byte 0x80 in position 0: unexpected code byte
}}}
Went into ~/moin-1.9.2/wiki/wiki/data/cache/wiki/surgeprotect
- found a bunch of surge-log*
files - deleted them all.
Now all good!
Edited: | Tweet this! | Search Twitter for discussion
No backlinks!
No twinpages!