异次元

 找回密码
 立即注册
KURUN CLOUD 美国CN2GIA服务器轻云互联 美国香港CN2GIA服务器会员请立即修改密码
查看: 1169|回复: 3

docker报错无法修复

[复制链接]

16

主题

52

帖子

455

积分

中级会员

Rank: 3Rank: 3

积分
455
发表于 2023-6-19 00:16:56 | 显示全部楼层 |阅读模式
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

16

主题

52

帖子

455

积分

中级会员

Rank: 3Rank: 3

积分
455
 楼主| 发表于 2023-6-19 00:25:46 | 显示全部楼层
REQUEST_DATE: 2023-06-18 23:25:14
PAN_VERSION: 7.9.10
  OS_VERSION: CentOS  7.6.1810 x86_64(Py3.7.9)
REMOTE_ADDR: XXXX
REQUEST_URI: POST /project/docker/model?action=setup-get_config
REQUEST_FORM: {'data': '{"url":"unix:///var/run/docker.sock","dk_model_name":"setup","dk_def_name":"get_config"}'}
  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4148.158 Safari/537.36

16

主题

52

帖子

455

积分

中级会员

Rank: 3Rank: 3

积分
455
 楼主| 发表于 2023-6-19 00:27:51 | 显示全部楼层
Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 2008, in publicObject
    res = run_obj.run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 1955, in run
    result = getattr(toObject, get.action)(get)
  File "/www/server/panel/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 104, in get_registry_mirrors
    conf = json.loads(public.readFile('/etc/docker/daemon.json'))
  File "/www/server/panel/pyenv/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/www/server/panel/pyenv/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
高级模式
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|异次元 | 繁体中文 本站支持IPv6访问

GMT+9, 2024-11-25 05:21 , Processed in 0.176348 second(s), 33 queries .

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表