宝塔用户_tgxoho 发表于 2024-2-25 15:40:47

【已解答】无法启动

宿主机系统:CentOS Stream release 9
dokcer版本:Docker version 20.10.24, build 297e128
容器系统:CentOS7.9.2009 x86_64(Py3.7.9)
本地部署BT容器后,BT面板无法启动,不知道是怎么回事了,麻烦大神指导。


报错信息如下:


Traceback (most recent call last):
File "class/public.py", line 1675, 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 60, in <module>
    start()
File "/www/server/panel/script/run_script.py", line 52, in start
    project_model_auto_run()
File "/www/server/panel/script/run_script.py", line 37, 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 1682, in set_own
    user_info = getpwnam('www')
KeyError: "getpwnam(): name not found: 'www'"




阿珂 发表于 2024-2-29 11:43:07

如果宿主机有使用系统加固等安全软件,关闭防护,修复面板
页: [1]
查看完整版本: 【已解答】无法启动