Submitted by SynergyIT on Sun, 11/27/2016 - 12:54
Hi
I have a license, I'm busy with my server and want to downgrade it to GPL as i want to transfer the license
I used https://www.virtualmin.com/documentation/installation/uninstalling
I followed the downgrade procedure, everything seemed fine until i needed to create a new virtual server and i get this error message:
Initial website content HTTP/1.0 500 Perl execution failed Server: MiniServ/1.821 Date: Sun, 27 Nov 2016 18:17:55 GMT Content-type: text/html; Charset=iso-8859-1 Connection: close
Error - Perl execution failed Undefined subroutine &virtual_server::content_style_chooser called at /usr/libexec/webmin/virtual-server/domain_form.cgi line 654.
Please could you tell me what i am doing wrong here, would appreciate any help
Files:
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sun, 11/27/2016 - 13:09 Comment #1
Howdy -- it sounds like you did things correctly!
One thing you may want to do is to try restarting Webmin, just to be certain the old version isn't what's in memory.
You can do that with this command:
service webmin restart
Also, what is the output of this command:
rpm -qa | grep virtual-server
That last command will verify that you have the correct version installed there.
Submitted by SynergyIT on Sun, 11/27/2016 - 13:17 Comment #2
Hi, thank for the response, I did restart the services and the problem is still there.
I ran rpm -qa | grep virtual-server
The versions intalled are :
[root@sns1 ~]# rpm -qa | grep virtual-server ust-virtual-server-theme-6.9-1.noarch ust-virtual-server-mobile-2.1-1.noarch wbm-virtual-server-5.04.gpl-1.noarch wbt-virtual-server-mobile-2.5-1.noarch wbt-virtual-server-theme-9.0-2.noarch
Submitted by SynergyIT on Sun, 11/27/2016 - 13:26 Comment #3
Hi, thank for the response, I did restart the services and the problem is still there.
I ran rpm -qa | grep virtual-server
The versions intalled are :
[root@sns1 ~]# rpm -qa | grep virtual-server ust-virtual-server-theme-6.9-1.noarch ust-virtual-server-mobile-2.1-1.noarch wbm-virtual-server-5.04.gpl-1.noarch wbt-virtual-server-mobile-2.5-1.noarch wbt-virtual-server-theme-9.0-2.noarch
Submitted by SynergyIT on Sun, 11/27/2016 - 13:52 Comment #4
I think i know what the problem is but not to sure how to fix it yet, When creating a new virtual server, it tried to load the Initial website content and it can't because its the GPL version, not pro. Where do i fix that ?
Thanks
Submitted by andreychek on Sun, 11/27/2016 - 14:47 Comment #5
We may need Jamie's help with this one, as I'm not quite sure of the answer to that.
Jamie, this customer has downgraded to Virtualmin GPL, and is now receiving this error when trying to create a new Virtual server:
Error - Perl execution failed Undefined subroutine &virtual_server::content_style_chooser called at /usr/libexec/webmin/virtual-server/domain_form.cgi line 654.
We verified that it is the correct GPL version that's installed now.
Do you have any thoughts on what might be triggering that error?
Submitted by JamieCameron on Sun, 11/27/2016 - 20:27 Comment #6
One possible cause could be missing files from the package. Try running
rpm -V wbm-virtual-server
to check the integrity of the RPM.Submitted by SynergyIT on Sun, 11/27/2016 - 23:04 Comment #7
Hi
I ran as you recommended and this is what was returned
[root@sns1 ~]# rpm -V wbm-virtual-server [root@sns1 ~]#
The error us under the Initial website content, i have attached a pic. Does the GPL version have that, can't remember
Thanks Claude
Submitted by JamieCameron on Mon, 11/28/2016 - 16:55 Comment #9
Try also running
/etc/webmin/restart
, and reloading all pages in the Virtualmin UI.Submitted by SynergyIT on Sat, 12/03/2016 - 09:47 Comment #10
Hi
I got it sorted, i had to refresh the modules a few time under webmin, once i had done that all was back to normal.
Thanks to everyone who assited and responded