usermin mostly non-functional

this is all for the gpl code.

when trying to use usermin directly, or by using the 'login to usermin' button. i am usually getting a mostly blank screen (the left menu is usually there, but nonfunctional). but, sometimes i get an error:

Failed to save user : Invalid PID file

if i restart usermin, then sometimes the first user i connect as will work normally.

this is affecting centos 6 and 7 as well as ubuntu 14.04.

Webmin version 1.870 Usermin version 1.720 Virtualmin version 6.02 Theme version Authentic Theme 19.04

i see quite a few errors in miniserv.errors, but that is a pretty noisy place to begin with, so even in the case when it is working for one user, there are plenty of warnings showing up.



i just switched back to the virtualmin framed theme and things seem better. so it looks like perhaps this is really an issue with the authentic theme?

ronnikc's picture
Submitted by ronnikc on Tue, 12/12/2017 - 08:34 Pro Licensee

This issue is affecting us as well, Usermin doesn't work at all with the Authentic Theme. This isn't the first time it has happened either, so here's hoping it's a quick fix, so our clients can actually use it.

We're going to release a new usermin version shortly.

Thanks for staying on top of this. Currently affecting several of my servers.

Posted wrong thing here, sorry. Ignore.

i also just found out that trying to use mailman within the virtualmin interface gives:

Bug in Mailman version 2.1.15

We're sorry, we hit a bug!

Please inform the webmaster for this site of this problem. Printing of traceback and other system information has been explicitly inhibited, but the webmaster can find this information in the Mailman error logs.

and the mailman log has:

admin(21794):   File "/usr/lib/mailman/scripts/driver", line 112, in run_main
admin(21794):     main()
admin(21794):   File "/usr/lib/mailman/Mailman/Cgi/", line 92, in main
admin(21794):     params = cgidata.keys()
admin(21794):   File "/usr/lib64/python2.7/", line 582, in keys
admin(21794):     raise TypeError, "not indexable"
admin(21794): TypeError: not indexable

i have mailman configured to be used directly and that is still working, so something in the virtualmin wrapping of mailman is wrong. should this be another issue, or is it connected to the theme issue?

That seems like an error coming from Mailman itself. Which exact page did you get this error on?

that happens when trying to manage any mailman list from within the virtualmin pages. if i go directly to mailman, things are fine. it was working from within virtualmin a couple weeks ago, so the big update to webmin/virtualmin/authentic seems a likely culprit.

I had a look at this, and was able to replicate the problem on CentOS 7. It really does look like a Mailman bug, perhaps triggered when it is run via Virtualmin. The work-around is to edit /usr/lib/mailman/Mailman/Cgi/ and change line 84 to :

if cgidata and not mlist.WebAuthenticate((mm_cfg.AuthListAdmin,

hmm, i am pretty sure that things were working prior to the last virtualmin updates, and i don't see anything else updated that should impact mailman. i don't want to roll my install back, can you test with a previous version of virtualmin?

also, i can confirm this is broken on centos 6 as well. but in a slightly different way:

admin(59590): Traceback (most recent call last):
admin(59590):   File "/usr/lib/mailman/scripts/driver", line 112, in run_main
admin(59590):     main()
admin(59590):   File "/usr/lib/mailman/Mailman/Cgi/", line 86, in main
admin(59590):     cgidata.getvalue('adminpw', '')):
admin(59590):   File "/usr/lib64/python2.6/", line 549, in getvalue
admin(59590):     if key in self:
admin(59590):   File "/usr/lib64/python2.6/", line 595, in __contains__
admin(59590):     raise TypeError, "not indexable"
admin(59590): TypeError: not indexable

which is a different version of mailman, so that seems to also point the finger back at virtualmin.

Usermin still broken with the Authentic theme. Any word when it might be fixed? Using the Gray Framed Theme causes it to be functional again, but would prefer to be back on Authentic. Thanks much!

new usermin (1.730) seems to fix the main issue. i did get one error about PID file, but that hasn't reappeared.

still hoping for a fix to the mailman issue, should we start another ticket?

i don't have permission to view that. must be on the pay side of things?