ItsOnlyMe
Verified User
Once again the installer or the directadmin binary has changed internally without updating the install scripts and did of course break the install script because a unknown flag was given.
It looks like this part is written in Golang. You can skip unknown flags in Go https://pkg.go.dev/github.com/jessevdk/go-flags#pkg-constants
unknown flag `update-channel'
It looks like this part is written in Golang. You can skip unknown flags in Go https://pkg.go.dev/github.com/jessevdk/go-flags#pkg-constants
Code:
// IgnoreUnknown ignores any unknown options and passes them as
// remaining command line arguments instead of generating an error.
IgnoreUnknown
unknown flag `update-channel'
Bash:
${DA_PATH}/directadmin install \
"--adminname=${ADMIN_USER}" \
"--adminpass=${ADMIN_PASS}" \
"--update-channel=${DA_CHANNEL}" \
"--email=${EMAIL}" \
"--hostname=${HOST}" \
"--network-dev=${ETH_DEV}" \
"--ip=${EXTERNAL_IP}" \
"--netmask=${NM}" \
"--ns1=${NS1}" \
"--ns2=${NS2}" \
|| exit 1