Hello, I can't update to version 4.4.6 or 4.4.2, even after MongoDB reinstall, file /www/server/panel/install/mongodb.sh always provides 4.0.10 when installing. I can get new version of install file by hitting update button where it gives me error:
mongodb.sh: line 170: [: 4.: integer expression expected
当前版本无法升级至v4.4.2版本
So I guess problem is caused by OS_SYS and OS_VER variables, that don't work with AlmaLinux because of this check:
Centos8Check=$(cat /etc/redhat-release|grep ' 8.'|grep -i centos)
if [ "${Centos8Check}" ]; then
OS_SYS="rhel"
OS_VER="80"
fi
Will it be okay if I change grep -i centos to grep -i almalinux to install newer version of mongodb, will it work correctly or there might be some issues? AlmaLinux 8.7 is based on RHEL 8 as well as CentOS 8 is.