Update DirectAdmin License

Update DirectAdmin License

Hi,

To change the directadmin 'admin' password you have to do from SSH, since it uses the system user:

======================================================================
passwd admin
======================================================================

Then make sure to update that password in the documentation here:

======================================================================
/usr/local/directadmin/scripts/setup.txt
======================================================================


This is how to refresh your license via SSH:
======================================================================
cd /usr/local/directadmin/scripts

[root@server scripts]# egrep "id" /usr/local/directadmin/scripts/setup.txt
uid=17xxx
lid=90xxx

[root@server scripts]# ./getLicense.sh 17xxx 90xxx 67.22.xxx.xx
--2016-12-24 00:37:04--  https://www.directadmin.com/cgi-bin/licenseupdate?lid=90xxx&uid=17xxx
Resolving www.directadmin.com... 216.144.255.179
Connecting to www.directadmin.com|216.144.255.179|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: `/usr/local/directadmin/conf/license.key'

    [ <=>                                                                                                                                                                                    ] 1,559       --.-K/s   in 0s      

2016-12-24 00:37:04 (92.9 MB/s) - `/usr/local/directadmin/conf/license.key' saved [1559]

[root@server scripts]# service directadmin restart
Stopping DirectAdmin:                                      [  OK  ]
Starting DirectAdmin:                                      [  OK  ]
[root@server scripts]# 
======================================================================

Then check that you can login and DirectAdmin is working normally:

http://thedirectadminsiteurl.com:2222/
    • Related Articles

    • DirectAdmin Plugin Install instructions

      Setup instructions For automatic plugin installation please check DirectAdmin plugin job option in clusterlogics wizard: For manuall installation (only for advanced users): 1) download the package from the downloads area in the B4H GUI 2) Install the ...
    • DirectAdmin Can't Save Plugin Configuration

      If after installing the Bacula4Hosts Directadmin plugin via ssh, you are having issues with the plugin configuration form in the directadmin web interface, there are two places to check first: 1) Ensure php safe mode is disabled in your PHP build 2) ...
    • Cannot add additional clients/servers - exceeded license volume

      When you have exceeded your license limit (for # of clients/servers) - new servers cannot be added To purchase additional "configurable options" - please log into your account > select my services > press the "expanded view link" beside the service > ...
    • Directadmin That plugin does not exist for the specified User Level

      If you get the following error in the DirectAdmin gui when clicking on the Bacula4Hosts icon: That plugin does not exist for the specified User Level Please try reinstalling the plugin as follows: cd ...
    • Licensing How To (DCE/Self Hosted)

      With the DCE/Self Hosted edition, licensing is controlled via your accounts.bacula4.com portal 1) log into https://accounts.bacula4.com and manage your DCE/Self Hosted Service 2) upgrade/downgrade at section below, and set license numbers to what you ...