V16 U8 Beta: New Schedule Conference, FB, SMS

@Frederick Marcoux
@Nicolas V.

The option was removed as it will be deprecated by Google soon. We are not really sure it was known to help. I assume Google no longer requires it.
 
Well to be fair, I think that was a carry over from when it was GCM and probably the conversion to Firebase removed the limitations.
 
@Frederick Marcoux
@Nicolas V.

The option was removed as it will be deprecated by Google soon. We are not really sure it was known to help. I assume Google no longer requires it.
Does this mean we will have to send out new QR codes and reprovision existing android handsets? I’m sincerely hoping not!!
 
  • Like
Reactions: N_G
Does this mean we will have to send out new QR codes and reprovision existing android handsets? I’m sincerely hoping not!!
?? Why do you think that?
 
  • Like
Reactions: N_G
  • Like
Reactions: cobaltit and N_G
@timmehb no the phone reprovisions automatically......

@Frederick Marcoux I agree with Google though. Only by killing old / unpopular features (or replacing with newer better methods) can you keep software lean and keep adding new features.

I think its deprecated because its no longer needed. Infrastructure has improved and cost has gone down.
 
Last edited:
@timmehb no the phone reprovisions automatically...... But do switch off the option now if you have it on so you can test run it....

@Frederick Marcoux I agree with Google though. Only by killing old / unpopular features (or replacing with newer better methods) can you keep software lean and keep adding new features.

I think its deprecated because its no longer needed. Infrastructure has improved and cost has gone down.
Hi Nick,

We were asked by support to switch over to a custom firebase with the issue we were seeing. We tested the need to have to reprovision phones following updating the setting and found that push notifications stopped unless re-provisioned with a new qr code.

If i were to remove the setting now - the pbx would use the 3cx default firebase account immediately? Wouldn't our handsets then stop receiving push's because they're configured with our custom one? We've got 80 of these devices in the field on wifi only, in the hands of various skilled staff members...
 
  • Like
Reactions: N_G
If i were to remove the setting now - the pbx would use the 3cx default firebase account immediately?
From a quick test I did, don't remove the account while on U7, just upgrade to U8 and the PUSH should continue to work without having to re-provision.
The only thing users would be advised to do is kill the app, then re-launch it.
 
From a quick test I did, don't remove the account while on U7, just upgrade to U8 and the PUSH should continue to work without having to re-provision.
The only thing users would be advised to do is kill the app, then re-launch it.
Thank you for confirming. Would you be able to confirm without a shadow of a doubt before-hand?
Like - do the Android phones always re-provision (along with any changes to Firebase config) on app restart?
 
Thank you for confirming. Would you be able to confirm without a shadow of a doubt before-hand?
Like - do the Android phones always re-provision (along with any changes to Firebase config) on app restart?
If you have the "Re-provision phone on Startup" option enabled, which is the default, then the next time the users launch their app, it will be OK:
1613134788963.png

So, the only thing you would have to tell your users to be 100%, after you update, is "Close/Kill the app and relaunch it".
 
Because the Firebase account ID is included in the 3cxprov file for the apps.
Ahh, that makes sense. I just figured it was 3CX magic and never looked behind the curtain :). Good to know although apparently it's going to be a non-issue in the near future.
 
Just an FYI, working on a PoC and this is a pretty fresh install. When updating from the Web interface in Update 7 it fails for the following.

Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Hit:2 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Get:3 http://security.debian.org stretch/updates InRelease [53.0 kB]
Ign:4 http://deb.debian.org/debian stretch InRelease
Get:5 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Hit:6 http://deb.debian.org/debian stretch Release
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [652 kB]
Get:9 http://security.debian.org stretch/updates/main Translation-en [294 kB]
Get:10 http://security.debian.org stretch/updates/non-free amd64 Packages [5,604 B]
Fetched 1,098 kB in 1s (840 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.7.1078...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
 
Just an FYI, working on a PoC and this is a pretty fresh install. When updating from the Web interface in Update 7 it fails for the following.

Hit:1 http://downloads-global.3cx.com/downloads/debian stretch-testing InRelease
Hit:2 http://downloads-global.3cx.com/downloads/debian stretch InRelease
Get:3 http://security.debian.org stretch/updates InRelease [53.0 kB]
Ign:4 http://deb.debian.org/debian stretch InRelease
Get:5 http://deb.debian.org/debian stretch-updates InRelease [93.6 kB]
Hit:6 http://deb.debian.org/debian stretch Release
Get:7 http://security.debian.org stretch/updates/main amd64 Packages [652 kB]
Get:9 http://security.debian.org stretch/updates/main Translation-en [294 kB]
Get:10 http://security.debian.org stretch/updates/non-free amd64 Packages [5,604 B]
Fetched 1,098 kB in 1s (840 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.7.1078...
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
How did you deploy the initial installation, using the 3CX ISO or on a Hosting Provider?
One thing you could try is restart the server and try again.
 
How did you deploy the initial installation, using the 3CX ISO or on a Hosting Provider?
One thing you could try is restart the server and try again.
Thanks NickD. I deployed it using the 3CX ISO and thought about rebooting it thinking something was hung. But since it's failing for Sudo privilege's I can only imagine the script is not coded for such. Is there a way in CLI to run it?
 
Thanks NickD. I deployed it using the 3CX ISO and thought about rebooting it thinking something was hung. But since it's failing for Sudo privilege's I can only imagine the script is not coded for such. Is there a way in CLI to run it?
It's not failing anything with sudo privileges, this error usually means that either some other process has 'locked' a dpkg file, or something interrupted the update process at some point, which is actually what the message reads.

Rebooting the server usually solves this most of the times, unless of course you have done any other 'tinkering'. I'd suggest trying it when you find a moment.
 
It's not failing anything with sudo privileges, this error usually means that either some other process has 'locked' a dpkg file, or something interrupted the update process at some point, which is actually what the message reads.

Rebooting the server usually solves this most of the times, unless of course you have done any other 'tinkering'. I'd suggest trying it when you find a moment.
Thanks Nick, just tried rebooting again to no avail. Haven't done any tinkering at the OS level as I know 3cx manages the updates and what not.
 
Ok, in that case I would make a backup and download it off the system (just a precautionary measure) and then do what the error suggested, run:
Code:
sudo dpkg --configure -a

If you do an internet search, you will see that it is fairly common for this to happen sometimes.
 
Ok, in that case I would make a backup and download it off the system (just a precautionary measure) and then do what the error suggested, run:
Code:
sudo dpkg --configure -a

If you do an internet search, you will see that it is fairly common for this to happen sometimes.
Hi Nick I ran that command and it totally made the server eat itself. I ended up restoring from backup.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@str-phone:~# sudo dpkg --configure -a
Setting up 3cxpbx (16.0.7.1078) ...
Updating certificates in /etc/ssl/certs...
WARNING: Skipping duplicate certificate GeoTrust_Global_CA.pem
WARNING: Skipping duplicate certificate GeoTrust_Global_CA.pem
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
Removed /etc/systemd/system/3CXIVR01.service.
Removed /etc/systemd/system/3CXMediaServer.service.
Removed /etc/systemd/system/3CXSystemService01.service.
Removed /etc/systemd/system/3CXEventNotificationManager.service.
Removed /etc/systemd/system/3CXCfgServ01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXIVR01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXMediaServer.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXSystemService01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXEventNotificationManager. service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCfgServ01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXTunnel01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXCallFlow01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXQueueManager01.service.
Removed /etc/systemd/system/multi-user.target.wants/3CXPhoneSystemMC01.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/3CXHotelModule01.service.
Removed /etc/systemd/system/3CXTunnel01.service.
Removed /etc/systemd/system/3CXCallFlow01.service.
Removed /etc/systemd/system/3CXQueueManager01.service.
Removed /etc/systemd/system/3CXPhoneSystemMC01.service.
Removed /etc/systemd/system/3CXAudioProvider01.service.
Removed /etc/systemd/system/3CXPhoneSystem01.service.
Removed /etc/systemd/system/3CXHotelModule01.service.
find: ‘/var/lib/3cxpbx/Data/Http/wwwroot/webclient/fonts’: No such file or direc tory
Mono.Options.OptionException: Missing required value for option '-v'.
at Mono.Options.OptionValueCollection.AssertValid(Int32 index)
at Mono.Options.OptionValueCollection.get_Item(Int32 index)
at Mono.Options.OptionSet.<>c__DisplayClass22_0.<Add>b__0(OptionValueCollecti on v)
at Mono.Options.OptionSet.ActionOption.OnParseComplete(OptionContext c)
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) ...
 
Hmm. I'd probably nuke that and start over. You shouldn't be having issues like that, especially with a fresh install from ISO.
 

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet