Custombuild updated? Requires updated DirectAdmin?

sparek

Verified User
Joined
Jun 27, 2019
Messages
476
I noticed today that custombuild appears to be failing when trying to detect if a new version of DirectAdmin is available

The parameter --root-auth-url is being passed in /usr/local/directadmin/custombuild/build but is not available, at least in my (old) version of DirectAdmin

# /usr/local/directadmin/directadmin --root-auth-url
Invalid option: --root-auth-url

# /usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.61.5


The offending portion is on line 27513 of /usr/local/directadmin/custombuild/build
 
CB 2.0 rev. 2755 should suppress this error. Thank you for the report.
 
2755 stops the error message, but it doesn't retrieve any version information:

# /usr/local/directadmin/custombuild/build versions
Latest version of DirectAdmin: 0 build 0
Installed version of DirectAdmin: 0 build 0
 
Is there a way to obtain older revisions of the custombuild build script?

It would seem that something changed in the build script that wants an updated (?) DirectAdmin. And if you have not updated DirectAdmin, you're left in the cold.

Reviewing old build scripts I might be able to figure out what that is.

I do have a copy of Revision 2525 of the custombuild build script. Looking at the differences, the doVersions() function is completely different in 2525. But the 2525 revision does show me as having a DirectAdmin update available.
 
Back
Top