How to upgrade to v18 Update 9A

Status
Not open for further replies.

tekspace

Customer
Joined
Jul 11, 2016
Messages
7
Reaction score
2
Hi all,

2 issues here:

1. I have just been informed that I need to update my PABX to V18 Update 9A. We have our 3CX instance hosted in Ms Azure. When i go to updates the only available update is Upgrade to Version 20 and the upgrade to build 9A is not there. I have checked and im definitely only on V18 Update 9 (18.0 (Build 20)). Is there a way to manually install Update 9A so my PABX continues to operate until i can upgrade to V20.

2. I attempted to upgrade to V20 last night and it basically instantly fails. Log shows:
Connecting to downloads.3cx.com (downloads.3cx.com)|104.18.31.129|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 47472 (46K) [application/x-sh]
Saving to: ‘/tmp/update.sh’

0K .......... .......... .......... .......... ...... 100% 73.8M=0.001s

2024-08-08 18:57:05 (73.8 MB/s) - ‘/tmp/update.sh’ saved [47472/47472]

[33m====== [18:57:06] Preparation: Script path is /tmp/update.sh[39m
[33m====== [18:57:06] Starting: Backup script /tmp/update.sh[39m
[33m====== [18:57:06] Starting: Backup script version: 6129c6b15db886fbb9f9f47a58e7a046225005720255f565080145f34d802b33[39m
[33m====== [18:57:06] Starting: Current directory: /tmp[39m
[33m====== [18:57:06] Starting: Current user: root[39m
[33m====== [18:57:06] Starting: Current date: Thu Aug 8 18:57:06 AEST 2024[39m
[33m====== [18:57:06] Starting: Current version: 10[39m
[33m====== [18:57:06] Starting: Architecture: amd64[39m
[33m====== [18:57:06] Starting: Hostname: ts-ase-3cxpabx[39m
[33m====== [18:57:06] Starting: Hypervisor: hyperv[39m
> Execute apt command simulation on "update"
> Execute apt command on "update"
/tmp/update.sh: line 96: /usr/bin/apt-get: No such file or directory
[33m====== [18:57:07] Upgrade Result: *******************************************[39m
{
"result": "Upgrade",
"time": "08-08-2024 18:57:06",
"title": "Package Update Failed",
"message": "An error occurred while upgrading package: update"
}
[31m[18:57] Upgrade: Package Update Failed - 0[39m
/tmp/update.sh: line 344: apt: command not found
> Execute apt command simulation on "update"
> Execute apt command on "update"
/tmp/update.sh: line 96: /usr/bin/apt-get: No such file or directory
[33m====== [18:57:12] Upgrade Result: *******************************************[39m
{
"result": "Upgrade",
"time": "08-08-2024 18:57:12",
"title": "Package Update Failed",
"message": "An error occurred while upgrading package: update"
}
[31m[18:57] Upgrade: Package Update Failed - 0[39m
Failed to start apt-daily.timer: Unit apt-daily.timer not found.
 
Is your license active?

You could always install v18 new and restore during the install. I believe the download is 9 not 9a though.(change the Debian version in the download URL from 12 to 10)

Or install 20 and restore.
https://www.3cx.com/blog/releases/v20-upgrade-checklist-faq/
Hi Steve,
Yes we have an active license through to 30/01/2025. Im thinking I may need to go with the new deployment of V18 and restore.
When you say change the download URL from 12 to 10, how do I do this (assume its in settings > Paramaters?)?
Update: Current Downloads_URL is set to: https://downloads-global.3cx.com/downloads/v180
 
In your customer portal for the Linux ISO download URL, just change the number in it. “12” downloads v20.
 
Your installation seems to contain anomalies.
The error appears to indicate that apt-get does not exist in /usr/bin/.

Please SSH into your machine.

Execute the following command:
Bash:
sudo which apt-get

Let us know the output of the command.
 
Your installation seems to contain anomalies.
The error appears to indicate that apt-get does not exist in /usr/bin/.

Please SSH into your machine.

Execute the following command:
Bash:
sudo which apt-get

Let us know the output of the command.
Hi Guillaume,
I get no output at all:

pbxexpress@ts-ase-3cxpabx:~$ sudo which apt-get
pbxexpress@ts-ase-3cxpabx:~$
 
wow !

Try

Bash:
sudo cat /etc/*-release
 
  • Like
Reactions: Evolute IT
Yeah I mentally skipped past all that to, “well that’s broken” ;)
 
Yeah I mentally skipped past all that to, “well that’s broken” ;)

I understand, lol.

But when I visit the doctor, I like them to take the time to figure out why I’m sick, not just give me medication until the next illness based on a generalized diagnosis.

If there’s an underlying issue, it's good to understand it.

Obviously, making a backup, wiping everything, reinstalling, and then restoring the backup will fix the problem for now, but it doesn’t explain the situation. The problem might return if something affects the OS after the installation, for example.
However, on the other hand, it's also possible that this could permanently resolve the issue and prevent it from recurring.
 
  • Like
Reactions: Evolute IT
Thanks guys, I bit the bullet and just created a new V20 instance and restored the backup :-)
 
Status
Not open for further replies.

Forum statistics

Threads
111,953
Messages
589,914
Members
164,849
Latest member
BillyAkansel