can't upgrade to 1.25

rldev

Verified User
Joined
May 26, 2004
Messages
1,003
Maybe some have experienced this. I can not upgrade. Here is the error:

Error restoring file /usr/local/directadmin/update.tar.gz :
gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
: tar returned error code 512<br>
<br>

Any clues?
 
Look at that tar.gz file you've downloaded. It probably contains an error message rather than the actual file.

Jeff
 
Error restoring file /usr/local/directadmin/update.tar.gz

I'm getting the same error. Mine says:

Error restoring file /usr/local/directadmin/update.tar.gz :
gzip: stdin: not in gzip format
/bin/tar: Child returned status 1
/bin/tar: Error exit delayed from previous errors
: tar returned error code 512<br>
<br>


Im running 2 linux machines, both running Redhat 9... One updated fine but another gives this error??

DA has always update fine in the passed, but not this time :(

Any ideas what it could be?

Thanks
 
Try a manual update:
Code:
cd /usr/local/directadmin
wget -O update.tar.gz https://www.directadmin.com/cgi-bin/daupdate?uid=123\&lid=1234
tar xvzf update.tar.gz
./directadmin p
cd scripts
./update.sh
service directadmin restart
where 123 needs to be replaced by your DA user ID, and 1234 needs to be replaced by your License ID.

Jeff
 
Thanks

Thanks jlasman..

It just seems a bit strange because I'v never had to do this before when I'v done an upgrade... Anyway! Many thanks again for your help...

Rook
 
Opss! That didn't work either...

Actually! I just tried to do it Manually and that didn't work either?? I downloaded the file ok with 'wget' but when I tried to unzip it, it says:

[root@server directadmin]# tar xvzf update.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

Any other ideas??

++++++++
By the way!
Would I get this error if my DA Licence has run out? It doesn't say that it has run out, but if it thinks it has? Would this be the cause?
++++++++

Thanks
Rook
 
Having the same errors here.

I looked at the update.tar.gz DA downloaded... it was just a plain error text file.

And then I tried running the command to wget it manually, it says "No match", which I am guessing that I am still getting the error message page with no links.
 
Did you add those "\" marks I pointed out in your manual attempts?

Jeff
 
All Fixed...

Yes Mark, I did all that you said, but it still didn't work...

However! I did get it fixed... I found out it was a problem with my DA License (It just wouldn't update from my end). So I got in touch with DA support and they updated it remotely... It works fine now.

I really appreciate all you help and effort in this one dude...

Thanks again
Rook
 
Apparently it was a faulty license file, thus preventing my box from retrieving the actual patch file but not the error message file.

DA sent over a new license file and I got to update it automatically via the CP without a problem. :)
 
Back
Top