115通过alist的webdav挂载到本地进行更新时出错
- Lingua principale
- Go
- Stelle
- 50.2k
- Fork
- 7.9k
- Merge medio
- 7g 21h
- PR unite (30g)
- 6
Descrizione
### Please make sure of the following things
- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。
- [X] I'm sure there are no duplicate issues or discussions.
我确定没有重复的issue或讨论。
- [X] I'm sure it's due to `AList` and not something else(such as [Network](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。
- [X] I'm sure this issue is not fixed in the latest version.
我确定这个问题在最新版本中没有被修复。
### AList Version / AList 版本
v3.39.4
### Driver used / 使用的存储驱动
115
### Describe the bug / 问题描述
当我在本地上传文件到115时,报错,重新获取refresh token后恢复正常。
`
failed get objs: failed to list objs: 405a,body,div,h2,html,p{margin:0;padding:0}a{text-decoration:none;color:#3b6ea3}.container{width:1000px;margin:auto;color:#696969}.header{padding:110px 0}.header .message{height:36px;padding-left:120px;background:url(https://errors.aliyun.com/images/TB1TpamHpXXXXaJXXXXeB7nYVXX-104-162.png) no-repeat 0 -128px;line-height:36px}.main{padding:50px 0;background:#f4f5f7}#block_image{position:relative;left:120px}.footer{margin-top:30px;text-align:right}.footer a{padding:8px 30px;border-radius:10px;border:1px solid #4babec}.footer a:hover{opacity:.8}.alert-shadow{display:none;position:absolute;top:0;left:0;width:100%;height:100%;background:#999;opacity:.5}.alert{display:none;position:absolute;top:200px;left:50%;width:600px;margin-left:-300px;padding-bottom:25px;border:1px solid #ddd;box-shadow:0 2px 2px 1px rgba(0,0,0,.1);background:#fff;font-size:14px;color:#696969}.alert h2{margin:0 2px;padding:10px 15px 5px 15px;font-size:14px;font-weight:400;border-bottom:1px solid #ddd}.alert a{display:block;position:absolute;right:10px;top:8px;width:30px;height:20px;text-align:center}.alert p{padding:20px 15px}
### Reproduction / 复现链接
使用的ExpanDrive挂载工具,在对115内的文件夹A的.vs文件夹删除的时候,进行了A的重命名,再次在alist访问A文件夹,出现如上错误
### Config / 配置

### Logs / 日志
[GIN] 2024/11/22 - 00:01:34 | 404 | 0s | 127.0.0.1 | PROPFIND "/dav/115(存程序压缩包)/字体样式font/"
[31mERRO[0m[2024-11-22 00:01:35] failed move /115(存程序压缩包)/字体样式/.vs to /115(存程序压缩包)/字体样式font: object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.Move
/source/internal/op/fs.go:365
github.com/alist-org/alist/v3/internal/fs.move
/source/internal/fs/other.go:32
github.com/alist-org/alist/v3/internal/fs.Move
/source/internal/fs/fs.go:65
github.com/alist-org/alist/v3/server/webdav.moveFiles
/source/server/webdav/file.go:39
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleCopyMove
/source/server/webdav/webdav.go:494
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:70
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to get dst dir
[31mERRO[0m[2024-11-22 00:01:35] MOVE /dav/115(存程序压缩包)/字体样式/.vs object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.Move
/source/internal/op/fs.go:365
github.com/alist-org/alist/v3/internal/fs.move
/source/internal/fs/other.go:32
github.com/alist-org/alist/v3/internal/fs.Move
/source/internal/fs/fs.go:65
github.com/alist-org/alist/v3/server/webdav.moveFiles
/source/server/webdav/file.go:39
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleCopyMove
/source/server/webdav/webdav.go:494
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:70
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to get dst dir
[GIN] 2024/11/22 - 00:01:35 | 500 | 634.7µs | 127.0.0.1 | MOVE "/dav/115(存程序压缩包)/字体样式/.vs"
[31mERRO[0m[2024-11-22 00:01:35] MOVE /dav/115(存程序压缩包)/字体样式/.vs webdav: prefix mismatch
[GIN] 2024/11/22 - 00:01:35 | 404 | 0s | 127.0.0.1 | MOVE "/dav/115(存程序压缩包)/字体样式/.vs"
[33mWARN[0m[2024-11-22 00:01:35] failed get /115(存程序压缩包)/字体样式font: object not found
[31mERRO[0m[2024-11-22 00:01:35] PROPFIND /dav/115(存程序压缩包)/字体样式font/ object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/fs.get
/source/internal/fs/get.go:38
github.com/alist-org/alist/v3/internal/fs.Get
/source/internal/fs/fs.go:37
github.com/alist-org/alist/v3/server/webdav.(*Handler).handlePropfind
/source/server/webdav/webdav.go:633
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:76
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
[GIN] 2024/11/22 - 00:01:35 | 404 | 625µs | 127.0.0.1 | PROPFIND "/dav/115(存程序压缩包)/字体样式font/"
[GIN] 2024/11/22 - 00:01:36 | 207 | 0s | 127.0.0.1 | PROPFIND "/dav/115(存程序压缩包)/字体样式/"
[31mERRO[0m[2024-11-22 00:01:38] failed move /115(存程序压缩包)/字体样式/.vs to /115(存程序压缩包)/字体样式font: object not found
github.com/alist-org/alist/v3/internal/op.Get
/source/internal/op/fs.go:227
github.com/alist-org/alist/v3/internal/op.GetUnwrap
/source/internal/op/fs.go:231
github.com/alist-org/alist/v3/internal/op.Move
/source/internal/op/fs.go:365
github.com/alist-org/alist/v3/internal/fs.move
/source/internal/fs/other.go:32
github.com/alist-org/alist/v3/internal/fs.Move
/source/internal/fs/fs.go:65
github.com/alist-org/alist/v3/server/webdav.moveFiles
/source/server/webdav/file.go:39
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleCopyMove
/source/server/webdav/webdav.go:494
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
/source/server/webdav/webdav.go:70
github.com/alist-org/alist/v3/server.ServeWebDAV
/source/server/webdav.go:46
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server.WebDAVAuth
/source/server/webdav.go:113
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/source/server/middlewares/check.go:14
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:589
net/http.serverHandler.ServeHTTP
/usr/local/go/src/net/http/server.go:3210
net/http.(*conn).serve
/usr/local/go/src/net/http/server.go:2092
runtime.goexit
/usr/local/go/src/runtime/asm_amd64.s:1700
failed to get dst dir
[31mERRO[0m[2024-11-22 00:01:38] MOVE /dav/115(存程序压缩包)/字体样式/.vs object not found
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.