宝塔1024及双11特惠活动,企业版1099元/年,送SSL证书,最高立减2万元!查看活动
当前位置:论坛首页 > Linux面板 > 求助

【待反馈】docker安装不了,cloudreve无法启动

发表在 Linux面板2024-2-21 22:49 [复制链接] 7 962

本帖最后由 不品人间酒 于 2024-2-23 16:56 编辑

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:[url=]7.9.5[/url]
系统版本:CentOS 8.5.2111 x86_64
问题描述:前段时间为了安装图形化提示docker依赖冲突,所以卸载了docker,后面发现我的网盘cloudreve突然不能访问了,docker也安装不上了,一直报错。

相关截图(日志、错误):面板安装报错信息
我直接复制进来,说内容不允许,只能发附件了……

宝塔安装docker日志.rar

1.48 KB, 下载次数: 585

使用道具 举报 只看该作者 回复
发表于 2024-2-21 23:06:28 | 显示全部楼层
[root@tpy-centos yum.repos.d]# dnf update
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository base is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository centosplus is listed more than once in the configuration
Repository PowerTools is listed more than once in the configuration
Repository AppStream is listed more than once in the configuration
created by dnf config-manager from https://download.docker.com/linux/centos/docker-ce.repo 200  B/s | 386  B     00:01   
Errors during downloading metadata for repository 'download.docker.com_linux_centos_docker-ce.reposudo':
  - Status code: 404 for https://download.docker.com/linux/centos/docker-ce.reposudo/repodata/repomd.xml (IP: 13.32.121.29)
错误:为仓库 'download.docker.com_linux_centos_docker-ce.reposudo' 下载元数据失败 : Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
[root@tpy-centos yum.repos.d]#


使用道具 举报 回复 支持 反对
发表于 2024-2-22 17:20:22 | 显示全部楼层
大炮运维V587 发表于 2024-2-22 10:06
您好,你截图中的提示是无法连接到Docker的安装源

您先到服务器SSH终端里执行
  1. 正在选择下载节点...
  2. http://dg2.bt.cn
  3. --2024-02-22 17:17:08--  https://download.bt.cn/install/public.sh
  4. Resolving download.bt.cn (download.bt.cn)... 42.157.129.47, 240e:97e:4000:33f:103:212:48:148
  5. Connecting to download.bt.cn (download.bt.cn)|42.157.129.47|:443... connected.
  6. HTTP request sent, awaiting response... 200 OK
  7. Length: 4560 (4.5K) [application/octet-stream]
  8. Saving to: ‘Tpublic.sh’

  9. Tpublic.sh                             100%[===========================================================================>]   4.45K  --.-KB/s    in 0s      

  10. 2024-02-22 17:17:08 (140 MB/s) - ‘Tpublic.sh’ saved [4560/4560]

  11. 正在选择下载节点...
  12. groupadd: group 'docker' already exists
  13. --2024-02-22 17:17:10--  http://dg2.bt.cn/src/docker-24.0.7-x86_64.tgz
  14. Resolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8
  15. Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:80... connected.
  16. HTTP request sent, awaiting response... 200 OK
  17. Length: 69831072 (67M) [application/octet-stream]
  18. Saving to: ‘docker-24.0.7.tgz’

  19. docker-24.0.7.tgz                      100%[===========================================================================>]  66.60M  14.5MB/s    in 4.4s   

  20. 2024-02-22 17:17:15 (15.2 MB/s) - ‘docker-24.0.7.tgz’ saved [69831072/69831072]

  21. docker/
  22. docker/docker
  23. docker/docker-init
  24. docker/dockerd
  25. docker/runc
  26. docker/ctr
  27. docker/containerd-shim-runc-v2
  28. docker/containerd
  29. docker/docker-proxy
  30. --2024-02-22 17:17:16--  http://dg2.bt.cn/src/docker-compose-linux-x86_64
  31. Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47
  32. Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|:80... connected.
  33. HTTP request sent, awaiting response... 200 OK
  34. Length: 59699273 (57M) [application/octet-stream]
  35. Saving to: ‘/usr/bin/docker-compose’

  36. /usr/bin/docker-compose                100%[===========================================================================>]  56.93M  27.6MB/s    in 2.1s   

  37. 2024-02-22 17:17:23 (27.6 MB/s) - ‘/usr/bin/docker-compose’ saved [59699273/59699273]

  38. --2024-02-22 17:17:24--  http://dg2.bt.cn/init/systemd/docker.service
  39. Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47
  40. Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|:80... connected.
  41. HTTP request sent, awaiting response... 200 OK
  42. Length: 642 [application/octet-stream]
  43. Saving to: ‘/usr/lib/systemd/system/docker.service’

  44. /usr/lib/systemd/system/docker.service 100%[===========================================================================>]     642  --.-KB/s    in 0s      

  45. 2024-02-22 17:17:24 (123 MB/s) - ‘/usr/lib/systemd/system/docker.service’ saved [642/642]

  46. --2024-02-22 17:17:24--  http://dg2.bt.cn/init/systemd/docker.socket
  47. Resolving dg2.bt.cn (dg2.bt.cn)... 42.157.129.47
  48. Connecting to dg2.bt.cn (dg2.bt.cn)|42.157.129.47|:80... connected.
  49. HTTP request sent, awaiting response... 200 OK
  50. Length: 295 [application/octet-stream]
  51. Saving to: ‘/usr/lib/systemd/system/docker.socket’

  52. /usr/lib/systemd/system/docker.socket  100%[===========================================================================>]     295  --.-KB/s    in 0s      

  53. 2024-02-22 17:17:24 (57.6 MB/s) - ‘/usr/lib/systemd/system/docker.socket’ saved [295/295]

  54. --2024-02-22 17:17:24--  http://dg2.bt.cn/init/systemd/containerd.service
  55. Resolving dg2.bt.cn (dg2.bt.cn)... 36.133.1.8
  56. Connecting to dg2.bt.cn (dg2.bt.cn)|36.133.1.8|:80... connected.
  57. HTTP request sent, awaiting response... 200 OK
  58. Length: 1264 (1.2K) [application/octet-stream]
  59. Saving to: ‘/usr/lib/systemd/system/containerd.service’

  60. /usr/lib/systemd/system/containerd.ser 100%[===========================================================================>]   1.23K  --.-KB/s    in 0s      

  61. 2024-02-22 17:17:25 (229 MB/s) - ‘/usr/lib/systemd/system/containerd.service’ saved [1264/1264]

  62. Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /usr/lib/systemd/system/docker.service.
  63. Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /usr/lib/systemd/system/docker.socket.
  64. Created symlink /etc/systemd/system/multi-user.target.wants/containerd.service → /usr/lib/systemd/system/containerd.service.
  65. |-Successify --- 命令已执行! ---
复制代码
使用道具 举报 回复 支持 反对
发表于 2024-2-22 17:31:22 | 显示全部楼层
[root@tpy-centos cloudreve]# ll
总用量 45648
-rw-r--r-- 1 root root        0 2月  14 13:55 --add-repo
-rwxr-xr-x 1 www  www  34324480 2月  13 11:27 cloudreve
-rw-r--r-- 1 root root 12410880 1月  12 13:42 cloudreve.db
-rw-r--r-- 1 root root      211 12月  4 2022 conf.ini
drwx------ 6 root root       62 11月 27 2022 uploads
[root@tpy-centos cloudreve]# ./cloudreve
段错误
[root@tpy-centos cloudreve]#

cloudreve还是起不来,

Docker服务:
当前状态:停止
开启 重启


容器监控:

*设置容器页面监控开关,关闭后CPU使用率将不再监控

监控天数:
保存 *设置容器页面监控保存天数

加速URL:

docker也起不来


出错了,[Docker管理器]运行时发生错误!AttributeError: 'NoneType' object has no attribute 'containers'
REQUEST_DATE: 2024-02-22 17:29:57 PAN_VERSION: 7.9.5  OS_VERSION: CentOS  8.5.2111 x86_64(Py3.7.9) REMOTE_ADDR: 192.168.16.1 REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bname%3Ddocker%26amp%3Bs%3DGetConListREQUEST_FORM: {}  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0Traceback (most recent call last):  File "class/panelPlugin.py", line 2808, in a    return p.exec_fun(get)  File "class/pluginAuth.py", line 67, in exec_fun    raise public.PanelError(res['msg'])public.PanelError: 面板运行时发生错误: Traceback (most recent call last):  File "/www/server/panel/plugin/docker/docker_main.py", line 59, in GetConList    for con in self.__docker.containers.list(all=True):AttributeError: 'NoneType' object has no attribute 'containers'



使用道具 举报 回复 支持 反对
发表于 2024-2-22 19:31:28 | 显示全部楼层
大炮运维V587 发表于 2024-2-22 18:32
执行这个命令,看下报错信息

[root@tpy-centos yum.repos.d]# journalctl -u  docker
Invalid unit name "  docker" was escaped as "\xc2\xa0\xc2\xa0docker" (maybe you should use systemd-escape?)
-- Logs begin at Sun 2024-02-04 17:58:43 CST, end at Thu 2024-02-22 19:29:42 CST. --
-- No entries --
[root@tpy-centos yum.repos.d]#
使用道具 举报 回复 支持 反对
发表于 2024-2-23 16:13:44 | 显示全部楼层
大炮运维V587 发表于 2024-2-22 18:32
执行这个命令,看下报错信息

大炮哥,帮忙再看看该怎么处理呀
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

立即付费处理

工作时间:09:00至24:00

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