How to upgrade your version of Webmin

As with any piece of software, it's always a good idea to keep all applications and tools on your server up-to-date to avoid any security holes that could leave you vulnerable.

At the time of this article's creation, a security vulnerability found in Webmin could allow an attacker to log into it without a password (in versions up to 1.500).  As such, you'll want to update your version of Webmin to ensure you have all the appropriate patches.

To do so:

1.  Browse to https://<primary server IP>:10000  (replace "<primary server IP" with your server's IP).

2.  Accept the certificate warning if you're using a self signed certificate.

3.  Log in with "root" as the username, and then your root password.




4.  Select "Webmin Configuration" from the main Webmin menu.




5.  Select "Upgrade Webmin."




6.  Select the radio button for "Latest version from www.webmin.com."




7.  Also, select the checkbox for "Upgrade even if new version is the same or older?"




8.  Click the "Upgrade Webmin" button.




9.  Wait for the update to download and install.  This may take some time.

10.  Once the update is installed, you may be prompted to install patches for the new version.  It is advisable to install these, as well.


**NOTE**

Due to a bug in much earlier versions of Webmin, you may encounter an error:

*Failed to upgrade from www.webmin.com: Missing Location header

If you encounter this error, follow these steps:

1)     Navigate to: http://prdownloads.sourceforge.net/webadmin/webmin-1.500-1.noarch.rpm and download the file to your local computer.
2)     Browse to https://<primary server IP>:10000 (replace "<primary server IP" with your server's IP).
3)     Accept the certificate warning if you're using a self signed certificate.
4)     Log in with "root" as the username, and then your root password.
5)     Select "Webmin Configuration" from the main Webmin menu.
6)     Select "Upgrade Webmin."
7)     Select the radio button for “From uploaded file”  and click Browse
8)     Locate the file you downloaded on step 1 and select it.
9)     Ensure the checkbox for “Check GnuPG signature on package” as well as the “Upgrade even if new version is the same or older”
10)  Click the “Upgrade Webmin” button.
11)  Wait for the update to upload and install. This may take some time.
12)  Once the update is installed, you may be prompted to install patches for the new version. It is advisable to install these, as well.

If you are still having issues with the above, you can download the file in step 1 and then FTP it to one of your websites, and then instead of selecting “From uploaded file” on step 7, select the “From ftp or http URL” and input the URL you placed the file i.e.: http://www.thesba.com/webmin-1.500-1.noarch.rpm

If you require a different package, please see the links here: http://www.webmin.com/download.html

Add Feedback