• Support
  • PM2 Manager - Project Restart Issue

Hello sir,
in PM2 Manager 5.0 in Project List restart not work after update
its show error 😀
Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in

can u help to fix this ?

aaPanel_Captain

Sorry, something went wrong:
Traceback (most recent call last):
File "class/flask_sockets.py", line 30, in call
handler, values = adapter.match()
File "/www/server/panel/pyenv/lib/python3.7/site-packages/werkzeug/routing.py", line 1945, in match
raise NotFound()
werkzeug.exceptions.NotFound: 404 Not Found: The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "class/panelPlugin.py", line 1992, in a
return eval(execStr)
File "", line 1, in
File "plugin/pm2/pm2_main.py", line 524, in Restart
if result.find('✓') != -1: return public.returnMsg(True, 'Project [' + get.pname + '] has been restarted!')
AttributeError: 'tuple' object has no attribute 'find'

    technothumb Execute the following command on the command line to see if there is a project name, the error prompts that the project name cannot be obtained

    pm2 list

      8 days later

      aaPanel_Captain
      this is 100% working fix for error in pm2 which starts with:
      Sorry, something went wrong: Traceback (most recent call last): File "class/flask_sockets.py", line 30, in call