KNOWNHOST WIKI

User Tools

Site Tools


control-panels:directadmin:how-to-update-directadmin-to-pre-release-version

How to Update DirectAdmin To a Pre-Release Version

Sometimes, a feature that you've been anxiously waiting on has been completed and included in the pre-release version of your favorite panel and you just cannot wait to test it out. Luckily, you don't have to if that feature is available in the pre-release version!

Use the following commands to update to a pre-release version of DirectAdmin, but do note that you may encounter some quirks or bugs when upgrading to a non-stable version:

  userid=`grep uid /usr/local/directadmin/scripts/setup.txt | cut -d= -f2`; licenseid=`grep lid 
  /usr/local/directadmin/scripts/setup.txt | cut -d= -f2`
  cd /usr/local/directadmin
  wget --no-check-certificate -O new.tar.gz "https://www.directadmin.com/cgi-bin/daupdate?redirect=ok&uid=$userid&lid=$licenseid&channel=beta"
  tar xvzf new.tar.gz
  ./directadmin p
  scripts/update.sh
  killall -9 directadmin
  ./directadmin d

Because updates do not issue full configuration rewrites, you must issue a full rewrite to get any template changes that may have been included in the update. I find that it is always a best practice to issue the rewrite_confs command just in case. The command is as follows:

  cd /usr/local/directadmin/custombuild
  ./build rewrite_confs

As always, if you encounter any error, or require assistance, feel free to contact your 24/7 KnownHost Support team! :)

control-panels/directadmin/how-to-update-directadmin-to-pre-release-version.txt · Last modified: 2020/09/28 10:53 by Karson N.