Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/xunlei/downloads 路径被清空 #184

Closed
junilask opened this issue Aug 29, 2024 · 5 comments
Closed

/xunlei/downloads 路径被清空 #184

junilask opened this issue Aug 29, 2024 · 5 comments

Comments

@junilask
Copy link

我在Unraid系统下使用此容器,发生了一件不能挽回的可怕事情,迅雷清空了/xunlei/downloads映射路径下原本有的全部文件,这听起来像是一个Windows文件卸载流程,但是这确实在此Docker上发生,我没有启用快照功能,我现在无法找回数据了...

@VanDavv

This comment was marked as outdated.

@SsSheep
Copy link

SsSheep commented Aug 29, 2024

我在Unraid系统下使用此容器也发生了同样事情。失去了11TB的数据。映射路径的下的所有文件都被清除了。

@cnk3x
Copy link
Owner

cnk3x commented Aug 30, 2024

在一些情况下,指定的下载目录如果在chroot目录外,会挂载映射到chroot目录内,程序退出时会取消映射,在某些情况下取消映射后,创建的文件夹如果是空目录,会删除。
受影响的版本有 v3.20.0 和 v3.20.1
这两个版本程序中空文件夹判断函数错了,某些极端情况下可能会删除挂载目录内容。

v3.20.2已修复这个问题,已经下线了v3.20.0和v3.20.1。
https://github.com/cnk3x/xunlei/releases/tag/v3.20.2

@cnk3x cnk3x closed this as completed Sep 2, 2024
@latel
Copy link

latel commented Oct 23, 2024

卧槽,吓到了我了

@GanChangAn
Copy link

我也遇到过,可怕。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@cnk3x @VanDavv @latel @GanChangAn @junilask @SsSheep and others