Could you try to deploy a Vm and install a virtualmin pro version there trial and then copy the repo files ?
You have to use yum remove command ( not sure if this will remove your virtualmin itself not recommended), try to remove the repo rpm and then install only repo rpm. ( Not recommended as not sure if it will remove additional rpm)
Dear thathwamasi,
Thank you for your reply and your help.
I finally got the virtualmin.repo in such way:
Based on this comment: https://www.virtualmin.com/node/40588
As I told already I could not bring it back. but I just added “–force” to the command like:
rpm -ivh --force URL
and since I understood from the above post that I have “virtualmin-release-1.0-5.gpl.rhel.noarch” installed so for the url I put this as the URL:
Yeah whatever you do don’t re-run the installer, that’ll cause all sorts of issues
The change-license command mentioned above is the best way to change your server’s Virtualmin license.
After the “Problem detected with your license” message, do you see any errors there?
Note that it’s no problem to discuss things here in the Forums, though we (the Virtualmin staff) don’t always see everything here… if at any point you don’t feel like you’re making progress, feel free to open a request in the support tracker and we can help you out there.
Checking serial **** and key ****** ..
.. valid for 10 domains until 2018-09-01
Updating Virtualmin YUM repository …
… done
Updating Virtualmin license file …
… done
Again I checked the virtualmin panel after a reboot.
It says:
Warning!
A problem was detected with your Virtualmin license :
The licence for this server expired on 2018-01-20 A renewal can be purchased at http://www.virtualmin.com/shop
I pressed the button that is below this warning “recheck the license”.
After that I saw It was resolved and the license is renewed to the new date! and there is no warning yet in the virtualmin panel.
I again checked the content of the virtualmin.repo in the /etc/yum.repos.d/ directory
And in the dashboard I see Virtualmin version 6.02 Pro.
I need to be sure that I will get the pro updates in the future based on the new content of virtualmin.repo on above. And it is important for me that there would be no security issue or any associated problem.
How can I check the the pro virtualmin works well? Is there a command?
Dear Panjeh,
You are most welcome, happy to see everything is working fine for you.
sorry, I am not sure on how to check that as i have not used a pro license, it would be best if andreychek(Eric) replied for the last question.