当前位置:论坛首页 > Linux面板 > 求助

【已回应】PM2管理器添加项目问题

发表在 Linux面板2018-8-19 17:30 [复制链接] 15 13225

在通过PM2添加项目时一直卡在正在添加页面怎么回事呢
使用道具 举报 只看该作者 回复
发表于 2018-8-20 11:19:29 | 显示全部楼层
妮在添加一遍 然后进ssh输入这条命令看看具体报错
  1. cat /tmp/panelBoot.pl
复制代码
使用道具 举报 回复 支持 反对
发表于 2018-8-20 11:51:40 | 显示全部楼层
河妖 发表于 2018-8-20 11:19
妮在添加一遍 然后进ssh输入这条命令看看具体报错


115.60.2.211:30660 - - [19/Aug/2018 07:22:11] "HTTP/1.1 GET /plugin" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 595, in GET
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/safelogin/safelogin_main.py", line 62, in GetServerInfo
    result = json.loads(public.httpPost(self.__APIURL + '/GetServerInfo',self.__PDATA));
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

115.60.2.211:30673 - - [19/Aug/2018 07:22:36] "HTTP/1.1 GET /plugin" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 595, in GET
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/safelogin/safelogin_main.py", line 62, in GetServerInfo
    result = json.loads(public.httpPost(self.__APIURL + '/GetServerInfo',self.__PDATA));
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

115.60.2.211:30736 - - [19/Aug/2018 07:23:47] "HTTP/1.1 GET /plugin" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 595, in GET
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/safelogin/safelogin_main.py", line 62, in GetServerInfo
    result = json.loads(public.httpPost(self.__APIURL + '/GetServerInfo',self.__PDATA));
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

115.60.2.211:30745 - - [19/Aug/2018 07:23:49] "HTTP/1.1 GET /plugin" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 598, in POST
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/pm2/pm2_main.py", line 120, in Add
    if get.pname == node['name']: return public.returnMsg(False,'指定项目名称已经存在!');
TypeError: string indices must be integers, not str

115.60.2.211:30698 - - [19/Aug/2018 08:49:13] "HTTP/1.1 POST /plugin" - 500 Internal Server Error
正在选择下载节点...
--2018-08-19 10:57:17--  http://125.88.182.172:5880/install/0/pm2.sh
Connecting to 125.88.182.172:5880... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14104 (14K) [application/octet-stream]
Saving to: ‘pm2.sh’

     0K .......... ...                                        100%  520K=0.03s

2018-08-19 10:57:17 (520 KB/s) - ‘pm2.sh’ saved [14104/14104]

正在选择下载节点...
pm2.sh: line 409: pm2: command not found
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 595, in GET
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/safelogin/safelogin_main.py", line 62, in GetServerInfo
    result = json.loads(public.httpPost(self.__APIURL + '/GetServerInfo',self.__PDATA));
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

115.60.2.211:31209 - - [19/Aug/2018 11:01:14] "HTTP/1.1 GET /plugin" - 500 Internal Server Error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 595, in GET
    return self.funObj()
  File "main.py", line 604, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 960, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/safelogin/safelogin_main.py", line 62, in GetServerInfo
    result = json.loads(public.httpPost(self.__APIURL + '/GetServerInfo',self.__PDATA));
  File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
使用道具 举报 回复 支持 反对
发表于 2018-8-20 17:50:11 | 显示全部楼层
河妖 发表于 2018-8-20 11:19
妮在添加一遍 然后进ssh输入这条命令看看具体报错

报错这个,怎么回事呢
使用道具 举报 回复 支持 反对
发表于 2018-8-21 10:06:53 | 显示全部楼层
你面板首页点修复面板 然后把安全登录插件卸掉看看
使用道具 举报 回复 支持 反对
发表于 2018-8-21 16:26:09 | 显示全部楼层
河妖 发表于 2018-8-21 10:06
你面板首页点修复面板 然后把安全登录插件卸掉看看

不行,添加项目的时候还是不成功,一直停留在正在添加页面 1.png
使用道具 举报 回复 支持 反对
发表于 2018-8-21 16:52:39 | 显示全部楼层
再输入这条命令看看
cat /tmp/panelBoot.pl
使用道具 举报 回复 支持 反对
发表于 2018-8-21 16:59:43 | 显示全部楼层
我的也是啊  安装完了, 点击设置 一直卡在这里
使用道具 举报 回复 支持 反对
发表于 2018-8-21 17:39:02 | 显示全部楼层
河妖 发表于 2018-8-21 16:52
再输入这条命令看看
cat /tmp/panelBoot.pl


Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 600, in POST
    return self.funObj()
  File "main.py", line 606, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 962, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/pm2/pm2_main.py", line 120, in Add
    if get.pname == node['name']: return public.returnMsg(False,'指定项目名称已经存在!');
TypeError: string indices must be integers, not str

123.149.6.22:7410 - - [21/Aug/2018 15:52:59] "HTTP/1.1 POST /plugin" - 500 Internal Server Error
正在选择下载节点...
chattr: No such file or directory while trying to stat /www/server/panel/plugin/safelogin/token.pl
正在选择下载节点...
--2018-08-21 16:26:13--  http://103.224.251.67/install/0/pm2.sh
Connecting to 103.224.251.67:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14104 (14K) [application/octet-stream]
Saving to: 'pm2.sh'

     0K .......... ...                                        100%  414K=0.03s

2018-08-21 16:26:13 (414 KB/s) - 'pm2.sh' saved [14104/14104]

正在选择下载节点...
pm2.sh: line 409: pm2: command not found
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
    return self.handle()
  File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 462, in _delegate
    return handle_class(cls)
  File "/usr/lib/python2.7/site-packages/web/application.py", line 438, in handle_class
    return tocall(*args)
  File "main.py", line 600, in POST
    return self.funObj()
  File "main.py", line 606, in funObj
    return publicObject(pluginObject,defs);
  File "main.py", line 962, in publicObject
    return public.getJson(eval(fun))
  File "<string>", line 1, in <module>
  File "/www/server/panel/class/panelPlugin.py", line 825, in a
    return eval(execStr);
  File "<string>", line 1, in <module>
  File "/www/server/panel/plugin/pm2/pm2_main.py", line 120, in Add
    if get.pname == node['name']: return public.returnMsg(False,'指定项目名称已经存在!');
TypeError: string indices must be integers, not str

123.149.6.22:8974 - - [21/Aug/2018 17:29:26] "HTTP/1.1 POST /plugin" - 500 Internal Server Error
使用道具 举报 回复 支持 反对
发表于 2018-8-21 17:44:26 | 显示全部楼层
你换个项目名称试试
还不行就私信我面板地址账户密码 私信完回复一下
使用道具 举报 回复 支持 反对
发表于 2018-8-21 18:00:41 | 显示全部楼层
河妖 发表于 2018-8-21 17:44
你换个项目名称试试
还不行就私信我面板地址账户密码 私信完回复一下

私信已经发你了
使用道具 举报 回复 支持 反对
发表于 2018-8-21 18:01:31 | 显示全部楼层
河妖 发表于 2018-8-21 17:44
你换个项目名称试试
还不行就私信我面板地址账户密码 私信完回复一下

私信已经发你了
使用道具 举报 回复 支持 反对
发表于 2018-10-14 18:15:04 | 显示全部楼层
请问是怎么解决的。。。
使用道具 举报 回复 支持 反对
发表于 2018-10-15 17:25:36 | 显示全部楼层
HuanL 发表于 2018-10-14 18:15
请问是怎么解决的。。。

放弃宝塔pm2 直接命令行操作了
使用道具 举报 回复 支持 反对
发表于 2018-10-24 13:50:20 | 显示全部楼层
henan0670 发表于 2018-10-15 17:25
放弃宝塔pm2 直接命令行操作了

我也是了。。。。
使用道具 举报 回复 支持 反对
12下一页
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表