Updating DA from v1.36.2...

Hello,

You should use either /usr/local/directadmin/custombuild/build script or a functionality of directadmin web-GUI to update the version of daemon. And of course make sure you've got wget installed on your FreeBSD powered boxes.
 
Thanks for your reply.

I have checked that wget is installed, all good. I also tried fetch, and both are unable to pull the file... both giving "No Match" error.

I have run '/usr/local/directadmin/custombuild/build' and see the list of apps to update, but not sure how to update directadmin itself. Seems if I run with this command, I get an install of the app's version already in this folder, not an updated one.

Can anyone point me to the best way to update my DirectAdmin? I am a NOOB, so I need some pretty clear instructions... I promise once I've learned it, I'm all good for the future! ;)
 
Will you please post here the full output (hiding of course your LID and CID) of what you get when doing a manual update? This link http://help.directadmin.com/item.php?id=29 is an official guide how to do it.

From SSH you can just follow this:

If you want to update all the available versions run: /usr/local/directadmin/custombuild/build update_versions

so run

Code:
cd ./usr/local/directadmin/custombuild/
./build update 
./build set_fastest
./build versions
./build update_versions

and you'll get all available updates from your custombuild script.
 
This is what I get... (uid & lid XXXX out)


medic# cd /usr/local/directadmin
medic# wget --no-check-certificate -O update.tar.gz 'https://www.directadmin.com/cgi-bin/daupdate?uid=XXXX&lid=XXXX'
 
Try again...

Code:
medic# cd /usr/local/directadmin
medic# wget --no-check-certificate -O update.tar.gz 'https://www.directadmin.com/cgi-bin/daupdate?uid=XXXX&lid=XXXX'
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
medic#
 
Dammit... It keeps removing part of the code on posting...

3rd try:

Code:
medic# cd /usr/local/directadmin
medic# wget --no-check-certificate -O update.tar.gz 'https://www.directadmin.com/cgi-bin/daupdate?uid=15474&lid=73257'
Code:
wget: unrecognized option `--no-check-certificate'
Usage: wget [OPTION]... [URL]...

Try `wget --help' for more options.
medic#
 
Ok, so I removed "--no-check-certificate" and then that command worked.

All the next commands worked until:

Code:
medic# ./directadmin p
Permissions set
medic# cd scripts
medic# ./update.sh
Stopping DA-PopB4Smtp: [ OK ]
Starting DA-PopB4Smtp: [ OK ]
net.inet6.ip6.v6only: 1 -> 0

medic# /etc/init.d/directadmin restart
/etc/init.d/directadmin: Command not found.

I also tried this to restart:

Code:
medic# service directadmin restart
Stopping DirectAdmin: [ FAILED ]
Starting DirectAdmin: [ OK ]
medic#

No dice.
 
error log shows this error repeatedly:

2012:02:02-11:14:11: Unable to read the license file

nothing else in the error log.
 
Solved

SOLVED!

I ran this to update the license:

Code:
medic# cd /usr/local/directadmin/scripts
medic# ./getLicense.sh XXXX XXXX

Then restarted, and its all good. Updated & running fine.

Thanks so much for your help!
 
Back
Top