BBM
Verified User
Tried "./build update", but the update server (files25.directadmin.com) seemed offline at the moment.
CB noticed this after a few tries and said it will use a backup-server for the remainder of the run, but it still falls back to the 'files25'-server everytime after this.
So the script doesn't "remember" the chosen update-server is down and will try to download from it everytime.
IMO it should default back to files1.directadmin.com all the time after it has found the chosen download-server is offline.
CB noticed this after a few tries and said it will use a backup-server for the remainder of the run, but it still falls back to the 'files25'-server everytime after this.
So the script doesn't "remember" the chosen update-server is down and will try to download from it everytime.
IMO it should default back to files1.directadmin.com all the time after it has found the chosen download-server is offline.
Code:
./build update
--2016-07-04 01:03:37-- http://files25.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Resolving files25.directadmin.com... 213.163.93.166
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Retrying.
--2016-07-04 01:03:44-- (try: 2) http://files25.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Retrying.
--2016-07-04 01:03:51-- (try: 3) http://files25.directadmin.com/services/custombuild/2.0/custombuild.tar.gz
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Giving up.
Fileserver might be down, using the backup file server..
--2016-07-04 01:03:56-- http://69.162.69.58/services/custombuild/2.0/custombuild.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 174457 (170K) [application/x-gzip]
Saving to: “./custombuild.tar.gz”
100%[==============================================================================>] 174,457 360K/s in 0.5s
2016-07-04 01:03:56 (360 KB/s) - “./custombuild.tar.gz” saved [174457/174457]
Extracting custombuild.tar.gz...
...
...
... (files being extracted)
...
...
Could not get versions.txt from http://files25.directadmin.com/services/custombuild. Trying backup.
Ok, that worked. Please try using a different mirror.
./build set_fastest
http://help.directadmin.com/item.php?id=305
[b]Using http://69.162.69.58/services/custombuild for the remainder of this run.[/b]
*** MD5 Checksum for servers.txt Failed. Redownloading...***
Downloading servers.txt...
--2016-07-04 01:04:26-- [b]http://files25.directadmin.com/services/custombuild/servers.txt[/b]
Resolving files25.directadmin.com... 213.163.93.166
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Retrying.
--2016-07-04 01:04:32-- (try: 2) http://files25.directadmin.com/services/custombuild/servers.txt
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Retrying.
--2016-07-04 01:04:39-- (try: 3) http://files25.directadmin.com/services/custombuild/servers.txt
Connecting to files25.directadmin.com|213.163.93.166|:80... failed: Connection timed out.
Giving up.
Downloaded file /usr/local/directadmin/custombuild/servers.txt does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
--2016-07-04 01:04:44-- http://69.162.69.58/services/custombuild/servers.txt
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 498 [text/plain]
Saving to: “/usr/local/directadmin/custombuild/servers.txt”