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

对象存储结合 Onedrive 的时候报错 #7594

Open
4 tasks done
muzhi1991 opened this issue Dec 2, 2024 · 1 comment
Open
4 tasks done

对象存储结合 Onedrive 的时候报错 #7594

muzhi1991 opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@muzhi1991
Copy link

muzhi1991 commented Dec 2, 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.40

Driver used / 使用的存储驱动

Onedrive

Describe the bug / 问题描述

开启对象存储目标选择的 Onedrive 的一个目录的时候,用客户端上传文件的时候报错(试了picgo 的s3插件)
用文档里面的 S3Drive 是正常的,不知道问题出哪里了,错误如下:

ERRO[2024-12-02 16:58:11] serve s3: onedrive: Failed to update file(path=/hosting/images/pexels-matreding-28588401.jpg) metadata: Bad Argument

PS:我用其他的客户端也有这个问题,例如这个 https://chromewebstore.google.com/detail/fileon-s3-browser/dkckgdiclklkmiaimnpdlccihdkfbjdd

PS: 我还尝试换成映射到其他的 drive路径,比如本地的磁盘,就没有这个错误。

PS:我再补充一个现象,就是如果我后面再在 web 端上传一个其他文件,我之前上传报错的文件就神奇的出现了,就是其实好像是上传成功的了,只是 metadata 没更新?(希望对排查有帮助)

Reproduction / 复现链接

docker 运行 alist,绑定onedrive,安装文档开启对象存储

docker run -d --restart=unless-stopped -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist:latest

截屏2024-12-03 01 06 05

Config / 配置

"s3": {
"enable": true,
"port": 5246,
"ssl": false
}

Logs / 日志

ERRO[2024-12-02 16:58:11] serve s3: onedrive: Failed to update file(path=/hosting/images/pexels-matreding-28588401.jpg) metadata: Bad Argument

@muzhi1991 muzhi1991 added the bug Something isn't working label Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

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

1 participant