After performing the new install of FreePBX 17 and a backup restore from my previous installation, the UCP Daemon has always shown not running.
When I look at the ucp_error.log, I found the following;
2024-08-07 20:49 -04:00: Error: error:0A00018F:SSL routines::ee key too small
2024-08-07 20:49 -04:00: at node:internal/tls/secure-context:70:13
2024-08-07 20:49 -04:00: at Array.forEach ()
2024-08-07 20:49 -04:00: at setCerts (node:internal/tls/secure-context:68:3)
2024-08-07 20:49 -04:00: at configSecureContext (node:internal/tls/secure-context:157:5)
2024-08-07 20:49 -04:00: at Object.createSecureContext (node:_tls_common:117:3)
2024-08-07 20:49 -04:00: at Server.setSecureContext (node:_tls_wrap:1471:27)
2024-08-07 20:49 -04:00: at Server (node:_tls_wrap:1335:8)
2024-08-07 20:49 -04:00: at new Server (node:https:76:3)
2024-08-07 20:49 -04:00: at Object.createServer (node:https:120:10)
2024-08-07 20:49 -04:00: at Server (/var/www/html/admin/modules/ucp/node/lib/server.js:106:19) {
2024-08-07 20:49 -04:00: library: ‘SSL routines’,
2024-08-07 20:49 -04:00: reason: ‘ee key too small’,
2024-08-07 20:49 -04:00: code: ‘ERR_SSL_EE_KEY_TOO_SMALL’
2024-08-07 20:49 -04:00: }
Hi @Computerman77 ,
Can you regenerate the certificate and give a try,
also ensure pm2 service for ucp is running, you can check by running below command.
fwconsole pm2 --list
I checked the services and the UCP service is not running, it is showing an errored state.
±--------------------------±-------±--------±---------±----------------------±----±---------+
| Process Name | PID | Status | Restarts | Uptime | CPU | Mem |
±--------------------------±-------±--------±---------±----------------------±----±---------+
| core-calltransfer-monitor | 2819 | online | 0 | 4 days, 6 hours | 0% | 43.77MB |
| core-fastagi | 3327 | online | 0 | 4 days, 6 hours | 0% | 64.25MB |
| sangomartapi | 3525 | online | 0 | 4 days, 6 hours | 0% | 112.76MB |
| ucp | 0 | errored | 15 | 0 | 0% | 0.00B |
| restapps | 926278 | online | 0 | 9 minutes, 54 seconds | 0% | 59.12MB |
±--------------------------±-------±--------±---------±----------------------±----±---------+
I ran the update certificate command on the default certificate under the certificate management console and at the moment, the UCP Daemon is showing running.
I also performed a reboot of FreePBX to make sure it remained working after a reboot and the service remained running after a fresh boot up.
±--------------------------±-----±-------±---------±--------------------±----±--------+
| Process Name | PID | Status | Restarts | Uptime | CPU | Mem |
±--------------------------±-----±-------±---------±--------------------±----±--------+
| core-calltransfer-monitor | 3218 | online | 0 | 1 minute, 9 seconds | 0% | 52.34MB |
| core-fastagi | 3519 | online | 0 | 1 minute, 4 seconds | 0% | 60.36MB |
| restapps | 4223 | online | 0 | 1 minute, 1 second | 0% | 59.11MB |
| sangomartapi | 4319 | online | 0 | 57 seconds | 0% | 97.43MB |
| ucp | 4433 | online | 0 | 53 seconds | 0% | 80.12MB |
±--------------------------±-----±-------±---------±--------------------±----±--------+
Thank you for your assistance!
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.