file versions.txt disappear from directadmin repo

Morala

Verified User
Joined
Jul 27, 2010
Messages
15
./build set_fastest
Downloading versions.txt...

curl: (22) The requested URL returned error: 404 Not Found
Download of http://files22.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of http://files22.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of http://files22.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...

curl: (22) The requested URL returned error: 404 Not Found
Download of http://files22.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...
Download of http://files22.directadmin.com/services/custombuild/versions.txt failed 4 times, exiting...
 
update Directadmin first, it will automatics get versions.txt
 
update Directadmin first, it will automatics get versions.txt
 
./build update_da

Downloading versions.txt...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...

Download of http://files.directadmin.com/services/custombuild/versions.txt failed 4 times, exiting...
 
[root@vps custombuild]# ./build update

Downloading versions.txt...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...



curl: (22) The requested URL returned error: 404 Not Found

Download of http://files.directadmin.com/services/custombuild/versions.txt failed, re-downloading the file...

Download of http://files.directadmin.com/services/custombuild/versions.txt failed 4 times, exiting...
 
Thanks ccto !!

After updating da using CLI commands custombuild works normal
 
I also had the same problem as you. I use version 1.63. please guide me how to fix on this version.
 

Attachments

  • 4ACA9DFD-4C65-4147-B21C-0843F820BAC0.jpeg
    4ACA9DFD-4C65-4147-B21C-0843F820BAC0.jpeg
    71.2 KB · Views: 1
Just try to update DA using CLI commands, then custombuild will work right.



CHANNEL=current # can be one of: alpha, beta, current, stable or EOL channels: freebsd, rhel6, debian8, debian9
OS_SLUG=linux_amd64 # can be: linux_amd64, linux_arm64, freebsd_amd64
COMMIT=$(dig +short -t txt "$CHANNEL-version.directadmin.com" | sed 's|.*commit=\([0-9a-f]*\).*|\1|') # can be commit hash literal value if you want specific build to be installed
FILE="directadmin_${COMMIT}_${OS_SLUG}.tar.gz" # creates download package name from the variables above

curl --location --progress-bar --connect-timeout 10 "https://download.directadmin.com/${FILE}" --output "/root/${FILE}" # downloads given directadmin build into /root dir
tar xzf "/root/${FILE}" -C /usr/local/directadmin # extracts downloaded package to /usr/local/directadmin
/usr/local/directadmin/directadmin permissions || true # runs post-upgrade permission fix step
/usr/local/directadmin/scripts/update.sh # runs other post upgrade fixes
service directadmin restart # restarts directadmin
 
Hi everyone, recent DA versions no longer use versions.txt file from the mirrors (it is included and distributed in the DirectAdmin package). Furthermore DA/CB no longer uses multiple file mirrors - only one files.directadmin.com is being used (which uses global CDN to automatically cache files somewhere near your server).

If you see errors that versions.txt can not be downloaded it means you are using old DirectAdmin (and old CustomBuild). For non EOL distros the fix is easy - just update DA to the latest version. General help article for that is available in the docs. For modern DA installations it can be done with a single command da update. For older DA versions update can be triggered via helper script /usr/local/directadmin/scripts/getDA.sh current. For extremely old DA versions completely manual DA upgrade can be done by following instruction on docs website. Also update via GUI is also always an option as well.

However if you are running EOL distro - Debian 9 or older, RHEL 6 or older the solution is to upgrade your server OS to a non EOL one. If you want to continue running legacy OS you can continue using DA, and DA will continue to work but CustomBuild will throw errors. Actually for EOL distros CustomBuild were not receiving any updates for quite some time now, however CB was not throwing any errors since stale versions.txt was left on our mirrors. We have recently done a cleanup and versions.txt file was removed from the mirrors (because it is not needed by modern DA and CB anymore). This in turn have made EOL distros to start throwing errors when trying to update CB (and download versions.txt) rather than silently getting same old versions.txt file.
 
Back
Top