Can't Update to latest version

Status
Not open for further replies.

gigaboy

SOHO User
Joined
Jul 6, 2016
Messages
90
Reaction score
3
Running Debian instance on stand alone appliance, previous updates worked successfully, currently at 16.0.4.504. Now I get the following failure message when attempting to update to 16.0.5.611 :

Code:
Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Hit:2 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Ign:3 http://deb.debian.org/debian stretch InRelease
Get:4 http://deb.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:5 http://deb.debian.org/debian stretch Release
Get:6 http://security.debian.org stretch/updates InRelease [94.3 kB]
Get:8 http://security.debian.org stretch/updates/main amd64 Packages [521 kB]
Get:9 http://security.debian.org stretch/updates/main Translation-en [231 kB]
Fetched 937 kB in 2s (365 kB/s)
Reading package lists...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
Rollback to 16.0.4.504...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

Is it simply a matter of running this cmd inside a terminal window?
 
Make backup and then yes, try to run the command given via console/terminal.
 
  • Like
Reactions: gigaboy
Just ran the command:
Here's the output:

Code:
dpkg --configure -a
Setting up 3cxpbx (16.0.4.504) ...
Removed /etc/systemd/system/3CXMediaServer.service.
Removed /etc/systemd/system/3CXQueueManager01.service.
Removed /etc/systemd/system/3CXHotelModule01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXMediaServer.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXQueueManager01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXHotelModule01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXIVR01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXSystemService01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCallFlow01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXEventNotificationManager.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXTunnel01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXAudioProvider01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystem01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystemMC01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCfgServ01.service.
Removed /etc/systemd/system/3CXIVR01.service.
Removed /etc/systemd/system/3CXSystemService01.service.
Removed /etc/systemd/system/3CXCallFlow01.service.
Removed /etc/systemd/system/3CXEventNotificationManager.service.
Removed /etc/systemd/system/3CXTunnel01.service.
Removed /etc/systemd/system/3CXAudioProvider01.service.
Removed /etc/systemd/system/3CXPhoneSystem01.service.
Removed /etc/systemd/system/3CXPhoneSystemMC01.service.
Removed /etc/systemd/system/3CXCfgServ01.service.
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/assets/emojione/32/_alt’: No such file or directory
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/assets/img’: No such file or directory
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/fonts’: No such file or directory
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/i18n’: No such file or directory
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/notifications’: No such file or directory
Mono.Options.OptionException: Missing required value for option '-v'.
   at Mono.Options.OptionValueCollection.AssertValid(Int32 index)
   at Mono.Options.OptionSet.<>c__DisplayClass22_0.<Add>b__0(OptionValueCollection v)
   at Mono.Options.Option.Invoke(OptionContext c)
   at Mono.Options.OptionSet.Parse(IEnumerable`1 arguments)
   at UpdaterNx.Program.Main(String[] args)
  -h, --help                 Show this help
  -c, --cfg=VALUE            Configuration file full path
  -s, --sql=VALUE            Full path to SQL scripts
  -v, --version=VALUE        Previous application version
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u12) ...

Returned to command prompt. Tried to login using web browser, states server error. So forced a reboot on debian from command line, same issue - Debian is running, but not 3cx. Devices showing no service!

Help!
 
I got the machine restarted using "sudo 3CXStopServices && 3CXStartServices" - Currently running upgrade from web browser.
 
Never got an upgrade completion email. Ran the stop and start services again. Now showing that there are no upgrades needed, and showing most current version. Hopefully will go smoother next time.
 
Whew... glad you were able to recover it. Might want to think about taking a backup, nuking the box and doing a fresh install from the 3CX iso and then restore.
 
Status
Not open for further replies.

Latest Posts

Forum statistics

Threads
111,946
Messages
589,878
Members
164,840
Latest member
martinschilder