Recent webmin update results in usermin perl error

After the recent webmin update ( 1.810 ) or close to this, I now get a message at the bottom of each page in webmail. As follows:

HTTP/1.0 500 Perl execution failed Server: MiniServ/1.690 Date: Fri, 19 Aug 2016 06:04:55 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close Error - Perl execution failed

Undefined subroutine &WebminCore::embed_scripts called at /usr/libexec/usermin/authentic-theme/authentic.pm line 223.

Everything else runs normally in webmail.

The usermin log file indicates:

[18/Aug/2016:08:34:26 +0200] [105.233.110.14] /session_login.cgi : Perl execution failed : Undefined subroutine &WebminCore::embed_scripts called at /usr/libexec/usermin/authentic-theme/authentic.pm line 223.

[18/Aug/2016:08:34:47 +0200] [105.233.110.14] / : Perl execution failed : Undefined subroutine &WebminCore::embed_scripts called at /usr/libexec/usermin/authentic-theme/authentic.pm line 223.

[18/Aug/2016:08:34:48 +0200] [105.233.110.14] /mailbox/ : Perl execution failed : Undefined subroutine &WebminCore::embed_scripts called at /usr/libexec/usermin/authentic-theme/authentic.pm line 223.

Status: 
Active

Comments

Assigned: » Unassigned

To fix this, try running /etc/usermin/restart

/etc/usermin/restart -bash: /etc/usermin/restart: No such file or directory

But a reboot of the server did not fix it either

I am also seeing

  • HTTP/1.0 500 Perl execution failed Server: MiniServ/1.690 Date: Fri, 26 Aug 2016 18:05:32 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close

I'm confused - did you start seeing this problem in Usermin, but only after Webmin was updated? Because they should be completely independent..

It's not clear if they are related but the problem started close to or at the same time as the webmin update ...

Assigned: Unassigned »

Ilia - is there any connection between the webmin and usermin theme updates?

Ilia's picture
Submitted by Ilia on Thu, 09/01/2016 - 11:17

Hi,

I just noticed this post, sorry for late reply.

Well, I remembered something from my old debugging process - when using Usermin, and in case Webmin is installed along with Authentic Theme, Usermin tends to use cached version of the module. In case there is incompatibility, you would get such troubles.

Solution: Force upgrade the theme, from Webmin in theme's settings or upgrade the theme to the latest for Usermin. Version must match (in case of great version's change.)

I had exactly the same problem - force updating the theme in Webmin fixes the problem. Thanks Ilia

Thank you. Forcing theme update fixed it.