宝塔用户_lvdory 发表于 2022-2-10 22:22:23

【待反馈】添加node项目后,一直转圈圈

添加node项目后,一直转圈圈
然后我查到我添加的node项目处于运行状态
https://s4.ax1x.com/2022/02/10/HNUR0I.png
Ubuntu 18.04.2 LTS x86_64(Py3.7.8)
当前版本:宝塔Linux正式版 7.8.0发布时间:2021/12/28

错误信息:
https://s4.ax1x.com/2022/02/10/HNaZ4K.pnghttps://s4.ax1x.com/2022/02/10/HNye6f.png
访问http://192.168.2.11:8888/project/nodejs/get_project_list 显示
{"status": false, "msg": "CSRF校验失败,请重新登录面板"}

查询面板错误:
Traceback (most recent call last):
File "class/public.py", line 1688, in set_own
    user_info = getpwnam(user)
KeyError: "getpwnam(): name not found: 'www'"

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/www/server/panel/script/run_script.py", line 38, in project_model_auto_run
    run_object = getattr(tmp_mod.main(),'auto_run',None)
File "/www/server/panel/class/projectModel/nodejsModel.py", line 48, in __init__
    public.set_own(self._www_home,'www')
File "class/public.py", line 1694, in set_own
    if user == 'www': create_linux_user(user)
TypeError: create_linux_user() missing 1 required positional argument: 'group'


谢花郎 发表于 2022-2-11 16:06:44

您好,这个暂时没有复现出来,您那边看下是否存在www用户以及用户组,
id www

宝塔用户_lvdory 发表于 2022-2-11 17:13:13

谢花郎 发表于 2022-2-11 16:06
您好,这个暂时没有复现出来,您那边看下是否存在www用户以及用户组,

https://s4.ax1x.com/2022/02/11/Ha2nxA.png

谢花郎 发表于 2022-2-12 09:39:43

宝塔用户_lvdory 发表于 2022-2-11 17:13


您那边下个Todesk远程工具,然后论坛私信发我远程码,我远程协助排查下
页: [1]
查看完整版本: 【待反馈】添加node项目后,一直转圈圈