Webmin and Usermin version outdated

SYSTEM INFORMATION
OS type and version CentOS Linux 7.9.2009
Webmin version 1.994
Virtualmin version 7.1
Usermin version 1.840

Hi,

My version on webmin is stuck to 1.994. I’ve read several topics and I’ve seen several different answers to similar questions. So I would appreciate a confirmation before I do something stupid :slight_smile:

I saw this answer, is it safe to run it?

/usr/bin/wget https://software.virtualmin.com/gpl/scripts/install.sh
/usr/bin/sudo /bin/sh install.sh --setup
/usr/bin/apt-get clean
/usr/bin/apt-get update
/usr/bin/apt-get upgrade

Continue ? Yes ?

Thanks for your help

Centos doesn’t use apt-get.
As far as I know this issue has been fixed.
install.sh --setup updates the repos.
Use webmin Software Package Updates and refresh the packages.

Hi,

Thx for your reply. SI I go to Software Package Updates / Package Updates / Refresh Available packages

Result :

 Clearing package caches ..
 .. done
 
 Re-fetching available packages ..
 .. found **0 possible updates**

Can y execute this command ? /usr/bin/sudo /bin/sh install.sh --setup

Yes, it’s safe to run install.sh -s or install.sh --setup to setup repos. After doing that you will be able to run yum update to install latest updates.

Hmm It’s failed

INFO - 2022-12-21 13:29:33 - Started installation log in /root/virtualmin-install.log
DEBUG - 2022-12-21 13:29:33 - Install mode: full
DEBUG - 2022-12-21 13:29:33 - Product: Virtualmin GPL
DEBUG - 2022-12-21 13:29:33 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2022-12-21 13:29:33 - install.sh version: 1.1.5
INFO - 2022-12-21 13:29:33 - Checking for fully qualified hostname...
INFO - 2022-12-21 13:29:33 - Hostname OK: fully qualified as ***
INFO - 2022-12-21 13:29:33 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2022-12-21 13:29:33 - Loading OS selection library...
INFO - 2022-12-21 13:29:34 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2022-12-21 13:29:34 - Loading OS list...
INFO - 2022-12-21 13:29:34 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2022-12-21 13:29:34 - Operating system name:    CentOS Linux
INFO - 2022-12-21 13:29:34 - Operating system version: 7.9.2009
INFO - 2022-12-21 13:29:34 - Configuring package manager for CentOS Linux 7.9.2009...
INFO - 2022-12-21 13:29:34 - Disabling SELinux during installation...
INFO - 2022-12-21 13:29:34 -   setenforce 0 failed: 1
INFO - 2022-12-21 13:29:36 - Download of http://software.virtualmin.com/gpl/rhel/7.9.2009/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
FATAL - 2022-12-21 13:29:36 - Fatal Error Occurred: Installation of virtualmin-release failed: 22
FATAL - 2022-12-21 13:29:36 - Cannot continue installation.
FATAL - 2022-12-21 13:29:36 - Attempting to remove virtualmin repository configuration, so the installation can be 
FATAL - 2022-12-21 13:29:36 - re-attempted after any problems have been resolved.
FATAL - 2022-12-21 13:29:36 - Removing temporary directory and files.
FATAL - 2022-12-21 13:29:36 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2022-12-21 13:29:36 - in /root/virtualmin-install.log

any idea what is wrong ?

DEBUG - 2022-12-21 13:29:33 - install.sh version: 1.1.5

I think your script version is way too outdated. Try the latest version of virtualmin-install.sh script.

Holy hell. Be grateful it failed. If it had succeeded it would have done some damage. That script is so old it doesn’t have the --setup option at all.

1 Like

ok thank you for your answers. What do you advise me to do now?

ok thank you for your answers. What do you advise me to do now?

I’d appreciate it if I didn’t crached my server :smiley:

Ilia already told you what to do. You need the current version of the install script to use the --setup option.