Failure to Upgrade/update from v16.0.8.9 to either v16.0.8.16 or v18

Status
Not open for further replies.

Mpflanigan

Customer
Joined
Mar 1, 2019
Messages
8
Reaction score
1
I have 2 installs currently on Debian 9, v16.0.8.9 that are in Chicago and Dublin (I am in SC, USA) I get an error when I try to update or upgrade. I will post the log below. Both installs were installed using wget.

update.log
Ign:1 http://deb.debian.org/debian stretch InRelease
Get:2 http://security.debian.org/debian-security stretch/updates InRelease [53.0 kB]
Hit:3 http://deb.debian.org/debian stretch Release
Hit:4 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Ign:5 http://cdn-aws.deb.debian.org/debian stretch InRelease
Hit:6 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Hit:7 http://cdn-aws.deb.debian.org/debian stretch-updates InRelease
Hit:8 http://cdn-aws.deb.debian.org/debian stretch Release
Get:9 http://security.debian.org/debian-security stretch/updates/main amd64 Packages [767 kB]
Fetched 820 kB in 1s (486 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
postgresql-contrib-9.6 : Depends: postgresql-9.6 (= 9.6.24-0+deb9u1) but 9.6.19-0+deb9u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
Rollback to 16.0.8.9...
Reading package lists...
Building dependency tree...
Reading state information...
3cxpbx is already the newest version (16.0.8.9).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
postgresql-contrib-9.6 : Depends: postgresql-9.6 (= 9.6.24-0+deb9u1) but 9.6.19-0+deb9u1 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I don't have a GUI or a CD drive. My re-seller says to build a new server with the Debian ISO.I can't. 3CX support chat was even more confusing when I tried to explain that I can't access my portal from the server. It looks like the PostgreSQL-Contrib is the issue. I am looking for options.

Thanks in advance.
 
You say both installs were done with wget, so it's an unsupported setup and likely why the upgrader is failing.

Make sure you have an offline backup.

You can try to install the missing dependencies and run apt --fix-broken install
 
It was supported when I installed it. I followed the instructions from the 3CX guides.
 
Ah, if you installed it when non-iso installs were the supported method then I apologize. That was last supported about 3 years or so and it's not common to see that today.

My steps if you can't reinstall 3CX from ISO and want to continue still stands. Offline/off machine backup, then you can install the missing/needed dependencies and see if you can get the script in a happy state.
 
Hi @Mpflanigan ,

I think I agree with your reseller on this one, the best solution would be do take a backup at this point of your current system and restore it onto a newly deployed V18. It can still be deployed in AWS of course as that is where your current installation seems to be judging from the repositories you have.

So, let's work on getting you a new backup. I didn't quite understand, can you log into your 3CX Management Console or not? You must have had access at some point as you triggered the update.
If you don't have access to the Management Console, do you have SSH console access to the 3CX Server?
 
My US Server is hosted in Rackspace. There is some confusion because my reseller said that v18 is it's own OS image, but 3CX told me it was not an OS. I do not have a Debian 10 server available to me at Rackspace. My phone servers do not have GUIs. I was able to mount the ISO for 18, but I don't see a 3CX install on the image.
 
The ISO triggers 3CX install after OS installation. Yes it is possible to just install Debian 10 manually and trigger it the same way, but that would leave you in an unsupported state although likely working correctly.
 
  • Like
Reactions: NickD_3CX
That seems like the only option is to have it hosted, at an increased cost. Seems silly to me.
 
That seems like the only option is to have it hosted, at an increased cost. Seems silly to me.
...or do what SweetAction said, but that throws you outside what is tested/supported.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,083
Members
164,901
Latest member
Silent_Guru