Skip to content

[BUG] 百度网盘覆盖文件出现Req: [https://pan.baidu.com/rest/2.0/xpan/file] ,errno: 12, refer to https://pan.baidu.com/union/doc/ #2413

@nxygen

Description

@nxygen

请确认以下事项

  • 我已确认阅读并同意 AGPL-3.0 第15条
    本程序不提供任何明示或暗示的担保,使用风险由您自行承担。

  • 我已确认阅读并同意 AGPL-3.0 第16条
    无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。

  • 我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。

  • 我已确认阅读了OpenList文档

  • 我已确认没有重复的问题或讨论。

  • 我已确认是OpenList的问题,而不是其他原因(例如 网络依赖操作)。

  • 我认为此问题必须由OpenList处理,而非第三方。

  • 我已确认这个问题在最新版本中没有被修复。

  • 我没有阅读这个清单,只是闭眼选中了所有的复选框,请关闭这个 Issue 。

OpenList 版本(必填)

v4.2.1 (Commit: 8d39d63) - Frontend: v4.2.1 - Build at: 2026-04-09 14:32:12 +0000

使用的存储驱动(必填)

百度网盘

问题描述(必填)

覆盖移动文件出现错误

Image

日志(必填)

�[31mERRO�[0m[2026-04-27 19:53:12] failed move /Baidunetdisk/我的资源/03.零基础阶段 to /Baidunetdisk/我的资源/02.(七期)2027考研数学二专属VIP班: req: [https://pan.baidu.com/rest/2.0/xpan/file] ,errno: 12, refer to https://pan.baidu.com/union/doc/
github.com/OpenListTeam/OpenList/v4/internal/op.Move
	/source/internal/op/fs.go:409
github.com/OpenListTeam/OpenList/v4/internal/fs.transfer
	/source/internal/fs/copy_move.go:123
github.com/OpenListTeam/OpenList/v4/internal/fs.Move
	/source/internal/fs/fs.go:72
github.com/OpenListTeam/OpenList/v4/server/handles.FsMove
	/source/server/handles/fsmanage.go:145
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.Auth.func10
	/source/server/middlewares/auth.go:74
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
	/source/server/middlewares/check.go:35
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:644
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:600
net/http.serverHandler.ServeHTTP
	/usr/local/go/src/net/http/server.go:3340
net/http.(*conn).serve
	/usr/local/go/src/net/http/server.go:2109
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1693 
[GIN] 2026/04/27 - 19:53:12 | 200 |  4.018299447s |       10.2.0.15 | POST     "/api/fs/move"
[GIN] 2026/04/27 - 19:53:58 | 200 |  383.419836ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:07 | 200 |  455.700993ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:11 | 200 |     344.928µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:56:11 | 200 |     151.142µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:56:11 | 200 |     334.536µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:56:11 | 200 |     208.607µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:56:14 | 200 |  318.507984ms |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:56:17 | 200 |  624.575308ms |       10.2.0.15 | POST     "/api/fs/move"
[GIN] 2026/04/27 - 19:56:17 | 200 |     300.859µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:21 | 200 |  302.103105ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:22 | 200 |     873.824µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:27 | 200 |     301.043µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:56:28 | 200 |   323.67106ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:38 | 200 |  541.079435ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:44 | 200 |     235.481µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:46 | 200 |   285.31662ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:48 | 200 |     229.559µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:48 | 200 |  258.640466ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:49 | 200 |     216.924µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:50 | 200 |   394.60426ms |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:53 | 200 |     204.515µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:57:56 | 200 |     499.967µs |       10.2.0.15 | POST     "/api/fs/list"
[GIN] 2026/04/27 - 19:58:02 | 200 |     480.216µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:58:02 | 200 |     154.424µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:58:02 | 200 |     185.988µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:58:02 | 200 |     159.756µs |       10.2.0.15 | POST     "/api/fs/dirs"
[GIN] 2026/04/27 - 19:58:03 | 200 |     181.126µs |       10.2.0.15 | POST     "/api/fs/dirs"
�[31mERRO�[0m[2026-04-27 19:58:12] failed move /Baidunetdisk/我的资源/03.零基础阶段 to /Baidunetdisk/我的资源/02.(七期)2027考研数学二专属VIP班: req: [https://pan.baidu.com/rest/2.0/xpan/file] ,errno: 12, refer to https://pan.baidu.com/union/doc/
github.com/OpenListTeam/OpenList/v4/internal/op.Move
	/source/internal/op/fs.go:409
github.com/OpenListTeam/OpenList/v4/internal/fs.transfer
	/source/internal/fs/copy_move.go:123
github.com/OpenListTeam/OpenList/v4/internal/fs.Move
	/source/internal/fs/fs.go:72
github.com/OpenListTeam/OpenList/v4/server/handles.FsMove
	/source/server/handles/fsmanage.go:145
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server.Init.Auth.func10
	/source/server/middlewares/auth.go:74
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/OpenListTeam/OpenList/v4/server/middlewares.StoragesLoaded
	/source/server/middlewares/check.go:35
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/recovery.go:102
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.LoggerWithConfig.func1
	/go/pkg/mod/github.com/gin-gonic/[email protected]/logger.go:249
github.com/gin-gonic/gin.(*Context).Next
	/go/pkg/mod/github.com/gin-gonic/[email protected]/context.go:185
github.com/gin-gonic/gin.(*Engine).handleHTTPRequest
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:644
github.com/gin-gonic/gin.(*Engine).ServeHTTP
	/go/pkg/mod/github.com/gin-gonic/[email protected]/gin.go:600
net/http.serverHandler.ServeHTTP
	/usr/local/go/src/net/http/server.go:3340
net/http.(*conn).serve
	/usr/local/go/src/net/http/server.go:2109
runtime.goexit
	/usr/local/go/src/runtime/asm_amd64.s:1693 

配置文件内容(必填)

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "******",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "****",
    "name": "",
    "db_file": "/vol1/@appdata/OpenList/data/data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index": "openlist"
  },
  "scheme": {
    "address": "0.0.0.0",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": "",
    "enable_h2c": false,
    "enable_h3": false
  },
  "temp_dir": "/vol1/@appdata/OpenList/data/temp",
  "bleve_dir": "/vol1/@appdata/OpenList/data/bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "/vol1/@appdata/OpenList/data/log/log.log",
    "max_size": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false,
    "filter": {
      "enable": false,
      "filters": [
        {
          "cidr": "",
          "path": "/ping",
          "method": ""
        },
        {
          "cidr": "",
          "path": "",
          "method": "HEAD"
        },
        {
          "cidr": "",
          "path": "/dav/",
          "method": "PROPFIND"
        }
      ]
    }
  },
  "delayed_start": 0,
  "max_buffer_limitMB": -1,
  "mmap_thresholdMB": 4,
  "max_connections": 0,
  "max_concurrency": 64,
  "tls_insecure_skip_verify": false,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1,
      "task_persistant": false
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "move": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "decompress": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "decompress_upload": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": false
    },
    "allow_retry_canceled": false
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  },
  "ftp": {
    "enable": false,
    "listen": ":5221",
    "find_pasv_port_attempts": 50,
    "active_transfer_port_non_20": false,
    "idle_timeout": 900,
    "connection_timeout": 30,
    "disable_active_mode": false,
    "default_transfer_binary": false,
    "enable_active_conn_ip_check": true,
    "enable_pasv_conn_ip_check": true
  },
  "sftp": {
    "enable": false,
    "listen": ":5222"
  },
  "last_launched_version": "v4.2.1",
  "proxy_address": ""
}

复现链接(可选)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions