We’ve had issues with only a few deployments out of 200 where the sangoma connect module is disabled and pending upgrade. We use automatic module updates and found 2 on FreePBX 16 and 1 in FreePBX 17 in this state.
16.0.47.31 to 16.0.47.35
17.0.1.51 to 17.0.1.55
I’m able to login and upgrade them correctly.
I’ve looked at the logs in the PBX around the time the module tried to update and I can’t find anything else besides the following :
[2025-01-29 03:12:05] [freepbx.INFO]: [NOTIFICATION]-[freepbx]-[NEWUPDATES] - There are 9 modules available for online upgrades (cdr 17.0.4.33 (current: 17.0.4.32) cdrpro 17.0.4.5 (current: 17.0.4) contactmanager 17.0.5.13 (current: 17.0.5.12) core 17.0.18.13 (current: 17.0.18.12) faxpro 17.0.1.22 (current: 17.0.1.21) filestore 17.0.2.34 (current: 17.0.2.33) restapps 17.0.1.31 (current: 17.0.1.27) sangomaconnect 17.0.1.55 (current: 17.0.1.51) sms 17.0.1.16 (current: 17.0.1.15) )
[[2025-01-29 03:12:06] [freepbx.INFO]: Updating tables trunks, pjsip, sip, dahdi, iax, indications_zonelist, devices, users, incoming, dahdichandids, outbound_route_patterns, outbound_route_sequence, outbound_route_trunks, outbound_routes, outbound_route_email, trunk_dialpatterns…Done
[2025-01-29 03:12:06] [freepbx.INFO]: Starting Call Transfer Monitoring Service
[2025-01-29 03:12:06] [freepbx.INFO]: Stopping Call Transfer Monitoring Service
[2025-01-29 03:12:07] [freepbx.INFO]: Restarting Call Transfer Monitoring Service
[2025-01-29 03:12:08] [freepbx.INFO]: Call Trasnfer Event listener
[2025-01-29 03:12:09] [freepbx.INFO]: Adding emergencydevices table…Done
[2025-01-29 03:12:10] [freepbx.INFO]: Migrating pickup groups to named pickup groups
[2025-01-29 03:12:10] [freepbx.INFO]: Migrating call groups to named call groups
[2025-01-29 03:12:10] [freepbx.INFO]: Checking for possibly invalid emergency caller id fields…none found
[2025-01-29 03:12:10] [freepbx.INFO]: Migrating old media encryption values…done
[2025-01-29 03:12:10] [freepbx.INFO]: Removing encoding on incoming routes alertinfo values…done
[2025-01-29 03:12:10] [freepbx.INFO]: Module: core Updated to version 17.0.18.13
[2025-01-29 03:12:10] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field cnum is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field cnam is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field outbound_cnum is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field outbound_cnam is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field dst_cnam is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field linkedid is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field peeraccount is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Checking if field sequence is present in cdr table…OK!
[2025-01-29 03:12:11] [freepbx.INFO]: Module: cdr Updated to version 17.0.4.33
[2025-01-29 03:12:11] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:12] [freepbx.INFO]: Updating tables cdrpro_report_scheduler, cdrpro_score_mes, cdrpro_processed_uniqueids, cdrpro_unprocessed_uniqueids, cdrpro_cdr, cdrpro_email_templates…Done
[2025-01-29 03:12:13] [freepbx.INFO]: Starting CDRpro event listener
[2025-01-29 03:12:13] [freepbx.INFO]: Stopping CDRpro Service
[2025-01-29 03:12:14] [freepbx.INFO]: Restarting CDRpro
[2025-01-29 03:12:15] [freepbx.INFO]: Call Hangup Event listener staring
[2025-01-29 03:12:16] [freepbx.INFO]: Module: cdrpro Updated to version 17.0.4.5
[2025-01-29 03:12:16] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:18] [freepbx.INFO]: Updating tables contactmanager_groups, contactmanager_group_entries, contactmanager_entry_speeddials, contactmanager_entry_numbers, contactmanager_entry_images, contactmanager_entry_userman_images, contactmanager_entry_xmpps, contactmanager_entry_emails, contactmanager_entry_websites, contactmanager_general_favorites, contactmanager_user_favorites…Done
[2025-01-29 03:12:18] [freepbx.INFO]: Module: contactmanager Updated to version 17.0.5.13
[2025-01-29 03:12:18] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:20] [freepbx.INFO]: Updating tables fax_store, faxpro_hook_core…Done
[2025-01-29 03:12:20] [freepbx.INFO]: Cleaning up temporary fax storage…Done
[2025-01-29 03:12:20] [freepbx.INFO]: Module: faxpro Updated to version 17.0.1.22
[2025-01-29 03:12:20] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:23] [freepbx.INFO]: Module: filestore Updated to version 17.0.2.34
[2025-01-29 03:12:24] [freepbx.INFO]: Generating CSS…Done
[2025-01-29 03:12:25] [freepbx.INFO]: Updating tables restapps_settings, restapps_stats…Done
[2025-01-29 03:12:25] [freepbx.INFO]: Phone Applications daemon started.
[2025-01-29 03:12:25] [freepbx.INFO]: Running BLF Init Functions…
[2025-01-29 03:12:25] [freepbx.INFO]: Finished running BLF Init Functions
[2025-01-29 03:12:25] [freepbx.INFO]: RestApps is now ready to use!
[2025-01-29 03:12:26] [freepbx.INFO]: Stopping old running processes…Done
[2025-01-29 03:12:28] [freepbx.INFO]: Phone Applications daemon started.
[2025-01-29 03:12:28] [freepbx.INFO]: Running BLF Init Functions…
[2025-01-29 03:12:28] [freepbx.INFO]: Finished running BLF Init Functions
[2025-01-29 03:12:28] [freepbx.INFO]: RestApps is now ready to use!
[2025-01-29 03:12:29] [freepbx.INFO]: Starting new RestApps Process…Started with PID XXXXXXXX!
[2025-01-29 03:12:29] [freepbx.INFO]: Module: restapps Updated to version 17.0.1.31
[2025-01-29 03:12:29] [freepbx.INFO]: Generating CSS…Done
2025-01-29 03:12:29 isHAProxyEnabled = 1
2025-01-29 03:12:29 sngphone port value is 6443 !!!
2025-01-29 03:12:29 isHAProxyEnabled = 1
2025-01-29 03:12:29 sngphone port value is 6443 !!!
[2025-01-29 03:12:32] [freepbx.INFO]: Updating tables sangomaconnect_user_pre_setup, sangomaconnect_user_setup, sangomaconnect_user_device, sangomaconnect_sngphone_sms_routing, sangomaconnect_phone_locations, sangomaconnect_account_phone_locations…Done
[2025-01-29 03:12:39] [freepbx.INFO]: Checking module cloud activation status
[2025-01-29 03:12:41] [freepbx.INFO]: SangomaConnect module is registered to the cloud for deployment XXXXXXXX
[2025-01-29 03:12:41] [freepbx.INFO]: Initializing node dependencies
[2025-01-29 03:12:45] [freepbx.INFO]: Running installation… npm WARN config only Use --omit=dev
to omit dev dependencies from the install. npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details. added 94 packages, and audited 95 packages in 3s 17 packages are looking for funding run npm fund
for details found 0 vulnerabilities
[2025-01-29 03:12:45] [freepbx.INFO]: Finished updating libraries!
[2025-01-29 03:12:49] [freepbx.INFO]: Stopping SangomaConnect Server
[2025-01-29 03:12:50] [freepbx.INFO]: Stopped SangomaConnect Server
[2025-01-29 03:12:53] [freepbx.INFO]: Starting SangomaConnect server Process…Starting SangomaConnect Server…
[2025-01-29 03:12:56] [freepbx.INFO]: Started SangomaConnect Server. PID is XXXXXXXX
[2025-01-29 03:12:56] [freepbx.INFO]: Restarting CloudConnect Agent
[2025-01-29 03:12:56] [freepbx.INFO]: Started with PID XXXXXXXX!
[2025-01-29 03:12:58] [freepbx.INFO]: Updating tables sms_messages, sms_dids, sms_routing, sms_media, sms_webhooks…Done
[2025-01-29 03:12:58] [freepbx.INFO]: Module: sms Updated to version 17.0.1.16
[2025-01-29 03:12:58] [freepbx.INFO]: Generating CSS…Done
Clearly sangoma connect has been started. If I compare with the logs from another PBX that did the same updates the very same day, the only thing missing is the last line : [freepbx.INFO]: Module: sangomaconnect Updated to version 17.0.1.55
Has anyone else, seen this issue ?
Does anyone have any ideas or know of other logs that I should look at ?
No, I have not opened a ticket with Sangoma support as I don’t have enough information and it will simply be a waste of my time until then. I’ll get there if this becomes a reoccurring issue.