为了能快速了解并处理您的问题,请提供以下基础信息:
相关截图(日志、错误):REQUEST_DATE: 2024-01-15 17:33:08 VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.5 REMOTE_ADDR: 183.227.26.243 REQUEST_URI: POST /btdocker/container/set_container_status?REQUEST_FORM: {'data': '{"id":"25c80ed47e483c3b0c9d87adbeb5c456cf33a144162e7adbd15d4a71751aead9","status":"restart"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2302, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2249, in run result = getattr(toObject, get.action)(get) File "/www/server/panel/class/panelController.py", line 81, in model result = PluginLoader.module_run(module_name,def_name,pdata) File "/www/server/panel/class/btdockerModel/containerModel.py", line 630, in set_container_status "status": result['status'],TypeError: string indices must be integers
|
|