Forum archive
MoinMoin Turnkey OVA Unable to login as Admin
So I am trying to deploy a pilot wiki for our enterprise using turnkey.
I have deployed TWiki and MoinMoin.
Using Twiki I am able to set the admin password if it is a simple password based on the recommendations from this thread:
https://github.com/turnkeylinux/tracker/issues/206
I prefer MoinMoin but I have deployed the OVA over a dozen times using various passwords including simple and complex and have not been able to login as the admin user.
I'll also add that during the initial setup wizard I am seeing some sort of traceback error being flashed on the screen after the password wizard, but before the network setup but I have been unable to capture it.
Is this a known issue?
So I think the issue is that within
/usr/lib/inithooks/bin/moinmoin.py
We are calling encodePassword with a single parameter (the password) when at least 2 are required.
encodePassword is defined in user.py as such.
encodePassword(cfg, pwd, salt=None, scheme=None)
I tried digging around but couldn't find what the cfg should be. I think we should probably be setting the salt and the scheme as well, though those are optional.
--
Adam