Upgrade to v20 keeps failing - on-prem - Linux

wizardsit

Bronze Partner
Advanced Certified
Joined
Jun 22, 2012
Messages
8
Reaction score
1
Hi Guys

A client has contacted us for a 3CX install that fails to upgrade from v18 to v20, reading the logs seems to indicate that it cannot contact 3CX servers. Ping to the servers is working so not sure where to go from here, the log appears to reference segmentation faults?

"
--2025-01-02 06:48:42-- https://downloads.3cx.com/downloads/misc/debian10to12/update.sh
Resolving downloads.3cx.com (downloads.3cx.com)... 172.64.152.237, 104.18.35.19, 2606:4700:4400::6812:2313, ...
Connecting to downloads.3cx.com (downloads.3cx.com)|172.64.152.237|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 48346 (47K) [application/x-sh]
Saving to: ‘/tmp/update.sh’

0K .......... .......... .......... .......... ....... 100% 7.26M=0.006s

2025-01-02 06:48:42 (7.26 MB/s) - ‘/tmp/update.sh’ saved [48346/48346]

[33m====== [06:48:43] Preparation: Script path is /tmp/update.sh[39m
[33m====== [06:48:43] Starting: Backup script /tmp/update.sh[39m
[33m====== [06:48:43] Starting: Backup script version: f3eaf417288d6435d00a4a7d7814ea8c37c76f375cee71a69be7da84508daf4e[39m
[33m====== [06:48:43] Starting: Current directory: /tmp[39m
[33m====== [06:48:43] Starting: Current user: root[39m
[33m====== [06:48:43] Starting: Current date: Thu 2 Jan 06:48:43 AEST 2025[39m
[33m====== [06:48:43] Starting: Current version: 10[39m
[33m====== [06:48:43] Starting: Architecture: amd64[39m
[33m====== [06:48:43] Starting: Hostname: LIN-3CX[39m
[33m====== [06:48:43] Starting: Hypervisor: [39m
> Execute apt command simulation on "update"
> Execute apt command on "update"
Reading package lists...
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Method http has died unexpectedly!
E: Sub-process http received a segmentation fault.
E: Method /usr/lib/apt/methods/http did not start correctly
E: Failed to fetch http://repo.3cx.com/debian/1809/dists/buster/InRelease
E: Failed to fetch http://repo.3cx.com/debian-security/1809/dists/buster/InRelease
E: Failed to fetch http://repo.3cx.com/3cx/dists/buster-testing/InRelease
E: Failed to fetch http://repo.3cx.com/3cx/dists/buster/InRelease
E: Some index files failed to download. They have been ignored, or old ones used instead.
/tmp/update.sh: line 55: jq: command not found"

Full log attached in case we are on the wrong track.
 

Attachments

Last edited:
You may be better off (and quicker) to do a backup, reinstall and restore.

v18 isnt up for discussion on the forum anymore..
 

Latest Posts

Forum statistics

Threads
111,962
Messages
589,993
Members
164,867
Latest member
swegner