• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Debian Upgrade - 3CX not running.

Status
Not open for further replies.

Diego Rise

Customer
Joined
Aug 13, 2018
Messages
6
Reaction score
0
the UI asked for an upgrade. and after I proceeded 3CX seems to have collapsed.

I did change the version from jesse to stretch, but i still get the following:

apt-get install 3cxpbx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
3cxpbx : Depends: unattended-upgrades but it is not going to be installed
Depends: postgresql (>= 9.6) but it is not going to be installed
Depends: libcurl3 (>= 7.52.1) but it is not going to be installed
Conflicts: libssl1.0.0 but 1.0.1t-1+deb8u9 is to be installed
E: Unable to correct problems, you have held broken packages.

Suggestions?
 
I might have been able to fix that by modifying:
/etc/apt/sources.list

And updating jessie to stretch.

Now i get the following error:

Setting up 3cxpbx (15.5.15502.6) ...
ERROR: destination must be a directory when copying more than 1 file
rsync error: errors selecting input/output files, dirs (code 3) at main.c(641) [Receiver=3.1.2]
Loading global scripts...
Loading instance scripts...
Loading instances...
System.Net.Sockets.SocketException (0x80004005): Connection refused
at Npgsql.NpgsqlConnector.Connect(NpgsqlTimeout timeout)
at Npgsql.NpgsqlConnector.<RawOpen>d__148.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlConnector.<Open>d__145.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlConnection.<Open>d__28.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Npgsql.NpgsqlConnection.Open()
at UpdaterNx.Program.LoadInstances()
at UpdaterNx.Program.DoUpdate(String scriptFolder)
at UpdaterNx.Program.Main(String[] args)
dpkg: error processing package 3cxpbx (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.24-11+deb9u3) ...
Errors were encountered while processing:
3cxpbx
[master 428487c] committing changes in /etc after apt run
5 files changed, 29 insertions(+), 3 deletions(-)
create mode 120000 nginx/sites-enabled/3cxpbx
create mode 100644 sudoers.d/3cxpbx
delete mode 120000 systemd/system/unattended-upgrades.service
Counting objects: 3262, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (1542/1542), done.
Writing objects: 100% (3262/3262), done.
Total 3262 (delta 784), reused 3244 (delta 774)
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
couldnt figure it out. had to roll back to snapshot. Not upgrading to new debian.
 
looks like there were missing dependancies, did you try issuing the command:
Code:
apt-get update --fix-missing
 
When you initially installed the 3CX debian build, did you use the 3CX ISO or did you use a debian ISO and manually add 3CX?

If you used the 3CX ISO to do the initial install, then you can upgrade the debian version from the management console (I believe).

If you used a debian ISO to do the initial install, then you should use the command prompt to do the upgrade:

Code:
# sudo apt-get update
# sudo apt-get full-upgrade

I strongly recommend a reboot before the update and after the upgrade.

See also:
https://www.3cx.com/community/threads/upgrade-stuck.58987/#post-247454
 
Status
Not open for further replies.

Getting Started - Admin

Latest Posts

Forum statistics

Threads
141,626
Messages
748,902
Members
144,739
Latest member
Ghisl1
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.