alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
42.46k stars 5.49k forks source link

terabox 无法上传 #5189

Closed Sylphinford closed 1 year ago

Sylphinford commented 1 year ago

Please make sure of the following things

AList Version / AList 版本

alist v3.27.0-windows-amd64

Driver used / 使用的存储驱动

terabox

Describe the bug / 问题描述

上传文件到terabox, 无论是webdav还是网页上传,都不能上传。 虽然显示了上传成功,但目标网盘里没有文件。

Reproduction / 复现链接

在网页版alist打开对应的terabox目录 选取1个文件上传 打开data\temp文件夹能看到文件正在被复制到临时目录 完成复制的瞬间,临时目录里的文件消失,网页版窗口显示 :成功 在terabox对应的目录下没有刚上传的文件。

Config / 配置

{
  "force": false,
  "site_url": "",
  "cdn": "",
  "jwt_secret": "UEZ8SreyqooVEyar",
  "token_expires_in": 48,
  "database": {
    "type": "sqlite3",
    "host": "",
    "port": 0,
    "user": "",
    "password": "",
    "name": "",
    "db_file": "data\\data.db",
    "table_prefix": "x_",
    "ssl_mode": ""
  },
  "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",
  "log": {
    "enable": true,
    "name": "data\\log\\log.log",
    "max_size": 10,
    "max_backups": 5,
    "max_age": 28,
    "compress": false
  },
  "delayed_start": 0,
  "max_connections": 0,
  "tls_insecure_skip_verify": true
}

20230907104452

Logs / 日志

No response

github-actions[bot] commented 1 year ago

See

  1. 61% #3017
anwen-anyi commented 1 year ago

Stream


DEBU[2023-09-08 09:32:27]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /typora-setup补丁.7z                    
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:104 github.com/alist-org/alist/v3/internal/op.List() use cache when list /                        
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:218 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: typora-setup补丁.7z   
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:32:27]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:32:46]/source/drivers/terabox/driver.go:170 github.com/alist-org/alist/v3/drivers/terabox.(*Terabox).Put() {Path: Uploadid: ReturnType:0 BlockList:[] Errno:4000023} 
DEBU[2023-09-08 09:32:46]/source/internal/op/fs.go:547 github.com/alist-org/alist/v3/internal/op.Put() put file [typora-setup补丁.7z] done            
ERRO[2023-09-08 09:32:46]/source/internal/op/fs.go:489 github.com/alist-org/alist/v3/internal/op.Put.func1() failed to close file streamer, close C:\Users\Administrator\Desktop\Misc improvements\data\temp\file-2685227476: file already closed 
[GIN] 2023/09/08 - 09:32:46 | 200 |   19.1220937s |       127.0.0.1 | PUT      "/api/fs/put"

DEBU[2023-09-08 09:32:53]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
DEBU[2023-09-08 09:32:53]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
DEBU[2023-09-08 09:32:53]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:32:53]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() list dir: &{ID: Path:/ Name:root Size:0 Modified:2023-09-08 09:31:05.8979243 +0800 CST m=+634.184273201 Ctime:0001-01-01 00:00:00 +0000 UTC IsFolder:true HashInfo:null} 
DEBU[2023-09-08 09:32:54]/source/internal/op/fs.go:144 github.com/alist-org/alist/v3/internal/op.List.func1() set cache: /Terabox => [0xc000a793c0 0xc000a793e0] 
DEBU[2023-09-08 09:32:54]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
[GIN] 2023/09/08 - 09:32:54 | 200 |    444.0254ms |       127.0.0.1 | POST     "/api/fs/list"

Form


DEBU[2023-09-08 09:37:07]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
DEBU[2023-09-08 09:37:08]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /MSVCredistPackage_3.2.23.0809.exe    
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:104 github.com/alist-org/alist/v3/internal/op.List() use cache when list /                        
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:218 github.com/alist-org/alist/v3/internal/op.Get() cant find obj with name: MSVCredistPackage_3.2.23.0809.exe 
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:37:08]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:37:09]/source/drivers/terabox/driver.go:170 github.com/alist-org/alist/v3/drivers/terabox.(*Terabox).Put() {Path: Uploadid: ReturnType:0 BlockList:[] Errno:4000023} 
DEBU[2023-09-08 09:37:09]/source/internal/op/fs.go:547 github.com/alist-org/alist/v3/internal/op.Put() put file [MSVCredistPackage_3.2.23.0809.exe] done 
ERRO[2023-09-08 09:37:09]/source/internal/op/fs.go:489 github.com/alist-org/alist/v3/internal/op.Put.func1() failed to close file streamer, close C:\Users\Administrator\Desktop\Misc improvements\data\tempfile-fXoOJ1qk: file already closed 
[GIN] 2023/09/08 - 09:37:09 | 200 |    2.5751473s |       127.0.0.1 | PUT      "/api/fs/form"

DEBU[2023-09-08 09:37:13]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
DEBU[2023-09-08 09:37:13]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
DEBU[2023-09-08 09:37:13]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
DEBU[2023-09-08 09:37:13]/source/internal/op/fs.go:112 github.com/alist-org/alist/v3/internal/op.List() list dir: &{ID: Path:/ Name:root Size:0 Modified:2023-09-08 09:31:05.8979243 +0800 CST m=+634.184273201 Ctime:0001-01-01 00:00:00 +0000 UTC IsFolder:true HashInfo:null} 
DEBU[2023-09-08 09:37:13]/source/internal/op/fs.go:144 github.com/alist-org/alist/v3/internal/op.List.func1() set cache: /Terabox => [0xc000a79380 0xc000a79400] 
DEBU[2023-09-08 09:37:13]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
[GIN] 2023/09/08 - 09:37:13 | 200 |    528.0302ms |       127.0.0.1 | POST     "/api/fs/list"

image