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

Windows的版本重启之后,会把/data/temp文件夹删掉 #7067

Closed
4 tasks done
JoeNik opened this issue Aug 23, 2024 · 10 comments
Closed
4 tasks done

Windows的版本重启之后,会把/data/temp文件夹删掉 #7067

JoeNik opened this issue Aug 23, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@JoeNik
Copy link

JoeNik commented Aug 23, 2024

Please make sure of the following things

  • I have read the documentation.
    我已经阅读了文档

  • I'm sure there are no duplicate issues or discussions.
    我确定没有重复的issue或讨论。

  • I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational).
    我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • I'm sure this issue is not fixed in the latest version.
    我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

V3.36.0

Driver used / 使用的存储驱动

aliyunopen

Describe the bug / 问题描述

程序重启之后会把data目录下的temp给删除,并且不会自动创建,这样复制文件的时候就出现错误,错误日志贴在下面了,同时这个问题在v3.35.0是不存在的

Reproduction / 复现链接

Config / 配置

Logs / 日志

getting src object

open F:\alist\data\temp\file-409226004: The system cannot find the path specified.
@JoeNik JoeNik added the bug Something isn't working label Aug 23, 2024
Copy link

welcome bot commented Aug 23, 2024

Thanks for opening your first issue here! Be sure to follow the issue template!

@Deepsea-CN

This comment was marked as outdated.

@JoeNik
Copy link
Author

JoeNik commented Aug 28, 2024

但现在重启后,如果没有手动创建tmp目录,直接去复制文件,就会报这个错误,
早期的版本没有这个问题,我测试了v3.35.0是可以自动创建,最近更新的两个版本都不能自动创建

getting src object

open F:\alist\data\temp\file-409226004: The system cannot find the path specified.

@Deepsea-CN
Copy link

但现在重启后,如果没有手动创建tmp目录,直接去复制文件,就会报这个错误,早期的版本没有这个问题呀

getting src object

open F:\alist\data\temp\file-409226004: The system cannot find the path specified.

这个确实是个问题,前面我理解的不对,我在复制文件是也遇到过这个问题,使用的是Linux版本,症状就是不能正确生成中转文件导致不能复制,正常情况重启应该只会清掉temp下的内容,但是现在整个/data/temp文件夹都丢失了,你应该把这段报错放到问题描述里,让开发者能看到

@JoeNik
Copy link
Author

JoeNik commented Aug 28, 2024

嗯 ,我贴到描述里面了

@AsenHu
Copy link

AsenHu commented Sep 2, 2024

同样的问题发生在 d4e3355 linux-musl-amd64

@HADB
Copy link

HADB commented Sep 6, 2024

跟 window 版应该没关系,我用的 docker,同样遇到这个问题

@HADB
Copy link

HADB commented Sep 7, 2024

对比了下 v3.35.0 和 v3.36.0 的 diff,感觉问题可能出在这个 commit,新增了一个 CleanTempDir 方法,会删除整个 temp 文件夹,可能某种场景下是在创建后删除了,并且在使用的时候没有重新创建。

@itsHenry35
Copy link
Contributor

应该已经在这个commit中被修复:c9fa3d7

@JoeNik
Copy link
Author

JoeNik commented Sep 18, 2024

应该已经在这个commit中被修复:c9fa3d7

嗯嗯,确实修复了已经

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants