Re: [webmin-l] Virtualmin Update Problem
John Hinton <[email protected]>
| Newsgroups | gmane.comp.web.webmin.general |
|---|---|
| Message-ID | <[email protected]> |
On 1/21/2017 2:29 AM, Jamie Cameron wrote: > On 18/Jan/2017 23:12 John Hinton <[email protected]> wrote .. >> >> On 1/19/2017 1:27 AM, John Hinton wrote: >>> On 1/18/2017 6:26 PM, Jamie Cameron wrote: >>>> On 18/Jan/2017 06:02 John Hinton <[email protected]> wrote .. >>>>> On 1/18/2017 12:46 AM, Jamie Cameron wrote: >>>>>> On 17/Jan/2017 17:25 John Hinton <[email protected]> wrote .. >>>>>>> On 1/17/2017 7:56 PM, Jamie Cameron wrote: >>>>>>>> On 17/Jan/2017 12:52 John Hinton <[email protected]> wrote .. >>>>>>>>> I found a couple of servers here where Virtualmin has not updated and >>>>>>>>> won't update. These systems were initially setup using the webmin.rpm >>>>>>>>> and virtualmin was installed from within Webmin. If it helps, the >>>>>>>>> original rpm was webmin-1.560.noarch.rpm. >>>>>>>>> >>>>>>>>> I've searched and searched to try to find a solution for fixing this and >>>>>>>>> have not had success finding clear instructions on the best way to fix >>>>>>>>> this on a CentOS system. Can somebody point me in the right direction? >>>>>>>> What error are you getting exactly when you try to update? >>>>>>> I'm trying to do the updates using the 'Upgrade Webmin' interface, and >>>>>>> the tab for 'Update Modules'. I tick off the update non-core modules and >>>>>>> when I run that, it says no modules are available for update. >>>>>>> >>>>>>> Now, it's been a while, but it seems like there were other notices to >>>>>>> update Virtualmin somewhere. Maybe within the Virtualmin interface, but >>>>>>> that went away at some point. These systems are stuck on Virtualmin GPL >>>>>>> version 4.08. Maybe I'm totally remembering wrong? Either way, I can't >>>>>>> get it updated from within Webmin or Virtualmin, or if I can, I can't >>>>>>> find it. >>>>>> What happens if you just SSH in and run "yum install webmin" ? >>>>> I get "Nothing to do". I installed Webmin initially from the downloaded >>>>> rpm and have not set up the repository. I can do that and have done that >>>>> on another non-critical system that was in the same state, but it was a >>>>> really rocky ride. I had to uninstall some things and it seems I added >>>>> some exceptions to keep that from happening again. I was hoping there >>>>> was a better way for the production systems. >>>> I'd recommend setting up the Webmin YUM repository - that way you can >>>> get updates more easily, and will be prompted to update when you login >>>> to Virtualmin. See http://www.webmin.com/rpm.html for details. >>> OK, so I added the repo on our oldest system which is about to be put >>> out to pasture. It did not have the latest Webmin running. Yum update >>> (from the command line) found the new webmin and installed it. It >>> installed nothing else. >>> >>> I looked everywhere I know to look and can't find an update Virtualmin >>> button/notice. I then found the virtual server theme over in the repo as >>> this was still on I think the old standard theme. I switched to that >>> theme and it can't find any updates to Virtualmin. On the system info >>> page it just shows the new features of Virtualmin 4.02.gpl (installed >>> 28/Aug/2013).. Doh!!!! Time flies! It seems this is the oldest >>> Virtualmin on our systems but it seems all of them stopped finding >>> updates along the way. >>> >>> Again, I installed my full standard CentOS system... this one is a 5.11 >>> version. I then installed webmin from the downloaded rpm. And to the >>> best of my knowledge, I installed Virtualmin using a download link in >>> the Webmin Modules area. Yes, I know, this is old school now, but that's >>> where I am. >>> >>> Am I just not finding/seeing the upgrade Virtualmin button somewhere. >>> I've looked through the Virtualmin settings, Webmin modules, the SysInfo >>> page and software updates. Maybe I'm blind? >>> >> I may have found something here. Looking at: >> http://software.virtualmin.com/gpl/universal/virtual-server-4.08.gpl.wbm.gz >> in that repository, I see that 4.08, which is the Virtualmin version I'm >> stuck on on other servers, I see it is the last .gz version and that if >> I understand it, the newer ones have a different name like >> wbm-virtual-server-[version numbers]. It could well be that I initially >> installed via the wbm.gz files. >> >> Do I just need to get a rpm version installed so it can see the version >> changes? Is there is any potential issue doing this? I suppose it will >> have to be a yum install and not a yum update. I guess I'll need to >> register a virtualmin repo to do this. When I do yum update or yum >> install on wbm-virtual-server, I get a No package wbm-virtual-server >> available. > Yes, I'd recommend installing the RPM version, if you are on an RPM-based > system. Also, you should setup a YUM config file that points to the Virtualmin > GPL repository. Just create /etc/yum.repos.d/virtualmin.repo containing : > > [virtualmin] > name=Red Hat Enterprise $releasever - $basearch - Virtualmin > baseurl=http://software.virtualmin.com/gpl/rhel/$releasever/$basearch/ > enabled=1 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin > gpgcheck=1 > > [virtualmin-universal] > name=Virtualmin Distribution Neutral > baseurl=http://software.virtualmin.com/gpl/universal/ > enabled=1 > gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin > gpgcheck=1 > > That worked! I only had to do a manual restart of Webmin so that the virtual domains reindexed or whatever it does. It couldn't find the list so things like the count wasn't working... basically the sysinfo page would not load beyond an error. Restarting Webmin seemed to fix that. You are the man. I didn't want to do this without your approval as I didn't want to badly break something on these production servers. John Hinton ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot - Forwarded by the Webmin mailing list at [email protected] To remove yourself from this list, go to http://lists.sourceforge.net/lists/listinfo/webadmin-list