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

对象存储无法上传文件夹,会变成文件 #6410

Open
4 tasks done
beijifengren opened this issue Apr 30, 2024 · 6 comments
Open
4 tasks done

对象存储无法上传文件夹,会变成文件 #6410

beijifengren opened this issue Apr 30, 2024 · 6 comments
Labels
accepted bug Something isn't working

Comments

@beijifengren
Copy link

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.33.0

Driver used / 使用的存储驱动

本机存储 转 S3 对象存储

Describe the bug / 问题描述

添加存储时使用本机存储挂载了一个本地的目录,之后启用对象存储,将本地的这个目录转为S3对象存储,在Windows下使用S3 browser 进行上传文件夹,上传的文件夹会变成文件,导致该文件夹里面的文件均无法上传,但是单独上传文件则是可以的。同时在S3 browser中New Folder 也会变成file,这个应该是bug吧,因为我切换到minio创建的存储桶,则不存在该问题。

Reproduction / 复现链接

Config / 配置

Logs / 日志

No response

@beijifengren beijifengren added the bug Something isn't working label Apr 30, 2024
Copy link

welcome bot commented Apr 30, 2024

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

@miyunwangluo
Copy link

我采用minio-go测试了下 上传文件 比如1.png没问题 可以正常上传 但带路径比如uploads/1.png就不行了 提示Failed to upload file: The specified key does not exist. 应该是alist的对象存储还没实现对路径的支持吧

@beijifengren
Copy link
Author

我采用minio-go测试了下 上传文件 比如1.png没问题 可以正常上传 但带路径比如uploads/1.png就不行了 提示Failed to upload file: The specified key does not exist. 应该是alist的对象存储还没实现对路径的支持吧

这时候你去看存储桶中的数据,应该会发现出现了一个uploads的文件本来应该是uploads的文件夹,他把创建文件夹的操作和创建文件的操作混淆了吧

@itsHenry35
Copy link
Member

我也发现这个问题了,回头修

@gowy222
Copy link

gowy222 commented May 11, 2024

S3接口将来会产生bug

S3 是一个对象存储服务,它使用键值对的方式存储对象(文件)
在 S3 中,文件夹实际上是一个命名空间的概念,用于组织和管理对象

S3这块,建议重新评估,要不要直接砍掉..

@itsHenry35
Copy link
Member

S3接口将来会产生bug

S3 是一个对象存储服务,它使用键值对的方式存储对象(文件) 在 S3 中,文件夹实际上是一个命名空间的概念,用于组织和管理对象

S3这块,建议重新评估,要不要直接砍掉..

回答:#6401 (comment)

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

No branches or pull requests

4 participants