Upgrade Webmin option missing in Webmin Configuration (version 2.202)

SYSTEM INFORMATION
OS type and version CentOS Linux 7.9.2009
Webmin version 2.202

On my Webmin Configuration page in version 2.202, there is no Upgrade Webmin icon. I have version 2.301 installed on another similar server so I know an update is available and it does have an Update Webmin icon. On the version 2.202 dashboard, Package updates says: “All installed packages are up to date”. So webmin doesn’t show up as a package YUM can update.

What is the best way to update to the latest version?

Thanks.

–Richard

CentOS may not have an update version since it is EOL?

Webmin has it’s own repo.

Both servers are the identical version of Centos 7 and thus both EOL. Nonetheless one got updated to the latest and one doesn’t have that option. Both had always previously updated just fine even after Centos went EOL. The repository is already configured. It is enabled in the repository list like this:

webmin-noarch (Webmin) Yes https://download.webmin.com/download/newkey/yum

Ran the curl -o webmin-setup-repo.sh… script, but it didn’t change the repository list.

Package updates page in Webmin 2.202 says this:
image

On a virtually identical server Webmin says this:

Operating system CentOS Linux 7.9.2009 EOL reached
Webmin version 2.301 Authentic theme version|23.01

Very odd.

Did you run sh webmin-setup-repo.sh

Yes, as I said:

This is expected if Webmin is installed from an RPM package using Webmin repos.

Just clarifying as curl -o webmin-setup-repo.sh... first line just downloads the script, that section was not shown in your post.

That wasn’t obvious. Everything just said to run that script. So I did.

curl -o webmin-setup-repo.sh https://raw.githubusercontent.com/webmin/webmin/master/webmin-setup-repo.sh
sh webmin-setup-repo.sh

No change in the repository list, still says:
Index of /download/newkey/yum
Having the repository in the list should allow yum to do an update. But yum says there is no update to version 2.202.

So how did my other server get version 2.301 installed?

So how do I install the latest version?

You can download the package manually and install it using the RPM or YUM command.

Thank you. That was successful.

I wasn’t aware that YUM could be used to install RPM files. I found the syntax and an interesting comment on the web:

yum install RPM-FILENAME.rpm from the directory you have the package downloaded to.

This has the benefit that if the package requires extra dependencies, they will be found, downloaded, and installed; while a plain rpm will just complain that the dependencies are missing.

Seems odd to me that the Download page at Webmin.com
Downloading and Installing | Webmin
doesn’t mention the option of installing from an RPM. That page is dated 2017.

Also, I suppose there is a reason, but why can’t Webmin, when installed from an RPM have an “Upgrade Webmin” configuration option/icon?

Because you should use your system package manager to upgrade, if possible. (Which also appears in Webmin in the GUI. It’s not like this is hiding updates. Something is just wrong with your configuration/system/network that hasn’t yet been identified, I guess.)

It’s not clear to me why the updated package wasn’t available from the repo, though? That’s normally how you should get updates, and I see the 2.301 package in the repo metadata.

So, why can’t your server fetch the updated metadata?

Did you try dnf clean all and then dnf update?

1 Like

I don’t have dnf, only yum. The Webmin package update system always starts with this:

Clearing package caches …
… done

But it always said this even after Webmin 2.301 was available:

Re-fetching available packages …
… found 0 possible updates

I did finally discover that the Webmin.com Download page required clicking a button to display a list of installation files that can be downloaded. Unfortunately clicking the RPM option resulted in this:

An error has been encountered in accessing this page.

1. Server: webmin.com
2. URL path: /download/rpm/webmin-current.rpm
3. Error notes: Server unable to read htaccess file, denying access to be safe
4. Error type: 403
5. Request method: GET
6. Request query string: NONE
7. Time: 2025-02-24 19:27:56 UTC (1740425276)

Reporting this problem: The problem you have encountered is with a project web site hosted by SourceForge.net. This issue should be reported to the SourceForge.net-hosted project (not to SourceForge.net).

If this is a severe or recurring/persistent problem, please do one of the following, and provide the error text (numbered 1 through 7, above):

1. Contact the project via their designated support resources.
2. Contact the project administrators of this project via email (see the upper right-hand corner of the Project Summary page for their usernames) at user-name@users.sourceforge.net

If you are a maintainer of this web content, please refer to the Site Documentation regarding web services for further assistance.

NOTE: As of 2008-10-23 directory index display has been disabled by default. This option may be re-enabled by the project by placing a file with the name “.htaccess” with this line:
*** Options +Indexes***

Oh, your OS is no longer supported.

(But, it should still be able to fetch updates from the current repo.)

This has nothing to do with the yum/dnf repos, which are not hosted on SourceForge infrastructure.

True, but I just thought you would want to know that:

  1. people are not shown the correct address for downloading installation files:
    https://github.com/webmin/webmin/releases

  2. instead they get an error message when they try using what is displayed on that webmin.com page.

That’s not the “correct” address, it’s just another one. The SourceForge one should also work. I can’t fix it, as I don’t have access to the Webmin SourceForge project, but maybe @Jamie can.

But, almost everyone (like 99% of people using any of the popular Linux distributions) should be using their package manager to install Webmin rather than downloading the package directly.

@richard47 which page are you referring to that has the incorrect instructions? I wasn’t able to re-produce that error fetching /download/rpm/webmin-current.rpm

1 Like

Under manual section

Oh, yeah, I’m not seeing a problem, either. Presumably a temporary SourceForge problem.

Same here, no errors now, so it was a temporary glitch I stumbled upon. Nonetheless, if you are inclined you might consider not hiding the four manual installation options like this:

It doesn’t save much screen real estate and I didn’t realize I needed to click the triangle, especially since the mouse cursor changes into a magnifying glass typically used for images and frankly I thought it had something to do with “Older Versions” which I had no interest in.