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

115通过alist的webdav挂载到本地进行更新时出错 #7542

Open
4 tasks done
SammySnake-d opened this issue Nov 21, 2024 · 1 comment
Open
4 tasks done

115通过alist的webdav挂载到本地进行更新时出错 #7542

SammySnake-d opened this issue Nov 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SammySnake-d
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.39.4

Driver used / 使用的存储驱动

115

Describe the bug / 问题描述

当我在本地上传文件到115时,报错,重新获取refresh token后恢复正常。
failed get objs: failed to list objs: <!doctypehtml><html lang="zh-cn"><meta charset="utf-8"><meta http-equiv="X-UA-Compatible"content="IE=edge,chrome=1"><meta name="data-spm"content="a3c0e"><title>405</title><style>a,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}</style><body data-spm="7663354"><div data-spm="1998410538"><div class="header"><div class="container"><div class="message"><div id="block_message"></div><div><span id="block_url_tips"></span><strong id="url"></strong></div><div><span id="block_time_tips"></span><strong id="time"></strong></div><div><span id="block_traceid_tips"></span><strong id="traceid"></strong></div></div></div></div><div class="main"><div class="container"><img id="block_image"></div></div><div class="footer"><div class="container"><a target="_blank"id="report"href="javascript:;"data-spm-click="gostr=/waf.123.123;locaid=d001;"style="display:none">误报反馈</a></div></div></div><script>function getRenderData(){var e=document.getElementById("renderData");return JSON.parse(e.innerHTML)}function convertTimestampToString(e){e=parseInt(e,10),e=new Date(e);return e.getFullYear()+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+("0"+e.getDate()).slice(-2)+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)}var en_tips={block_message:"Sorry, your request has been blocked as it may cause potential threats to the server's security.",block_url_tips:"Current URL: ",block_time_tips:"Request Time: ",block_traceid_tips:"Your Request ID is: "},cn_tips={block_message:"很抱歉,由于您访问的URL有可能对网站造成安全威胁,您的访问被阻断。",block_url_tips:"当前网址: ",block_time_tips:"请求时间: ",block_traceid_tips:"您的请求ID是: "};window.onload=function(){var e=getRenderData();if(e){var t,n=cn_tips,i=document.getElementById("block_image");for(t in"en"===e.lang?(n=en_tips,i.src="https://g.alicdn.com/sd-base/static/1.0.5/image/405.png",i.id="en_block"):(i.src="https://errors.aliyun.com/images/TB15QGaHpXXXXXOaXXXXia39XXX-660-117.png",document.getElementById("report").style.display="inline"),n)document.getElementById(t).innerText=n[t];i=e.traceid,e=i.slice(8,21);document.getElementById("traceid").innerText=i,document.getElementById("url").innerText=location.href.split("?")[0],document.getElementById("time").innerText=convertTimestampToString(e)}}</script><textarea id="renderData" style="display:none">{"traceid":"784e2c9c17322043412423760e0fab","lang":"cn"}</textarea>: unexpected error

Reproduction / 复现链接

使用的ExpanDrive挂载工具,在对115内的文件夹A的.vs文件夹删除的时候,进行了A的重命名,再次在alist访问A文件夹,出现如上错误

Config / 配置

c439a4c0e44ff3da7be4e3c535517774

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

@SammySnake-d SammySnake-d added the bug Something isn't working label Nov 21, 2024
@pongfcnkl
Copy link

被风控 重复issues
#7468

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