I’m getting this error only from this week update of install.sh
Two weeks back it was working fine
i think it could be issue with recent change of
# $download "https://$upgrade_virtualmin_host/lib/slib.sh" >>$log 2>&1
# if [ $? -ne 0 ]; then
# echo "Error: Failed to download utility function library. Cannot continue. Check your network connection and DNS settings."
# exit 1
# fi
chmod +x /root/slib.sh
There is no slib.sh by default in Azure Ubuntu OS
I tried with All version of Ubuntu All same issue
But when i installed old version of install.sh file everything worked fine
OS Version
root@:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Error
[15/21] Configuring SpamAssassin ✔
[16/21] Configuring Status ✔
[17/21] Configuring Upgrade ✔
[18/21] Configuring Usermin ▒▒▒Error: Failed to open PID file
Error
-----
Failed to open PID file
-----
▣▣▣ Cleaning up
[WARNING] The following errors occurred during installation:
◉ Postinstall configuration returned an error.
systemctl status usermin
root@:~# systemctl status usermin
● usermin.service - Usermin server daemon
Loaded: loaded (/lib/systemd/system/usermin.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Sun 2023-01-15 19:48:55 UTC; 1s ago
Process: 39509 ExecStart=/usr/share/usermin/miniserv.pl /etc/usermin/miniserv.conf (code=exited, status=255/EXCEPTION)
CPU: 104ms
Why would there be an slib.sh in Azure Ubuntu OS? It’s our library. We download it from our software repository.
I just did a test install on Debian which went off without a hitch…I’ll try on Ubuntu, but that looks like you just don’t have working network. i.e. your server can’t download things from our software repository.