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

谷歌云盘团队盘无法移动文件! #8160

Open
4 tasks done
The-GO opened this issue Mar 17, 2025 · 0 comments
Open
4 tasks done

谷歌云盘团队盘无法移动文件! #8160

The-GO opened this issue Mar 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@The-GO
Copy link

The-GO commented Mar 17, 2025

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.43.0

Driver used / 使用的存储驱动

谷歌云盘

Describe the bug / 问题描述

我是这个团队盘的管理员,在Google Drive官网进行操作没有任何问题。使用Alist挂载了谷歌云盘的团队盘,把文件移动到文件夹里或者把文件从文件夹里移出都会报错,复制没有问题。右上角显示

A shared drive item must have exactly one parent.: [{global teamDrivesParentLimit A shared drive item must have exactly one parent. }]

IMG_20250318_022135.jpg

如果挂载的是谷歌云盘个人盘的话,移动和复制都没有问题,希望可以修复一下,谢谢!

Reproduction / 复现链接

Config / 配置

Logs / 日志

[31mERRO�[0m[2025-03-18 02:17:39] failed move /ggdrive/upload.sh to /ggdrive/工具: A shared drive item must have exactly one parent.: [{global teamDrivesParentLimit A shared drive item must have exactly one parent. }]
github.com/alist-org/alist/v3/internal/op.Move
/home/runner/work/alist/alist/internal/op/fs.go:394
github.com/alist-org/alist/v3/internal/fs.move
/home/runner/work/alist/alist/internal/fs/other.go:32
github.com/alist-org/alist/v3/internal/fs.Move
/home/runner/work/alist/alist/internal/fs/fs.go:66
github.com/alist-org/alist/v3/server/handles.FsMove
/home/runner/work/alist/alist/server/handles/fsmanage.go:99
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/home/runner/work/alist/alist/server/middlewares/auth.go:73
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/home/runner/work/alist/alist/server/middlewares/check.go:14
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.1/x64/src/net/http/server.go:3301
net/http.(*conn).serve
/opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2102
runtime.goexit
/opt/hostedtoolcache/go/1.24.1/x64/src/runtime/asm_arm64.s:1223
[GIN] 2025/03/18 - 02:17:39 | 200 | 1.401814395s | 123.123.123.129 | POST "/api/fs/move"
�[31mERRO�[0m[2025-03-18 02:17:47] failed move /ggdrive/upload.sh to /ggdrive/工具: A shared drive item must have exactly one parent.: [{global teamDrivesParentLimit A shared drive item must have exactly one parent. }]
github.com/alist-org/alist/v3/internal/op.Move
/home/runner/work/alist/alist/internal/op/fs.go:394
github.com/alist-org/alist/v3/internal/fs.move
/home/runner/work/alist/alist/internal/fs/other.go:32
github.com/alist-org/alist/v3/internal/fs.Move
/home/runner/work/alist/alist/internal/fs/fs.go:66
github.com/alist-org/alist/v3/server/handles.FsMove
/home/runner/work/alist/alist/server/handles/fsmanage.go:99
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.Auth
/home/runner/work/alist/alist/server/middlewares/auth.go:73
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/alist-org/alist/v3/server/middlewares.StoragesLoaded
/home/runner/work/alist/alist/server/middlewares/check.go:14
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.1/x64/src/net/http/server.go:3301
net/http.(*conn).serve
/opt/hostedtoolcache/go/1.24.1/x64/src/net/http/server.go:2102
runtime.goexit
/opt/hostedtoolcache/go/1.24.1/x64/src/runtime/asm_arm64.s:1223
[GIN] 2025/03/18 - 02:17:47 | 200 | 1.517859233s | 123.123.123.129 | POST "/api/fs/move"

@The-GO The-GO added the bug Something isn't working label Mar 17, 2025
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