问题: 进入/site页面和/config页面报错:- Internal Server Error
- The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
复制代码
系统: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6)
BT版本:windows新版7.0.0
已修复过面板,无效
升级之后重启了服务器,亦重启了面板
查看日志报错如下
- Traceback (most recent call last):
- File "D:\BtSoft\panel\BTPanel\__init__.py", line 1078, in publicObject
- return public.GetJson(eval(fun)),json_header
- File "<string>", line 1, in <module>
- File "D:\BtSoft\panel/class\panelSite.py", line 3123, in CloseSSLConf
- self.CloseToHttps(get);
- File "D:\BtSoft\panel/class\panelSite.py", line 3414, in CloseToHttps
- self.set_config_rules(siteName,data)
- File "D:\BtSoft\panel/class\panelSite.py", line 4290, in set_config_rules
- config_path = sitePath + '/web_config/rewrite.config'
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
复制代码
|
|