Solved unable to update 3cx on linux

Status
Not open for further replies.

midwest1

Gold Partner
Advanced Certified
Joined
Apr 19, 2010
Messages
23
Reaction score
4
Server isn't seeing that the license maintenance is correct:

unable to upgrade to SP5 3CX failed to establish a TCP connection to activation.3cx.com.
Ensure that the local or border firewalls are configured to allow outbound traffic to activation.3cx.com.
Firewall is 100% fine
ReleaseNew 15.5 SP5 RELEASEOut Of Date15.5.10244.415.5.13103.5


sudo apt-get update and upgrade not taking care since the source issue is probably regarding the license or cert

SSH output:

+++++++++++++
root@lpal-pbx-3cx:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
3cxpbx linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@lpal-pbx-3cx:~#


How to fix this isssue?
 
  • Like
Reactions: midwest1
Server isn't seeing that the license maintenance is correct:

unable to upgrade to SP5 3CX failed to establish a TCP connection to activation.3cx.com.
Ensure that the local or border firewalls are configured to allow outbound traffic to activation.3cx.com.
Since you are running a version prior to Sp6 you cannot authenticate to the activation server so you get this error. To be able to authenticate you need to update your system to Sp6. Please follow the guide @pact mentioned and let us know if that works.
 
Hi @midwest1

I presume you were following this guide; https://www.3cx.com/blog/news/pbx-upgrade-update-6/

Can you post the output of sudo apt-get update as well? (Update must be done prior to Upgrade, as Update updates the repositories).

Hello!

Look the output:
root@lpal-pbx-3cx:~# sudo apt-get update
Hit:1 http://security.debian.org stretch/updates InRelease
Ign:2 http://deb.debian.org/debian stretch InRelease
Hit:3 http://downloads.3cx.com/downloads/debian stretch-testing InRelease
Hit:4 http://deb.debian.org/debian stretch-updates InRelease
Hit:5 http://deb.debian.org/debian stretch Release
Hit:6 http://downloads.3cx.com/downloads/debian stretch InRelease
Reading package lists... Done
root@lpal-pbx-3cx:~# sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
3cxpbx linux-image-amd64
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

The license show as expired. But It is incorrect.
I have 3 out of 35 servers that are acting on the same way.

Any suggestions besides reinstall?

Thanks,
 
I did and still the same result

root@lpal-pbx-3cx:~# cat /etc/debian_version
9.8
root@lpal-pbx-3cx:~# sudo nano /etc/apt/sources.list.d/3cxpbx.list
root@lpal-pbx-3cx:~# cat /etc/apt/sources.list.d/3cxpbx.list
deb http://downloads.3cx.com/downloads/debian stretch main
root@lpal-pbx-3cx:# root@lpal-pbx-3cx:# apt-cache policy 3cxpbx
-bash: root@lpal-pbx-3cx:~#: command not found
root@lpal-pbx-3cx:~# apt-cache policy 3cxpbx
3cxpbx:
Installed: 15.5.10244.4
Candidate: 15.5.15502.6
Version table:
16.0.0.1375 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
16.0.0.1110 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
16.0.0.982 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
15.5.15502.6 500
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
15.5.15060.6 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
15.5.13103.5 500
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
15.5.12663.5 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
*** 15.5.10244.4 500
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
100 /var/lib/dpkg/status
15.5.10072.4 1
1 http://downloads.3cx.com/downloads/debian stretch-testing/main amd64 Packages
15.5.9348.3 500
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
15.5.8801.3 500
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
15.5.6354.2 500
500 http://downloads.3cx.com/downloads/debian stretch/main amd64 Packages
root@lpal-pbx-3cx:~#
 
Have you then restarted the VM after the repo updates?
 
  • Like
Reactions: midwest1
I just reboot again and status remain the same.
 
  • Like
Reactions: pact
Excellent to hear.

Thanks for updating with the end fix.

An install over the top is the last step in attempting a fix, it's also the step used when upgrading the release of Debian.
 
Status
Not open for further replies.

Forum statistics

Threads
111,916
Messages
589,719
Members
164,785
Latest member
Texas Clay -