Submitted by q7joey on Mon, 12/11/2017 - 17:38
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.
Status:
Active
Comments
Submitted by q7joey on Mon, 12/11/2017 - 17:46 Comment #1
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?
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.
Submitted by JamieCameron on Wed, 12/13/2017 - 19:00 Comment #3
We're going to release a new usermin version shortly.
Submitted by geocrasher on Wed, 12/13/2017 - 19:21 Comment #4
Thanks for staying on top of this. Currently affecting several of my servers.
Submitted by geocrasher on Wed, 12/13/2017 - 20:37 Comment #5
Posted wrong thing here, sorry. Ignore.
Submitted by q7joey on Thu, 12/14/2017 - 16:32 Comment #6
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/admin.py", line 92, in main
admin(21794): params = cgidata.keys()
admin(21794): File "/usr/lib64/python2.7/cgi.py", 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?
Submitted by JamieCameron on Thu, 12/14/2017 - 17:26 Comment #7
That seems like an error coming from Mailman itself. Which exact page did you get this error on?
Submitted by q7joey on Thu, 12/14/2017 - 17:38 Comment #8
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.
Submitted by JamieCameron on Thu, 12/14/2017 - 23:52 Comment #9
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/admin.py
and change line 84 to :if cgidata and not mlist.WebAuthenticate((mm_cfg.AuthListAdmin,
Submitted by q7joey on Fri, 12/15/2017 - 10:42 Comment #10
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?
Submitted by q7joey on Fri, 12/15/2017 - 11:07 Comment #11
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/admin.py", line 86, in main
admin(59590): cgidata.getvalue('adminpw', '')):
admin(59590): File "/usr/lib64/python2.6/cgi.py", line 549, in getvalue
admin(59590): if key in self:
admin(59590): File "/usr/lib64/python2.6/cgi.py", 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.
Submitted by JamieCameron on Sat, 12/16/2017 - 01:42 Comment #12
I'll take a look.
Submitted by geocrasher on Mon, 12/18/2017 - 02:27 Comment #13
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!
Submitted by q7joey on Mon, 12/18/2017 - 11:39 Comment #14
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?
Submitted by JamieCameron on Tue, 12/19/2017 - 18:01 Comment #15
The mailman issue is being tracked on https://www.virtualmin.com/node/54669
Submitted by q7joey on Tue, 12/19/2017 - 18:02 Comment #16
i don't have permission to view that. must be on the pay side of things?
Submitted by JamieCameron on Tue, 12/19/2017 - 18:07 Comment #17
Try again now