Skip to content

[BUG] 115open跨盘复制秒传成功,下载或者访问文件会报错。 #511

@Skndnr

Description

@Skndnr

Please confirm the following

  • I have read and agree to AGPL-3.0 Section 15 .
    The program is provided "as is" without any warranties; you bear all risks of using it.

  • I have read and agree to AGPL-3.0 Section 16 .
    The copyright holders and distributors are not liable for any damages resulting from the use or inability to use the program.

  • I confirm my description is clear, polite, helps developers quickly locate the issue, and complies with community rules.

  • I have read the OpenList documentation.

  • I confirm there are no duplicate issues or discussions.

  • I confirm this is an OpenList issue, not caused by other reasons (such as network, dependencies, or operation).

  • I believe this issue must be handled by OpenList and not by a third party.

  • I confirm this issue is not fixed in the latest version.

OpenList Version (required)

beta

Storage Driver Used (required)

115open

Bug Description (required)

修复(fs):更新 objs 缓存 #507
115→115open跨盘复制秒传成功,链接下载,或者网页访问文件会报错,要手动刷新当前目录,才能下载,访问。

Configuration File Content (required)

Image

Logs (optional)

[GIN] 2025/07/01 - 17:48:47 | 200 | 297.303µs | 172.17.0.1 | GET "/d/下载/115open/云下载/test.mkv"
�[31mERRO�[0m[2025-07-01 17:48:48] failed link /下载/115open/云下载/test.mkv: can't convert obj
failed get link
github.com/OpenListTeam/OpenList/v4/internal/op.Link.func1
/home/runner/work/OpenList/OpenList/internal/op/fs.go:268
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:193
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:195
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).Do
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:108
github.com/OpenListTeam/OpenList/v4/internal/op.Link
/home/runner/work/OpenList/OpenList/internal/op/fs.go:284
github.com/OpenListTeam/OpenList/v4/internal/fs.link
/home/runner/work/OpenList/OpenList/internal/fs/link.go:18
github.com/OpenListTeam/OpenList/v4/internal/fs.Link
/home/runner/work/OpenList/OpenList/internal/fs/fs.go:53
github.com/OpenListTeam/OpenList/v4/server/handles.Down
/home/runner/work/OpenList/OpenList/server/handles/down.go:37
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.DownloadRateLimiter.func7
/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:51
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.Down.func8
/home/runner/work/OpenList/OpenList/server/middlewares/down.go:40
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
/home/runner/work/OpenList/OpenList/server/middlewares/check.go:30
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
/opt/hostedtoolcache/go/1.24.4/x64/src/net/http/server.go:3301
net/http.(*conn).serve
/opt/hostedtoolcache/go/1.24.4/x64/src/net/http/server.go:2102
runtime.goexit
/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/asm_amd64.s:1700
failed link
[GIN] 2025/07/01 - 17:48:48 | 200 | 326.706µs | 172.17.0.1 | GET "/d/下载/115open/云下载/test.mkv"
�[31mERRO�[0m[2025-07-01 17:48:49] failed link /下载/115open/云下载/test.mkv: can't convert obj
failed get link
github.com/OpenListTeam/OpenList/v4/internal/op.Link.func1
/home/runner/work/OpenList/OpenList/internal/op/fs.go:268
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall.func2
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:193
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).doCall
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:195
github.com/OpenListTeam/OpenList/v4/pkg/singleflight.(*Group[...]).Do
/home/runner/work/OpenList/OpenList/pkg/singleflight/singleflight.go:108
github.com/OpenListTeam/OpenList/v4/internal/op.Link
/home/runner/work/OpenList/OpenList/internal/op/fs.go:284
github.com/OpenListTeam/OpenList/v4/internal/fs.link
/home/runner/work/OpenList/OpenList/internal/fs/link.go:18
github.com/OpenListTeam/OpenList/v4/internal/fs.Link
/home/runner/work/OpenList/OpenList/internal/fs/fs.go:53
github.com/OpenListTeam/OpenList/v4/server/handles.Down
/home/runner/work/OpenList/OpenList/server/handles/down.go:37
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.DownloadRateLimiter.func7
/home/runner/work/OpenList/OpenList/server/middlewares/limit.go:51
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.Down.func8
/home/runner/work/OpenList/OpenList/server/middlewares/down.go:40
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
/home/runner/work/OpenList/OpenList/server/middlewares/check.go:30
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:589
net/http.serverHandler.ServeHTTP
/opt/hostedtoolcache/go/1.24.4/x64/src/net/http/server.go:3301
net/http.(*conn).serve
/opt/hostedtoolcache/go/1.24.4/x64/src/net/http/server.go:2102
runtime.goexit
/opt/hostedtoolcache/go/1.24.4/x64/src/runtime/asm_amd64.s:1700
failed link

Reproduction Link (optional)

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions