UCP Daemon - UCP Node is not running (Solved)

ucp
Tags: #<Tag:0x00007f4f43821f88>

(Josh Templeton) #1

This morning, I logged into our FreePBX system and it shows the UCP Daemon not running. I did check and make sure the updates are all installed. When I attempt to start UCP, I am showing the following in the ucp_err log file. Any help would be most grateful!

2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }
2021-07-22 13:43 -05:00: { Error: Cannot find module 'ini'
2021-07-22 13:43 -05:00:     at Function.Module._resolveFilename (module.js:548:15)
2021-07-22 13:43 -05:00:     at Module.Hook._require.Module.require (/var/www/html/admin/modules/pm2/node/node_modules/require-in-the-middle/index.js:61:29)
2021-07-22 13:43 -05:00:     at require (internal/module.js:11:18)
2021-07-22 13:43 -05:00:     at Object.<anonymous> (/var/www/html/admin/modules/ucp/node/lib/freepbx.js:9:9)
2021-07-22 13:43 -05:00:     at Module._compile (module.js:653:30)
2021-07-22 13:43 -05:00:     at Object.Module._extensions..js (module.js:664:10)
2021-07-22 13:43 -05:00:     at Module.load (module.js:566:32)
2021-07-22 13:43 -05:00:     at tryModuleLoad (module.js:506:12)
2021-07-22 13:43 -05:00:     at Function.Module._load (module.js:498:3)
2021-07-22 13:43 -05:00:     at Module.require (module.js:597:17) code: 'MODULE_NOT_FOUND' }

(Jerry Riggin) #2

Hi, Josh.
Please add the PBX version from System Admin -> Activation and the UCP version from Module Admin.
This makes it possible for someone to help you.


(Josh Templeton) #3

Thanks for your reply!

We are running FreePBX 15.0.17.43
PBX Distro: 12.7.8-2107-3.sng7
Asterisk Version: 16.17.0
UCP version is 15.0.6.29


(Jerry Riggin) #4

In Advanced settings, if “Debug File” is set to /var/log/asterisk/freepbx_dbug and “Developer Mode” is set to Yes, log in a root and type

> /var/log/asterisk/freepbx_dbug

If “Developer Mode” is set to No, set as above, then, as root

fwconsole start ucp -vvv

Then turn OFF developer mode before it fills up your hard drive.
Post console output and freepbx_dbug


(Josh Templeton) #5

Thanks for your help.

I must be doing something wrong with developer mode. I switch it from no to yes, click submit, click apply config, then ran the fwconsole command. Switched developer mode back to no, click submit, click apply config. But the freepbx_dbug file is empty.

I have the txt file from the console, but it wont let me upload a txt file, and because I am new, it wont let me post a link to it. Is there another way I can add it?


#6

If fewer than ~50 lines, just paste it into your post.
Or, paste it at pastebin.freepbx.org and post the last 8 hex characters of the link.


(Josh Templeton) #7

Good morning!

Thanks for that info Stewart1! The hex code is 4164c1e8.

The output was just over 36,600 lines.


(Jerry Riggin) #8

That ends with “Started UCP Node Server. PID is 10369” so it looks like UCP is running. As root run “ps aux | grep 10369”


(Josh Templeton) #9

Here is the results of that command:

root 29268 0.0 0.0 112808 968 pts/0 S+ 10:18 0:00 grep --color=auto 10369

When I run fwconsole pm2 --list

+--------------+------+---------+----------+----------------------+-----+----------+
| Process Name | PID  | Status  | Restarts | Uptime               | CPU | Mem      |
+--------------+------+---------+----------+----------------------+-----+----------+
| core-fastagi | 3630 | online  | 0        | 1 day, 17 hours      | 0%  | 36.55MB  |
| xmpp         | 4575 | online  | 0        | 1 day, 17 hours      | 0%  | 116.69MB |
| restapps     | 9814 | online  | 0        | 17 hours, 35 minutes | 0%  | 42.77MB  |
| ucp          | 0    | errored | 15       | 0                    | 0%  | 0.00B    |
+--------------+------+---------+----------+----------------------+-----+----------+

(Jerry Riggin) #10

OK, it started and the exited for some reason. do

grep -i ucp /var/log/asterisk/freepbx.log

and

grep -i /var/log/asterisk/freepbx_dbug

and

grep -i ucp /var/log/messages | grep -v tables

Then post output from each.


(Josh Templeton) #11

Here are the outputs.
grep -i /var/log/asterisk/freepbx_dbug is empty. The other two outputs can be located at 5ef84557 due to html links


(TheJames) #12
cd /var/www/html/admin/modules/ucp/node
rm -rf node_modules
fwconsole ma install ucp
fwconsole start ucp

(Josh Templeton) #13

The results of those command can be found at hex e60900a5

Sadly, when i do fwconsole pm2 --list, it is still showing ucp errored. In looking at the developer and customization settings in advanced settings. I saw the option to disable FreePBX dbug logging was set to yes. I switched it to no, click submit & apply, then ran the command fwconsole start ucp. I then checked the freepbx_dbug file, and this time it had data in it. I did switch it back to yes. Here is what the results were:

[2021-07-23 13:53:11] [dbug.DEBUG]: 2021-Jul-23 13:53:11 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:90

[] []
[2021-07-23 13:53:11] [dbug.DEBUG]: HANDLED-ERROR: faxpro250_get_config should exist, but it doesn’t. This is a bug in faxpro250

[] []
[2021-07-23 13:53:11] [dbug.DEBUG]: 2021-Jul-23 13:53:11 /var/www/html/admin/libraries/BMO/DialplanHooks.class.php:90

[] []
[2021-07-23 13:53:11] [dbug.DEBUG]: HANDLED-ERROR: faxpro600_get_config should exist, but it doesn’t. This is a bug in faxpro600

[] []


(TheJames) #14

You should have

/var/log/asterisk/zulu_out.log
/var/log/asterisk/zulu_err.log

the err_log will show you why it is in error


(Josh Templeton) #15

I only have a zulu_out.log, but it is empty


(TheJames) #16

if you

cd /var/www/html/admin/modules/zulu/node
npm start

What happens


(Josh Templeton) #17

Here you go:

[root@NN-HQ-FPBX node]# cd /var/www/html/admin/modules/zulu/node
[root@NN-HQ-FPBX node]# npm start

zuluserver@3.2.0 start /var/www/html/admin/modules/zulu/node
NODE_ENV=production node index.js

[2021-7-23 14:31:43.548] [ERROR] console - {“message”:“Zulu is not licensed!”,“stack”:"Error: Zulu is not licensed!\n at FreePBX.initialize (/var/www/html/admin/modules/zulu/node/index.js:1:33328)\n at "}
npm ERR! code ELIFECYCLE
npm ERR! errno 255
npm ERR! zuluserver@3.2.0 start: NODE_ENV=production node index.js
npm ERR! Exit status 255
npm ERR!
npm ERR! Failed at the zuluserver@3.2.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-07-23T19_31_43_568Z-debug.log
[root@NN-HQ-FPBX node]#


(TheJames) #18

That says zulu isn’t licenced so it exits before doing anything


(Josh Templeton) #19

We have never licensed Zulu, but UCP used to be working.


(TheJames) #20

I am stupid, multiple things in my head…

/var/log/asterisk/ucp_out.log
/var/log/asterisk/ucp_err.log

Also:

cd /var/www/html/admin/modules/ucp/node
node index.js