da update not working

RumaDaptardar

New member
Joined
Nov 19, 2022
Messages
6
Hello,
I don't know why there is no update button in my current installed DirectAdmin > Support & Help > Updates

Output of
da update
Unknown command `update'. Please specify one command of: admin, admin-backup, config, config-set, create-login-url, database-create, doveadm-quota, info, install, license, permissions, root-auth-url, server, suspend-domain, suspend-user, unsuspend-domain, unsuspend-user or version
Usage:
directadmin [OPTIONS] <command>

Help Options:
-h, --help Show this help message

Available commands:
admin Print admin username
admin-backup Perform admin-level backups
config Print Directadmin config
config-set Set Directadmin config value
create-login-url Create single-sign-on URL
database-create Create SQLite database
doveadm-quota Print email usage quota
info Print binary compile info
install Run Directadmin installer
license Print license info
permissions Set Directadmin files permissions
root-auth-url Create a login-key for HTTP API access
server Run Directadmin web server
suspend-domain Suspend domain
suspend-user Suspend user
unsuspend-domain Unsuspend domain
unsuspend-user Unsuspend user
version Print Directadmin version

DA Version1.63.9
Detected server OSrhel7_amd64

What should I do ?
I want to update my da.
 
That is the wrong command. You used da update or directadmin update.

You should use the custombuild update command.
Either check your admin -> plugins -> Custombuild to upgrade or do it via SSH.
Code:
cd /usr/local/directadmin/custombuild
./build update
./build update_versions

The ./build update_versions command will update the software which needs updating.
If you only want to update DA then only use the ./build update command if I'm not mistaken.
 
What should I do ?
I want to update my da.

The command da update is supported since Version 1.640. See https://docs.directadmin.com/changelog/version-1.640.html

In order to update DirectAdmin you might use CustomBuild as Richard has already mentioned, or DirectAdmin:

Enhanced skin) Connect as admin -> go to "Licensing / Updates" -> Click "Update DirectAdmin"
Evolution skin) Connect as admin -> in meu find "Support & Help" -> Click "updates" -> Click "Update DirectAdmin"

That's it.
 
The command da update is supported since Version 1.640. See https://docs.directadmin.com/changelog/version-1.640.html

In order to update DirectAdmin you might use CustomBuild as Richard has already mentioned, or DirectAdmin:

Enhanced skin) Connect as admin -> go to "Licensing / Updates" -> Click "Update DirectAdmin"
Evolution skin) Connect as admin -> in meu find "Support & Help" -> Click "updates" -> Click "Update DirectAdmin"

That's it.
Thanks for the info sir,
But don't know why there is no "updates" button showing,

Version 1.63.9

And Update Channel is set to current, only restart button is there,
What can I do to update when there is no updates button showing there ?
Is there any manual way ? kindly guide.
 
Versions that do support updates directly with the da command shows this command in the help section:

Code:
# da v
DirectAdmin v.1.646 53808d2b03aaf753e24869cdacaccc47b9b696d0
Code:
# da --help
Usage:
  directadmin [OPTIONS] <command>

Help Options:
  -h, --help  Show this help message

Available commands:
  admin             Print admin username
  admin-backup      Perform admin-level backups
  api-url           Create a login-key for HTTP API access (aliases: root-auth-url)
  config            Print DirectAdmin config
  config-get        Get DirectAdmin config value
  config-set        Set DirectAdmin config value
  doveadm-quota     Print email usage quota
  info              Print binary compile info
  install           Run DirectAdmin installer
  license           Print license info
  login-url         Create single-sign-on URL (aliases: create-login-url)
  permissions       Set DirectAdmin files permissions
  server            Run DirectAdmin web server
  suspend-domain    Suspend domain
  suspend-user      Suspend user
  taskq             Run dataskq
  unsuspend-domain  Unsuspend domain
  unsuspend-user    Unsuspend user
  update            Update DirectAdmin
  version           Print DirectAdmin version

@RumaDaptardar if you are not using legacy OS (CentOS 6, Debian 8 or Debian 9) the easiest way to upgrade is with the getDA.sh script. Usage example:

Code:
/usr/local/directadmin/scripts/getDA.sh current

In the latest versions script getDA.sh just calls da update but for older DA versions it actually includes the commands to download and install DA upgrade using shell tools.
 
Back
Top