请问该如何解决,麻烦了,现在业务不可用,报错如下:
出错了,面板运行时发生错误!TypeError: expected string or bytes-like object
REQUEST_DATE: 2022-08-02 09:03:23 PAN_VERSION: 7.9.3 OS_VERSION: Debian GNU/Linux 10 x86_64(Py3.7.9) REMOTE_ADDR: 27.198.36.27 REQUEST_URI: POST /ajax?action=GetApacheStatusREQUEST_FORM: {} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1774, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1722, in run result = getattr(toObject,get.action)(get) File "class/ajax.py", line 15, in GetApacheStatus return a.GetApacheStatus() File "class/apache.py", line 52, in GetApacheStatus Uptime = re.search("ServerUptimeSeconds:\s+(.*)",result) File "/www/server/panel/pyenv/lib/python3.7/re.py", line 185, in search return _compile(pattern, flags).search(string)TypeError: expected string or bytes-like object- 很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:
- 修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。
- 修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:https://www.bt.cn/bbs
|
|