If you need to update your DirectAdmin license manually, you can do so by running the following commands:
cd /usr/local/directadmin/scripts
./getLicense.sh 123(User ID) 1234(LID)
service directadmin restart
Where 123 and 1234 are your Client ID and License ID, respectively. If there are errrors extracting the update.tar.gz file, then run:
head -n 1 /usr/local/directadmin/conf/license.key
If you have multiple IPs on your device and wget is binding to the incorrect one, you can specify the IP to bind to by adding it as the last argument:
cd /usr/local/directadmin/scripts
./getLicense.sh 123 1234 1.2.3.4
service directadmin restart
No comments:
Post a Comment