DirectAdmin 1.715

fln

Administrator
Staff member
Joined
Aug 30, 2021
Messages
1,533
We are happy to announce the release of DirectAdmin 1.715.

A full release change log is here:

DirectAdmin 1.715​


The update should be automatically available for all installations subscribed to the current release channel.

We appreciate all the feedback on forums and issues reported in the ticketing system.

Thanks!
 
Last edited:
IMG_3393.jpeg


Computer says no …
Had to report a bug it says
 
We are happy to announce the release of DirectAdmin 1.715.

Thank you for the efforts. Could you kindly let me know how to get old-style list of installed versions and enabled options in CLI?

The following output is no way informative:

Code:
# da build versions
All software components are up to date.

I don't even say the new output of the command:

Code:
da build options

breaks our scripts....

more or less similar output can be get by:

Bash:
da build options | grep -Ev '^Advanced|^-|Extension|Settings|^$|^Options|da build' | awk '{print $1": "$2}'

but what about installed versions?
 
Last edited:
"da build versions" should same as "da version", with show the all software versions, even up to date
 
"da build versions" should same as "da version", with show the all software versions, even up to date

Its output changed since the new release and no longer prints installed versions. I personally would preferer the old style output with a list of installed versions.
 
For scrips please use special commands:

Code:
da build dump_options
da build dump_versions

The output is deliberately structured for easy parsing (pipe separated values). These commands are available since DirectAdmin 1.648 and are used by the web UI.

Edit: for completness:

Code:
da build dump_versions              # current and latest versions
da build dump_options               # contents of options.conf with help texts
da build dump_configure_scripts     # list of ./configure scripts
da build dump_build_software        # lsit of da build {something} commands
da build dump_actions               # list of random da build commands
 
Last edited:
For software the easiest way to check would be cat /usr/local/directadmin/custombuild/versions.txt. We expected the da build versions output to be mostly used to find out if there are any updates pending.

If there is a need for showing what versions are already installed we could extend the CLI interface.

Based on our experience from tech support - the current software version does not matter that much if we know it is up to date.
 
We still use the return code of `da build versions` to check if there are updates pending. We don't care about what updates there are, just if we need to update or not. Does this still work or should we use a different command for that?
 
@ju5t, yes it still works. However we do not really like that it clashes with command error detection (plus it can overflow and return 0 if there are exactly 256 updates pending). The long term plan in the future is to create a helper command that would give you the number of updates available. So that the non 0 return codes could be used exclusively to detect the execution errors.

But we are not changing anything in this release for the exit codes.
 
The long term plan in the future is to create a helper command that would give you the number of updates available.
But "version" must for display versions, If you want to create that style, just create the new command is better than changed the exists behavior
 
Before the update, "da build opt_help full" was used to give parameters descriptions .
Now, "da build opt_help" is an alias of "da build options". Ok, understood.

But there is still a way to output the descriptions or this resource is now vanished?
"da build options full" doesn't works...

Thanks is advance.
 
@EdsonGomes, yes, the long descriptions are no longer shown in the CLI interface. The long descriptions are still visible in the web UI.

We want the da build options command to be useful for system administrators to get a quick glance on the CB configuration. With the long option descriptions this was not possible to achieve. If there is a need for it we could add a new command that would print detailed descriptions.
 
Thanks for the answer.
I wouldn't say there is a "need", exactly... my internal web app reads the informations given by the CLI commands, to ellaborate it's own web interface. Specifically in this use case, I was using those descriptions to warn systems administrators (like myself) about new configurations available (like "DA description for this new setting: etc, etc, etc"), but I can just put something like "check DA docs or DA interface for more information" if this is too much trouble.
 
For scripts you can use da build dump_options command. It will show the option descriptions. This command is used by the DA web UI.
 
Back
Top