Are Virtualmin Repo's slow?

SYSTEM INFORMATION
OS type and version ubuntu 22.04
Webmin version latest
Virtualmin version latest

For the last 5 days I am trying to setup my new server using:

apt update -y && apt upgrade -y && apt install -y software-properties-common libdbd-mysql-perl apt-transport-https
wget https://software.virtualmin.com/gpl/scripts/install.sh
sh install.sh

On the wget command it hangs for at least 20 mins…

Resolving software.virtualmin.com (software.virtualmin.com)… 163.172.162.254
Connecting to software.virtualmin.com (software.virtualmin.com)|163.172.162.254|:443… connected.

And once the install.sh has downloaded, the install of Virtualmin just hangs for hours and sometimes installs after at least 2 hours or if no, fails. Seems like the repos are slow?

Since most of the packages are pulled from the OS repos and not Virtualmin, have you considered that these are slow?
Or possibly, that you have a network issue on your server?

2 Likes

I have a 1Gb down/up internet speed, if I install any other ap install from any repo its instant. Yes of cause I tested my internet and all is good.

Only when I run the install.sh script it hangs.

EDIT: why does it hang at
Connecting to software.virtualmin.com (software.virtualmin.com)|163.172.162.254|:443… connected.

Hangs here also:

sh install.sh
Running Virtualmin 7 pre-installation setup:
Syncing system time …
… done
Updating CA certificates …
… done

After 2 hours I get:

[ERROR] Something went wrong. Exiting.

[ERROR] The last few log entries were:

Get:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001 [28.5 MB]

Ign:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001

Get:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001 [28.5 MB]

Ign:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001

Get:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001 [28.5 MB]

Ign:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001

Ign:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001

Err:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001

Connection timed out [IP: 163.172.162.254 443]

Fetched 569 kB in 56min 31s (167 B/s)

E: Failed to fetch https://software.virtualmin.com/vm/7/gpl/apt/pool/main/w/webmin/webmin_2.001_all.deb Connection timed out [IP: 163.172.162.254 443]

same ip, works fast here without problems… maybe you have firewall, ISP issues?

1 Like

It was working fine about 5 days ago. I tried VPN but still the same.

I changed my /etc/apt/sources.list from us to uk to Singapore etc… still the same.

I am now in the process of installing Debian and not ubuntu and see if that works, 1/2 way through Debian install so will let you know

And it’s working fine now. It’s not Virtualmin. It’s your system or your connection. I’d be willing to bet you have a firewall issue either on your system or at your router or by way of your internet provider.

Just failed again with Debian:

Cleaning up software repo metadata [ :heavy_check_mark: ]

▣▣◻ Phase 2 of 3: Installation
Checking and installing system packages updates [ :heavy_check_mark: ]
Installing Virtualmin 7 and all related packages [ERROR] Failed with error: 100
[ ✘ ]

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Get:2 Index of /debian bullseye/main amd64 libnet-ssleay-perl amd64 1.88-3+b1 [321 kB]
Get:3 Index of /debian bullseye/main amd64 libauthen-pam-perl amd64 0.16-3+b8 [27.5 kB]
Get:4 Index of /debian bullseye/main amd64 libio-pty-perl amd64 1:1.15-2 [37.0 kB]
Get:5 Index of /debian bullseye/main amd64 unzip amd64 6.0-26+deb11u1 [172 kB]
Get:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001 [28.5 MB]
Ign:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001
Get:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001 [28.5 MB]
Err:6 Index of /vm/7/gpl/apt virtualmin/main amd64 webmin all 2.001
Error reading from server - read (5: Input/output error) [IP: 163.172.162.254 443]
Fetched 565 kB in 5min 19s (1,770 B/s)
E: Failed to fetch https://software.virtualmin.com/vm/7/gpl/apt/pool/main/w/webmin/webmin_2.001_all.deb Error reading from server - read (5: Input/output error) [IP: 163.172.162.254 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Installing Virtualmin 7 and all related packages: [2022-12-15 06:46:04 EST] [ERROR] Failed with error: 100
[2022-12-15 06:46:04 EST] [ERROR] Something went wrong. Exiting.
[2022-12-15 06:46:04 EST] [ERROR] The last few log entries were:

Problem solved, it wasn’t the ISP but internet gateway of Thailand that was throttling the IP for some reason.All other deb files downloaded fast but when it got to downloading webmin-virtual-server_7.3.gpl-1_all.deb it was downloading around 2,00 to 3,000 bps which on a 14MB file was taking over 2-3 hours to get to 98% and then failed.

Anyway, they have done something with my account IP (not my router IP as that renews when I restart router) but put me on a different network or something (don’t ask, I haven’t a clue).

But want to say a big thank you to all that tried helping, happy holidays :slight_smile:

1 Like

Thanks for the update.

We have a mirror, but I’d taken it down due to some weirdness with the repo metadata generation. I may try to get it back online this weekend. It won’t necessarily solve any specific problem with the repos for any specific person, but it is on a different continent from the primary one, so it’s likely network problems would be different between the two.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.