alist icon indicating copy to clipboard operation
alist copied to clipboard

v3.37.4版本-本地文件复制到115网盘报错: 请升级到最新版本: unexpected error

Open crtf1999 opened this issue 2 years ago • 25 comments

Please make sure of the following things

  • [X] I have read the documentation. 我已经阅读了文档。

  • [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 ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络,依赖或操作)。

  • [X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.37.4

Driver used / 使用的存储驱动

115

Describe the bug / 问题描述

  • 版本
# ./alist version
Built At: 2024-09-18 17:25:13 +0000
Go Version: go1.22.4 linux/amd64
Author: Xhofe <[email protected]>
Commit ID: 6106a2d4
Version: v3.37.4
WebVersion: 3.37.1
  • 问题

2024-10-11 11:00:00 再次出现下面的问题

v3.37.3版本-本地文件复制到115网盘报错: 请升级到最新版本: unexpected error

Reproduction / 复现链接

添加115存储,更新cookies.

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "lk49e1hyMEoDNoBH",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data/data.db",
    "table_prefix": "x_",
    "ssl_mode": "",
    "dsn": ""
  },
  "meilisearch": {
    "host": "http://localhost:7700",
    "api_key": "",
    "index_prefix": ""
  },
  "scheme": {
    "address": "0.0.0.0",
    "http_port": 5244,
    "https_port": -1,
    "force_https": false,
    "cert_file": "",
    "key_file": "",
    "unix_file": "",
    "unix_file_perm": ""
  },
  "temp_dir": "data/temp",
  "bleve_dir": "data/bleve",
  "dist_dir": "",
  "log": {
    "enable": true,
    "name": "data/log/log.log",
    "max_size": 50,
    "max_backups": 30,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true,
  "tasks": {
    "download": {
      "workers": 5,
      "max_retry": 1,
      "task_persistant": true
    },
    "transfer": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    },
    "upload": {
      "workers": 5,
      "max_retry": 0,
      "task_persistant": false
    },
    "copy": {
      "workers": 5,
      "max_retry": 2,
      "task_persistant": true
    }
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "s3": {
    "enable": false,
    "port": 5246,
    "ssl": false
  }
}

Logs / 日志

^[[31mERRO^[[0m[2024-10-11 13:23:00] COPY /dav/local/live/biliup/upload/2024-10-11/小妤儿/小妤儿.2024-10-11 09_05_01.ing.flv unexpected error
github.com/SheltonZhu/115driver/pkg/driver.init
        <autogenerated>:1
runtime.doInit1
        /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:7176
runtime.doInit
        /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:7143
runtime.main
        /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/proc.go:253
runtime.goexit
        /home/runner/go/pkg/mod/golang.org/[email protected]/src/runtime/asm_amd64.s:1695
请升级到最新版本
github.com/SheltonZhu/115driver/pkg/driver.GetErr
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/[email protected]/pkg/driver/error.go:143
github.com/SheltonZhu/115driver/pkg/driver.(*UploadInitResp).Err
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/[email protected]/pkg/driver/response.go:182
github.com/SheltonZhu/115driver/pkg/driver.CheckErr
        /home/runner/go/pkg/mod/github.com/!shelton!zhu/[email protected]/pkg/driver/error.go:154
github.com/alist-org/alist/v3/drivers/115.(*Pan115).rapidUpload
        /home/runner/work/alist/alist/drivers/115/util.go:215
github.com/alist-org/alist/v3/drivers/115.(*Pan115).Put
        /home/runner/work/alist/alist/drivers/115/driver.go:167
github.com/alist-org/alist/v3/internal/op.Put
        /home/runner/work/alist/alist/internal/op/fs.go:561
github.com/alist-org/alist/v3/internal/fs._copy
        /home/runner/work/alist/alist/internal/fs/copy.go:91
github.com/alist-org/alist/v3/internal/fs.Copy
        /home/runner/work/alist/alist/internal/fs/fs.go:73
github.com/alist-org/alist/v3/server/webdav.copyFiles
        /home/runner/work/alist/alist/server/webdav/file.go:59
github.com/alist-org/alist/v3/server/webdav.(*Handler).handleCopyMove
        /home/runner/work/alist/alist/server/webdav/webdav.go:477
github.com/alist-org/alist/v3/server/webdav.(*Handler).ServeHTTP
        /home/runner/work/alist/alist/server/webdav/webdav.go:70
github.com/alist-org/alist/v3/server.ServeWebDAV
        /home/runner/work/alist/alist/server/webdav.go:46
...

crtf1999 avatar Oct 11 '24 05:10 crtf1999

See

  1. 99% #7198

github-actions[bot] avatar Oct 11 '24 05:10 github-actions[bot]

+1

KeithW0726 avatar Oct 11 '24 05:10 KeithW0726

+1

jiangtao-guo avatar Oct 11 '24 06:10 jiangtao-guo

+1,前几天还好的

karasfjm avatar Oct 11 '24 06:10 karasfjm

Brown UA今天变了 改UA版本就可以 image 之前是27.0.3.7,现在是27.0.5.7

Y-ASLant avatar Oct 11 '24 06:10 Y-ASLant

Brown UA今天变了 改UA版本就可以 image 之前是27.0.3.7,现在是27.0.5.7

在哪儿改? 需要克隆重新编译? 这一行?https://github.com/alist-org/alist/blob/5f19d73fcc57d85c6d40753f823867c534b45b36/drivers/115/util.go#L77

fgr178707 avatar Oct 11 '24 08:10 fgr178707

+1,且我记得上次115driver更新添加了动态获取版本号的

brainiac19 avatar Oct 11 '24 09:10 brainiac19

+1

maxlee123456 avatar Oct 11 '24 10:10 maxlee123456

+1,昨天都还能用,刚才用阿里转到115就报错了

iumuu avatar Oct 11 '24 10:10 iumuu

能丢个编译好的支持的吗

tnanice avatar Oct 11 '24 10:10 tnanice

+1

wixb50 avatar Oct 11 '24 11:10 wixb50

+1

tlzwss avatar Oct 11 '24 11:10 tlzwss

+1

gitcook avatar Oct 11 '24 11:10 gitcook

+1

Espen-Lee avatar Oct 11 '24 11:10 Espen-Lee

+1

bilibili2077 avatar Oct 11 '24 12:10 bilibili2077

建议这个配置写到配置文件里 或者能通过环境变量覆盖, 或者能直接在115drive那修改, 老是这样也不是事啊, 都好几次了。

chivehao avatar Oct 11 '24 12:10 chivehao

115挂了

gitcook avatar Oct 11 '24 12:10 gitcook

看了说明也不会改 在什么位置改 也没找到 老大 能尽快更新下吗 非常感谢

cnpilot avatar Oct 11 '24 13:10 cnpilot

看了说明也不会改 在什么位置改 也没找到 老大 能尽快更新下吗 非常感谢

不用急了,115又挂了,估计恢复后ALIST也要更新

karasfjm avatar Oct 11 '24 13:10 karasfjm

简单修复下,应该可以上传了 https://github.com/pongfcnkl/alist/actions/runs/11293555186

pongfcnkl avatar Oct 11 '24 14:10 pongfcnkl