Submitted by gordon on Thu, 09/25/2014 - 13:17 Pro Licensee
The Server administrator permissions configuration does not apply the Webmin theme for server administrators once saved and updated.
When domain administrators login they still see the default theme. I am running Centos 6.5 final and Virtualmin 4.11
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Fri, 09/26/2014 - 00:22 Comment #1
Which page are you setting the theme on? Some of those settings in Virtualmin only apply to newly created domains.
Submitted by gordon on Fri, 09/26/2014 - 01:00 Pro Licensee Comment #2
I went to System Settings > Virtualmin Configuration > Server Administrator Permissions Then selected the theme under 'Webmin theme for server administrators' drop down box.
Submitted by JamieCameron on Fri, 09/26/2014 - 14:48 Comment #3
Ok, that only gets applied when a domain is created or when the webmin login is re-enabled for a domain.
Submitted by gordon on Wed, 10/01/2014 - 01:09 Pro Licensee Comment #4
I would like to create and run a quick script to update the theme from default to the new theme we have created. What files can I edit on the server to apply the new theme?
Thanks
Submitted by JamieCameron on Wed, 10/01/2014 - 12:35 Comment #5
One way you could do this is to disable and then re-enable the Webmin login for all domains. This can be done as
root
from the shell with :virtualmin disable-feature --all-domains --webmin
virtualmin enable-feature --all-domains --webmin
Submitted by gordon on Sat, 10/04/2014 - 08:16 Pro Licensee Comment #6
Thank you, the script seems to have worked, however the following errors came up;
Updating server xxxxx.co.za .. Creating Webmin user .. Use of uninitialized value in concatenation (.) or string at /usr/libexec/webmin/acl/acl-lib.pl line 470. Use of uninitialized value in concatenation (.) or string at /usr/libexec/webmin/acl/acl-lib.pl line 470. Use of uninitialized value in concatenation (.) or string at /usr/libexec/webmin/acl/acl-lib.pl line 656. Use of uninitialized value in concatenation (.) or string at /usr/libexec/webmin/acl/acl-lib.pl line 656. .. done
I am happy to close, just wanted to inform you of the stranger error.
Submitted by JamieCameron on Sat, 10/04/2014 - 10:55 Comment #7
Those are harmless Perl warnings which can be ignored. Actually, they should already be fixed in the next version of Webmin - which version are you running there?
Submitted by gordon on Sun, 10/05/2014 - 00:10 Pro Licensee Comment #8
Virtualmin 4.11 and webmin 1.710