Segmentation fault trying to update DirectAdmin

gabiXO

Verified User
Joined
Feb 4, 2020
Messages
6
Hello,

For the first time since I use DirectAdmin, I am now getting an error while trying to update from 1.61.4 to 1.61.5
The error is:
Code:
Executing /usr/local/directadmin/plugins/custombuild/admin/build update_da...
[1mUpdating DirectAdmin(B[m
/usr/local/directadmin/custombuild/build: line 1220: 32438 Segmentation fault /usr/local/directadmin/dataskq ${DATASKQ_OPT} --custombuild
Trying to update from the " Licensing / Updates " page, does nothing.

My system:
Code:
~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 9.12 (stretch)
Release:        9.12
Codename:       stretch

DirectAdmin info:
Code:
DirectAdmin Values
Compiled on    Debian 9.0 64-bit
Compile Date    Sep 21 2020, 19:54:13
Server Version    1.61.4
Current Available Version    1.61.5
Last Updated    Wed Sep 23 17:07:19 2020
Last Restart    Wed Sep 30 04:45:40 2020

Any advice on how to proceed is much appreciated.
 
May you create a ticket for this or just pm me access there? Even if your license is without support, this is fully covered, as it sounds like a bug. Thank you!
 
Umm.. how do I create a ticket though? :))
This is an Internal License on guest login.
Please contact your license provider for technical support.
Directadmin is installed on a VPS and the provider of the VPS is responsible for the license.
 
Looks like a half-extracted dataskq, not sure why:
Code:
-rwx------  1 root     diradmin  5429248 Sep 23 17:07 dataskq
-rwxr-xr-x  1 root     mysql    11117152 Sep 23 17:07 directadmin
-rw-------  1 diradmin diradmin 13224583 Sep 23 17:07 update.tar.gz
We know the dataskq is incomplete as it's much smaller than the directadmin binary, which both share the same back-end libs.
The update.tar.gz was intact with the same date, so I've just re-extracted it, and it extracted fine:
Code:
-rwxr-xr-x  1 root     mysql    11015256 Sep 22 04:54 dataskq
-rwxr-xr-x  1 root     mysql    11117152 Sep 22 04:54 directadmin
followed by a ./directadmin p to fix the permissions.

update.tar.gz was fine.. so tar must have been killed mid extraction, somehow... odd.
The /var/log/messages didn't show anything for that timestamp, the errortaskq.log was empty for that time, and the syslog doesn't go that far back, so I'm not able to spot the exact cause.

Either way, after the re-exaction, the update went through.

Tip of the day: testing daupdate calls by the binary via command line:
Code:
cd /usr/local/directadmin
echo "action=update&value=program&force=yes" >> data/task.queue; ./dataskq d220
John
 
Back
Top