DirectAdmin 1.51.3 -> 1.51.4 seems to FAIL

piotrv

Verified User
Joined
May 10, 2013
Messages
27
Code:
# ./build versions
Latest version of DirectAdmin: 1.51.4
Installed version of DirectAdmin: 1.51.3

DirectAdmin 1.51.3 to 1.51.4 update is available.

#  ./build update_da

Updating DirectAdmin

nothing echoed in the shell, I have to wait for 20 sec. then shell prompt returns

I do again
Code:
#  ./build versions
Latest version of DirectAdmin: 1.51.4
Installed version of DirectAdmin: 1.51.3

DirectAdmin 1.51.3 to 1.51.4 update is available.

Latest version of Let's Encrypt client: 1.0.10
Installed version of Let's Encrypt client: 1.0.10

DirectAdmin 1.51.3 to 1.51.4 update is available.

However, in DA panel msg:

This is an automated message notifying you that the DirectAdmin software has been successfully updated.

which is likely not the case:

Code:
# /usr/local/directadmin/directadmin v

Version: DirectAdmin v.1.51.3

It gets more weird:

Code:
# ./build update_versions

Updating DirectAdmin
Updating Let's Encrypt client
Downloading		letsencrypt.sh...
--2017-06-11 13:18:56--  http://files.directadmin.com/services/custombuild/all/letsencrypt.sh
Resolving files.directadmin.com (files.directadmin.com)... 69.162.69.58, 216.144.254.90, 208.167.226.3
Connecting to files.directadmin.com (files.directadmin.com)|69.162.69.58|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22139 (22K) [text/plain]
Saving to: `/usr/local/directadmin/custombuild/letsencrypt.sh'

100%[=========================================================================================================================================================================>] 22,139      --.-K/s   in 0.1s    

2017-06-11 13:18:56 (177 KB/s) - `/usr/local/directadmin/custombuild/letsencrypt.sh' saved [22139/22139]

[B]Let's encrypt client 1.0.10 has been installed. [/B]    (!!??????????!)

Never had this with DA updates before.
Can I manually try to install 1.51.4?
 
Last edited:
Hi Alex,

What directadmin logs say?

Since 2017:06:09-17:30:13
Code:
Can't connect to ssl!
 A failure in the SSL library occurred, usually a protocol error.
error:00000001:lib(0):func(0):reason(1)

massive:
Code:
cat  /var/log/directadmin/error.log | egrep "A failure in the SSL library occurred"  | wc -l
11828

I am not sure if this problem is related to a previous issue I had with the DA custom build script in upgrading Dovecot 2.2.25 -> 2.2.26.0.
Since 2.2.26 I have to manually compile Dovecot with altered CPPFLAGS because the DA script is expecting the openssl include and lib in a different path than it actually is on my Debian system.
See for details: Thread: Dovecot update 2.2.25 -> 2.2.26.0 FAILS


What OS and version is that?
Code:
lsb_release -d
Description:	Debian GNU/Linux 7.11 (wheezy)

What if you try to update it manually per guide https://help.directadmin.com/item.php?id=29 ?

Thanks for this reference, Alex.

I followed this guide and get no errors, however at
Code:
 ./update.sh

the shell prompt returns within a fraction of a second with no feedback shown (so it seems nothing happened), then
Code:
# /etc/init.d/directadmin restart
Stopping DirectAdmin: [ OK ]
Starting DirectAdmin: [ OK ]
and obviously not updated
Code:
/usr/local/directadmin/directadmin v
Version: DirectAdmin v.1.51.3

How bizarre ! :confused:

If you have any other suggestions in the meantime, I will appreciate heaps.
 
Last edited:
Alex, some info below which might help (sensitive information has been "obfuscated" );

What command returns?
Code:
wget --no-check-certificate -O update.tar.gz ......
Code:
# wget --no-check-certificate -O update.tar.gz 'https://www.directadmin.com/cgi-bin/daupdate?redirect=ok&uid=12345&lid=123456'
--2017-06-13 15:11:45--  [url]https://www.directadmin.com/cgi-bin/daupdate?redirect=ok&uid=12345&lid=123456[/url]
Resolving [url]www.directadmin.com[/url] ([url]www.directadmin.com[/url])... 216.144.255.179
Connecting to [url]www.directadmin.com[/url] ([url]www.directadmin.com)|216.144.255.179|:443[/url]... connected.
HTTP request sent, awaiting response... 302 Found
Location: [url]http://69.162.69.58/stable_releases_26487463753/packed_debian60_64.tar.gz[/url] [following]
--2017-06-13 15:11:48--  [url]http://69.162.69.58/stable_releases_26487463753/packed_debian60_64.tar.gz[/url]
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3667813 (3.5M) [application/x-gzip]
Saving to: `update.tar.gz'

100%[=============================================================================================>] 3,667,813   1.44M/s   in 2.4s    

2017-06-13 15:11:51 (1.44 MB/s) - `update.tar.gz' saved [3667813/3667813]


My wild guess is that you have a life-time license (not-portioned yet) but an IP is not valid for any reason.


Code:
License IP	 xxx.xxx.xx.xxx
Name in License	ABC
License ID	123456
Client ID	12345
License Type	INTERNAL LICENSE -- This special license may not be resold or transferred. For internal datacentre use only. Please contact your server provider for control panel and system technical assistance. Please report unauthorized reselling to [email][email protected][/email]
Valid After	Thu Jan 17 10:51:27 2013
Valid Until	Sun Jun 18 04:00:04 2017
Portioned License	This Portioned License is a license that has a true expiry at a date further into the future than is set in the physical key. The license will automatically update to the next time period when the key's expiry nears.
True expiry: Tue Jan 19 04:14:07 2038
Current Server Time	Tue Jun 13 13:32:17 2017
Time Remaining	4 days, 14 hours and 27 minutes
Last Updated	Thu May 18 04:01:03 2017
 
You are downloading a version for Debian 6.

[FONT=&quot]Debian 6 LTS is EOL as of February 2017.

[/FONT]
You need to update DA license with your actual OS version at www.directadmin.com, or contact your VPS company for it if you use a license from them.
 
You are downloading a version for Debian 6.
You need to update DA license with your actual OS version at www.directadmin.com, or contact your VPS company for it if you use a license from them.

Spot on. :D
Code:
cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux stretch/sid"
Back then I upgraded the system to Debian 7 . . .
Code:
 lsb_release -d
Description:	Debian GNU/Linux 7.11 (wheezy)
. . . and will upgrade to Debian 8 this year . .

I contacted Tilaa, my vps provider, and they instantly updated the DA license.
Everything sweet again :cool:

Thanks for your efforts and expertise, Alex!
 
Last edited:
Back
Top