Restapps Daemon is not running

Hi all after updating my server i am getting Restapps is not running i have tried starting it via consol with

fwconsole start restapps

I then get

Running FreePBX startup…
Taking too long? Customize the chown command, See Sangoma Documentation
Setting Permissions…
Setting base permissions…Done in 6 seconds
Setting specific permissions…
51158 [============================]
Finished setting permissions
Unable to run Pre-Asterisk hooks, because Asterisk is already running on PID 4591 and has been running for 57 minutes, 25 seconds
Running Asterisk post from Restapps module
Starting RestApps Server…
[>---------------------------] 1 sec
Started RestApps Server. PID is 11306
[root@cochrane ~]#

When i reload the freepbx interface it still shows not running.

also when i check fwconsole pm2 --list

±-------------±------±--------±---------±-----------------±----±--------+
| Process Name | PID | Status | Restarts | Uptime | CPU | Mem |
±-------------±------±--------±---------±-----------------±----±--------+
| core-fastagi | 0 | errored | 15 | 0 | 0% | 0.00B |
| ucp | 20048 | online | 3395 | 1 hour, 1 minute | 0% | 26.61MB |
| xmpp | | errored | 290 | 0 | 0% | 0.00B |
| restapps | 0 | errored | 15 | 0 | 0% | 0.00B |
±-------------±------±--------±---------±-----------------±----±--------+

Anyone got any idea what’s going?

What version of PM2 and rest apps are you running? Other than that, you can probably see the logs by doing this (I think the fwconsole pm2 logs command is broken)

sudo -u asterisk /var/www/html/admin/modules/pm2/node/node_modules/pm2/bin/pm2 logs

There are also restapps logs in:

/var/log/asterisk/restapps_err.log
/var/log/asterisk/restapps_out.log

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.