-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theme: Cloudmin version detected incorrectly. #452
Comments
Ok, I'll take a look. Thanks for reporting. |
You can change it in theme settings already. |
Once again, you have installed GPL versions only? |
Do one more thing please. Open page source and find |
..but you must open the source of the left frame by clicking on the navigation menu and selecting the |
Yes I installed just GPL version. |
Today I updated the cloudmin-server-manager to 9.0.kvm GPL version, and same issue. |
Ok, I'll take a look. |
Please test it with 18.00. I suppose it's still not displaying it correctly? If not just report here and I will do a fix look in 18.01. |
Same issue, i tested under 18.00 version |
If you switch back to default (old) theme, what do you see?? What is the output of |
Will be fixed in 18.01. But please double check and tell what is the output of above. |
Hi, today i updated to 18.02 version and same issue (BUG), I install authentic theme to other two servers and not detect the corect Cloudmin licence. /usr/share/webmin/server-manager/module.info output |
Alright, I will test it later and come back to this issue. |
Can you find in sub licenses {
my ($id) = @_;
if ( &foreign_available("virtual-server") && $id eq "vm" ) {
my %virtualmin = &get_module_info("virtual-server");
if ( $virtualmin{'version'} =~ /gpl/i ) {
return 0;
}
else {
return 1;
}
}
elsif ( &foreign_available("server-manager") && $id eq "cm" ) {
my %cloudmin = &get_module_info("server-manager");
if ( $cloudmin{'version'} =~ /gpl/i ) {
return 0;
}
else {
return 1;
}
}
else {
return 0;
}
}
And replace it with: sub licenses {
my ($id) = @_;
if ( &foreign_available("virtual-server") && $id eq "vm" ) {
my %virtualmin = &get_module_info("virtual-server");
if ( $virtualmin{'version'} =~ /pro/i ) {
return 1;
}
else {
return 0;
}
}
elsif ( &foreign_available("server-manager") && $id eq "cm" ) {
my %cloudmin = &get_module_info("server-manager");
if ( $cloudmin{'version'} =~ /pro/i ) {
return 1;
}
else {
return 0;
}
}
else {
return 0;
}
}
That part seems to be making the problem. Reboot Webmin afterwards. Does it fix the issue? |
I have updated 18.02 which will fix your bug. Just force upgrade. |
On fresh install cloudmin GPL with virtualmin GPL, detect my cloudmin version incorectly PRO.
Cloudmin version 8.4.kvm Pro
The text was updated successfully, but these errors were encountered: