PIONEERS IncrediblePBX for Debian 12, Ubuntu 24.04 or Ubuntu 22.04 with Asterisk-21, FreePBX-17 and PHP 8.2

@wardmundy That looks like the same issue we had before with FreePBX-16 when we had to roll back to an earlier version of the UCP module. I don't think we have that option with FreePBX-17. I restored my FreePBX-16 production system to IncrediblePBX2024 and UCP does not work. It does the same thing saying "There was an error. See console log." but there is nothing written to the log.

1723159980431.png
 
What version of UCP does Module Admin show is installed?? 17.0.4.20 works for me. If you see something else, try this:
Code:
mysql -u root -ppassw0rd asterisk -e "update freepbx_settings set value = 'Latest-17' where keyword = 'MIRROR_BRAND_VERSION'; "
mysql -u root -ppassw0rd asterisk -e "update admin set value = 'true' where variable = 'need_reload'; "
rm -f /tmp/*
fwconsole reload
fwconsole ma downloadinstall ucp
rm -f /tmp/*
fwconsole reload

The solution with Incredible PBX 2027 was the same except the Lock Version was Latest-16.
 
Last edited:
That suggests the Restore steps on the Lock Version setting in Advanced Settings.
 
Last edited:
I have submitted a bug report to FreePBX. Issue #358

@wardmundy I have the same version of UCP module. Just tried your fix code but same issue. This is a restored FreePBX backup so it might be suspect. I'll try on one of the stock installs.
 
@wardmundy That looks like the same issue we had before with FreePBX-16 when we had to roll back to an earlier version of the UCP module. I don't think we have that option with FreePBX-17. I restored my FreePBX-16 production system to IncrediblePBX2024 and UCP does not work. It does the same thing saying "There was an error. See console log." but there is nothing written to the log.

View attachment 5562
Just to confirm, you were looking at the console log in the browser Developer Tools?
 
The UCP error seems to be by referrer policy: "strict-origin-when-cross-origin"

Digging into it more. I don't know if it is just because of how I am testing in a VM or not.
 
The UCP error seems to be by referrer policy: "strict-origin-when-cross-origin"

Digging into it more. I don't know if it is just because of how I am testing in a VM or not.
Look at what version of UCP you have in Module Admin. Then look at what the Lock Setting is in Advanced Settings AND report back. I don't think it's a VM issue.
 
Look at what version of UCP you have in Module Admin. Then look at what the Lock Setting is in Advanced Settings AND report back. I don't think it's a VM issue.
UCP Module version: 17.0.4.20
For lock settings, do you mean under Branding? It is Latest-17
 
This does work on a stock install which has not had a FreePBX-16 backup restored.
 
UCP Module version: 17.0.4.20
For lock settings, do you mean under Branding? It is Latest-17
If UCP works for me with 17.0.4.20 but not for you, then the problem is not with the UCP module. It's something else.
 
I tried adding a new extension and contact manager with UCP login. Does not work on restored system. I'll let Sangoma kick it around because I feel certain the backup/restore module mucked something up.
 
I tried adding a new extension and contact manager with UCP login. Does not work on restored system. I'll let Sangoma kick it around because I feel certain the backup/restore module mucked something up.
What does the console log show in the browser?
 
@Samot :
Code:
JQMIGRATE: Migrate is installed with logging active, version 3.4.0
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 JQMIGRATE: jQuery.fn.unbind() is deprecated
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
a.jPlayer.keys @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542Understand this warning
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 console.trace
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
a.jPlayer.keys @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 JQMIGRATE: jQuery.fn.bind() is deprecated
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
a.jPlayer.keys @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542Understand this warning
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 console.trace
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
a.jPlayer.keys @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:542
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 JQMIGRATE: jQuery.fn.click() event shorthand is deprecated
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2116Understand this warning
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 console.trace
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2116
2ucp/:1 Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was receivedUnderstand this error
ucp/:1 Unchecked runtime.lastError: The message port closed before a response was received.Understand this error
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 JQMIGRATE: jQuery.isFunction() is deprecated
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
q.fn.formToArray @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:538
q.fn.formSerialize @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:538
normalLogin @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2088
handleMFAFunc @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2087
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2086
await in (anonymous)
dispatch @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
v.handle @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2Understand this warning
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17 console.trace
migrateWarn @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:17
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:19
q.fn.formToArray @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:538
q.fn.formSerialize @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:538
normalLogin @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2088
handleMFAFunc @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2087
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2086
await in (anonymous)
dispatch @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
v.handle @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
jquery-3.6.0.min.js?load_version=v17.0.4.20:2
        
        
       POST http://[redacted]/ucp/ajax.php 403 (Forbidden)
send @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
ajax @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:32
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:20
S.<computed> @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
normalLogin @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2088
handleMFAFunc @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2087
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2086
await in (anonymous)
dispatch @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
v.handle @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2Understand this error
jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2078 Forbidden: ajaxRequest declined
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2078
setTimeout
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2077
dispatch @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
v.handle @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
trigger @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
l @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
(anonymous) @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
load
send @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
ajax @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:32
obj.<computed> @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:20
S.<computed> @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
normalLogin @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2088
handleMFAFunc @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2087
(anonymous) @ jsphpg_b010f040d71d00083c04dbcd3450bd73.js?load_version=v17.0.4.20:2086
await in (anonymous)
dispatch @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2
v.handle @ jquery-3.6.0.min.js?load_version=v17.0.4.20:2Understand this error
 
Hi there,

Recently got a Pi5 and was looking to get this running. Used the Pi Imager tool to create a Ubuntu 24.04 Server image but had a bunch of failures on the install script - had to do the following:

1. Specify the arch when configuring iksemel: ./configure --prefix=/usr --with-libgnutls-prefix=/usr --build=aarch64-unknown-linux-gnu
2. Update the asterisk build to omit missing features in Arm targets:

menuselect/menuselect --disable codec_opus menuselect.makeopts menuselect/menuselect --disable codec_silk menuselect.makeopts menuselect/menuselect --disable codec_siren7 menuselect.makeopts menuselect/menuselect --disable codec_siren14 menuselect.makeopts menuselect/menuselect --disable codec_g729a menuselect.makeopts menuselect/menuselect --disable res_pjsip_stir_shaken menuselect.makeopts menuselect/menuselect --disable res_stir_shaken menuselect.makeopts menuselect/menuselect --disable test_aeap menuselect.makeopts menuselect/menuselect --disable test_aeap_speech menuselect.makeopts menuselect/menuselect --disable test_aeap_transaction menuselect.makeopts menuselect/menuselect --disable test_aeap_transport menuselect.makeopts menuselect/menuselect --disable test_capture menuselect.makeopts menuselect/menuselect --disable test_crypto menuselect.makeopts

3. Change /etc/odbinst.ini to the Arm path:

[MySQL] Description = ODBC for MySQL (MariaDB) Driver = /usr/lib/aarch64-linux-gnu/odbc/libmaodbc.so FileUsage = 1

Note that I changed the mysql root user command to include the password in the command. I doubt it's needed but it's a legacy from when I was hacking away trying to understand things. If anyone can test the script without it, I'd appreciate it if someone could feed back necessity in this thread.

I subsequently configured my SIP provider and can send and receive phone calls, so I *guess* it's working (certainly to the extent that I need it, anyway).

Install script is attached (obviously drop the .txt extension).

Thanks to the community for a great product!
 
The script was not designed to run on ARM systems. Perhaps a version will be cranked out in the future but I do not use RasPI devices so I cannot test.
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
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.
Back
Top