Submitted by andreychek on Tue, 01/05/2010 - 10:52
After upgrading several packages today, including virtual-server-theme, I'm seeing this error upon logging into Virtualmin:
Undefined subroutine &server_manager::get_managed_server called at /usr/share/webmin/virtual-server-theme/right.cgi line 137
If I comment out lines 136-140 in right.cgi, everything works fine.
Looking in the Cloudmin code, it appears there is no function named "get_managed_server".
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Tue, 01/05/2010 - 11:20 Comment #1
Which Cloudmin version are you running? If sounds like you may have a very old release .. and the theme assumes a more recent one.
Submitted by andreychek on Tue, 01/05/2010 - 11:29 Comment #2
Aha! You're right. I see this user has Cloudmin installed via the Webmin .wbm module, not a RPM/DEB package.
Which leads to a related question -- if I perform a search, I can find the "Upgate Webmin" screen, and I can use the "Update modules" tab to upgrade Cloudmin.
However, I can't find where that's actually located in the control panel.
How would a person navigate to that screen? (without using a search)
Submitted by JamieCameron on Tue, 01/05/2010 - 11:53 Comment #3
That page is actually disabled when using Virtualmin - normally it appears at Webmin Configuration -> Upgrade Webmin. But Virtualmin's package updates module supercedes it, so it is set to be invisible by the Virtualmin install script.
He would be better off setting up the proper YUM / APT repo for Cloudmin, and installing the latest module that way.
Submitted by andreychek on Tue, 01/05/2010 - 13:08 Comment #4
Okay, moving it to apt is certainly an option.
How would you recommend converting from a .wbm module to using the .deb package without losing any of the existing data?
Submitted by JamieCameron on Tue, 01/05/2010 - 13:14 Comment #5
What I'd recommend is :
1) Add the Cloudmin repo to /etc/apt/sources.list
2) Delete /usr/share/webmin/server-manager
3) apt-get install webmin-server-manager
This will preserve the configs in /etc/webmin/server-manager
Submitted by JamieCameron on Tue, 01/05/2010 - 13:15 Comment #6
The sources.list entry should be like :
deb http://$SERIAL:$KEY@cloudmin.virtualmin.com/debian binary/
-