REQUEST_DATE: 2023-01-22 15:45:57 PAN_VERSION: 7.9.7 OS_VERSION: CentOS 7.8.2003 x86_64(Py3.7.9) REMOTE_ADDR: 222.90.221.218 REQUEST_URI: POST /project/docker/model?action=setup-set_registry_mirrorsREQUEST_FORM: {'data': '{"registry_mirrors_address":"https://0bk8w8t9.mirror.aliyuncs.com","url":"unix:///var/run/docker.sock","dk_model_name":"setup","dk_def_name":"set_registry_mirrors"}'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1845, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1797, in run result = getattr(toObject,get.action)(get) File "class/panelController.py", line 86, in model raise public.PanelError(result['msg'])public.PanelError: 面板运行时发生错误: 设置失败!失败原因:Traceback (most recent call last): File "/www/server/panel/class/projectModel/bt_docker/dk_setup.py", line 130, in set_registry_mirrors conf['registry-mirrors'] = public.xsssec2(registry_mirrors) File "class/public.py", line 1642, in xsssec2 return text.replace('<', '<').replace('>', '>')AttributeError: 'list' object has no attribute 'replace'
|
|