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

[错误]: webdav备份到alist的Crypt驱动存储报错 #560

Closed
ijglb opened this issue Dec 27, 2024 · 4 comments
Closed

[错误]: webdav备份到alist的Crypt驱动存储报错 #560

ijglb opened this issue Dec 27, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@ijglb
Copy link

ijglb commented Dec 27, 2024

平台

Windows

版本

v0.9.1

错误描述

通过web备份到alist的Crypt驱动存储报错:
image
经测试,windows资源管理器直接添加网络位置,然后复制cherry-studio.backup.zip进去是可以的。cherry-studio中备份同样路径和文件会报上述错误。
从alist的日志中看到报错请求的日志如下:

[2024-12-27 17:50:07] failed put /C百度网盘/备份/cherry-studio: %!w(<nil>); CreateTempFile failed, incoming stream actual size= 443283, expect = 47 
github.com/alist-org/alist/v3/internal/op.Put
	/source/internal/op/fs.go:587
github.com/alist-org/alist/v3/drivers/crypt.(*Crypt).Put......
[2024-12-27 17:50:07] PUT /dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip %!w(<nil>); CreateTempFile failed, incoming stream actual size= 443283, expect = 47 
github.com/alist-org/alist/v3/internal/op.Put
	/source/internal/op/fs.go:587
github.com/alist-org/alist/v3/drivers/crypt.(*Crypt).Put......

资源管理器成功的日志是这样:

[GIN] 2024/12/27 - 17:54:41 | 201 |     783.375ms |       127.0.0.1 | PUT      "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:41 | 200 |            0s |       127.0.0.1 | LOCK     "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:41 | 207 |      4.5681ms |       127.0.0.1 | PROPPATCH  "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:41 | 401 |            0s |       127.0.0.1 | HEAD     "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:41 | 200 |            0s |       127.0.0.1 | HEAD     "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:43 | 201 |    1.3191863s |       127.0.0.1 | PUT      "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:43 | 207 |            0s |       127.0.0.1 | PROPPATCH  "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"
[GIN] 2024/12/27 - 17:54:43 | 204 |            0s |       127.0.0.1 | UNLOCK   "/dav/C百度网盘/备份/cherry-studio/cherry-studio.backup.zip"

想确认下是cherry-studio这边备份实现的问题还是alist的问题,如果是alist的问题我再到alist上提下bug

重现步骤

如上

预期行为

正常上传

相关日志输出

No response

附加信息

image

@ijglb ijglb added the bug Something isn't working label Dec 27, 2024
@kangfenmao
Copy link
Collaborator

kangfenmao commented Dec 27, 2024

alist 上游的问题,换一家网盘。百度网盘好像是可以的,是不是路径配置错了

@ijglb
Copy link
Author

ijglb commented Dec 27, 2024

alist 上游的问题,换一家网盘。百度网盘好像是可以的,是不是路径配置错了

单纯百度网盘驱动我试过是可以的,我这个是套了层alist的Crypt驱动进行加密。主要是Windows直接连接同样目录复制文件进去是可以不会出错,然后我手机有几个App也是连接这个可以上传,所以才来确认下

@ijglb
Copy link
Author

ijglb commented Dec 29, 2024

已在alist发了issue等待确认

@kangfenmao
Copy link
Collaborator

看到大家对这个功能挺重视,我也会继续完善这个功能,现在把所有的需求合并到一个 Issue 方便处理和开发

#831

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

2 participants