AlistGo / AlistGo/alist

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

Abierto
#8,160 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
50.2k
Forks
7.9k
Merge medio
7 d 21 h
PR fusionados (30 d)
6

Descripción

### 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.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](https://img.hpp.pw/file/1742236236328_IMG_20250318_022135.jpg)

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

### Reproduction / 复现链接

### Config / 配置

### Logs / 日志

[31mERRO[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/gin@v1.10.0/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/gin@v1.10.0/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/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/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"
ERRO[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/gin@v1.10.0/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/gin@v1.10.0/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/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/gin.go:633
github.com/gin-gonic/gin.(*Engine).ServeHTTP
/home/runner/go/pkg/mod/github.com/gin-gonic/gin@v1.10.0/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"

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.