update from 1.34500 to 1.34.4

thanhtamntp

Verified User
Joined
Sep 30, 2009
Messages
13
Hi,

I update from 1.34500 to 1.34.4, i get error message
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

I try update manually
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

But, when i run tar xvzf update.tar.gz, i get error
# tar xvzf update.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors

I try run
# mv update.tar.gz update.tar
# tar xvf update.tar
# ./directadmin p
Permissions set

#./update.sh
Stopping DA-PopB4Smtp: [ OK ]
Starting DA-PopB4Smtp: [ OK ]

#/etc/init.d/directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]

but not update ?
update.png
 
I don't understand since you can't update from 1.34.5 to 1.34.4; 1.34.4 would be a downgrade.

Jeff
 
update from 1.34.5 to 1.351000

Subject: *** An error has occurred while trying to update the software ***
Code:
Error restoring file /usr/local/directadmin/update.tar.gz : tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.
: tar returned error code 256<br>
<br>
<br>
Try updating manually: http://help.directadmin.com/item.php?id=29<br>

passing on this link http://help.directadmin.com/item.php?id=29
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

attempted to manually update
Code:
server# wget -O update.tar.gz "https://www.directadmin.com/cgi-bin/daupdate?uid=****&lid=*****"
--07:46:14--  https://www.directadmin.com/cgi-bin/daupdate?uid=****&lid=*****
           => `update.tar.gz'
Resolving www.directadmin.com... done.
Connecting to www.directadmin.com[66.51.122.131]:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]

    [ <=>                                                                                                                                                                ] 45            43.95K/s

07:46:16 (43.95 KB/s) - `update.tar.gz' saved [45]

server# tar xvzf update.tar.gz
tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.
server#

instead of the archive is downloaded with the content Weil
Code:
* You are not allowed to run this program *

I update DirectAdmin?
 

Attachments

  • 3450.PNG
    3450.PNG
    4.5 KB · Views: 93
Last edited:
Back
Top