Updating DirectAdmin Manually


Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"


Top Level » TroubleShooting
Top Level » DirectAdmin

Updating DirectAdmin ManuallyLast Modified: Nov 5, 2012, 2:35 am
If you need to update your copy of DirectAdmin manually, you can do so by running the following commands:

cd /usr/local/directadmin
wget --no-check-certificate -O update.tar.gz 'https://www.directadmin.com/cgi-bin/daupdate?redirect=ok&uid=123&lid=1234'
tar xvzf update.tar.gz
./directadmin p
cd scripts
./update.sh
/etc/init.d/directadmin restart

Where 123 and 1234 are your Client ID and License ID, respectively.  Note that if you are running FreeBSD, you might need to add a \ before the ? character in the wget line, and use /usr/local/etc/rc.d/directadmin restart.  If there are errrors extracting the update.tar.gz file, then run:

head -n 1 update.tar.gz

to search for an error.  If there is an readble error inside the file, then you'll need to contact sales@directadmin.com to get your license activated or updated.

Using the above redirect=ok option in the download string will tell the daupdate that the downloader being used supports Location header redirects. The daupdate script will offload downloads when possible to other servers.
 
Related Helpfiles
I can't connect to DirectAdmin on port 2222

© 2003 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST