zfile-dev / zfile

在线云盘、网盘、OneDrive、云存储、私有云、对象存储、h5ai、上传、下载
https://www.zfile.vip
MIT License
9.71k stars 1.84k forks source link

docker运行时崩溃,后无法重启容器 #641

Closed Zhuwenxue2002 closed 8 months ago

Zhuwenxue2002 commented 8 months ago

环境信息

复现步骤

配置文件: version: '3.3' services: zfile: container_name: zfile restart: always ports:

预期结果

问题描述:最开始正常启动docker ,之后上传文件时容器挂了,尝试关闭再启动就无法启动了

实际结果

重启容器运行失败,报错

额外信息

错误问题日志: 2024-03-10 10:51:39.880 INFO 9 --- [9edb1adf-7787-489b-b036-c5fee2ec2472] [ admin] [ 111.27.5.101] [nio-8080-exec-1] i.z.z.m.r.service.ReadmeConfigService 156 : 存储源 1 规则模式获取目录 /SWITCH 下文档信息 2024-03-10 10:57:33.806 INFO 9 --- [ ] [ ] [ ] [ scheduling-1] i.z.z.m.s.s.AccessTokenRefreshSchedule 31 : 开始执行需要定期刷新 AccessToken 存储源的定时任务 2024-03-10 10:57:33.836 INFO 9 --- [ ] [ ] [ ] [ scheduling-1] i.z.z.m.s.s.AccessTokenRefreshSchedule 48 : 执行需要定期刷新 AccessToken 存储源的定时任务完成 Unhandled exception Type=Bus error vmState=0x00080005 J9Generic_Signal_Number=00000028 Signal_Number=00000007 Error_Value=00000000 Signal_Code=00000002 Handler1=00007FC800C18C40 Handler2=00007FC800973B00 InaccessibleAddress=00007FC7C69CBEDC RDI=00007FC7C69CBED8 RSI=00007FC7C6162E20 RAX=00007FC7C69CBEDC RBX=00007FC7FC128420 RCX=0000000000001000 RDX=00010004000003E0 R8=0000000000000002 R9=0000000000001000 R10=00007FC7FBAAAE18 R11=0000000000000246 R12=00007FC7C69CC2BC R13=0000000000018F00 R14=00007FC7C69CC2C0 R15=00007FC7F9197410 RIP=00007FC7FA2301F1 GS=0000 FS=0000 RSP=00007FC7F91972F0 error from daemon in stream: Error grabbing logs: unexpected EOF

zhaojun1998 commented 8 months ago

服务器内存多少,剩余多少,什么cpu,什么操作系统,版本号码,docker版本

---原始邮件--- 发件人: @.> 发送时间: 2024年3月10日(周日) 中午12:07 收件人: @.>; 抄送: @.***>; 主题: [zfile-dev/zfile] docker运行时崩溃,后无法重启容器 (Issue #641)

环境信息

ZFile 版本:4.1.5

部署方式:Docker

操作系统/设备:Linux

浏览器/版本号:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0

复现步骤

配置文件: version: '3.3' services: zfile: container_name: zfile restart: always ports:

预期结果

问题描述:最开始正常启动docker ,之后上传文件时容器挂了,尝试关闭再启动就无法启动了

实际结果

重启容器运行失败,报错

额外信息

错误问题日志: 2024-03-10 10:51:39.880 INFO 9 --- [9edb1adf-7787-489b-b036-c5fee2ec2472] [ admin] [ 111.27.5.101] [nio-8080-exec-1] i.z.z.m.r.service.ReadmeConfigService 156 : 存储源 1 规则模式获取目录 /SWITCH 下文档信息 2024-03-10 10:57:33.806 INFO 9 --- [ ] [ ] [ ] [ scheduling-1] i.z.z.m.s.s.AccessTokenRefreshSchedule 31 : 开始执行需要定期刷新 AccessToken 存储源的定时任务 2024-03-10 10:57:33.836 INFO 9 --- [ ] [ ] [ ] [ scheduling-1] i.z.z.m.s.s.AccessTokenRefreshSchedule 48 : 执行需要定期刷新 AccessToken 存储源的定时任务完成 Unhandled exception Type=Bus error vmState=0x00080005 J9Generic_Signal_Number=00000028 Signal_Number=00000007 Error_Value=00000000 Signal_Code=00000002 Handler1=00007FC800C18C40 Handler2=00007FC800973B00 InaccessibleAddress=00007FC7C69CBEDC RDI=00007FC7C69CBED8 RSI=00007FC7C6162E20 RAX=00007FC7C69CBEDC RBX=00007FC7FC128420 RCX=0000000000001000 RDX=00010004000003E0 R8=0000000000000002 R9=0000000000001000 R10=00007FC7FBAAAE18 R11=0000000000000246 R12=00007FC7C69CC2BC R13=0000000000018F00 R14=00007FC7C69CC2C0 R15=00007FC7F9197410 RIP=00007FC7FA2301F1 GS=0000 FS=0000 RSP=00007FC7F91972F0 error from daemon in stream: Error grabbing logs: unexpected EOF

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Zhuwenxue2002 commented 8 months ago

自己解决了,感谢大佬