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

terabox 无法上传 #5189

Closed
4 tasks done
Sylphinford opened this issue Sep 7, 2023 · 2 comments
Closed
4 tasks done

terabox 无法上传 #5189

Sylphinford opened this issue Sep 7, 2023 · 2 comments
Labels
bug Something isn't working
Milestone

Comments

@Sylphinford
Copy link

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 版本

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

@Sylphinford Sylphinford added the bug Something isn't working label Sep 7, 2023
@github-actions
Copy link

github-actions bot commented Sep 7, 2023

@anwen-anyi
Copy link
Contributor

Stream


�[37mDEBU�[0m[2023-09-08 09:32:27]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
�[37mDEBU�[0m[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                    
�[37mDEBU�[0m[2023-09-08 09:32:27]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
�[37mDEBU�[0m[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 /                        
�[37mDEBU�[0m[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   
�[37mDEBU�[0m[2023-09-08 09:32:27]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[2023-09-08 09:32:27]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[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} 
�[37mDEBU�[0m[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            
�[31mERRO�[0m[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"

�[37mDEBU�[0m[2023-09-08 09:32:53]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
�[37mDEBU�[0m[2023-09-08 09:32:53]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
�[37mDEBU�[0m[2023-09-08 09:32:53]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[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} 
�[37mDEBU�[0m[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] 
�[37mDEBU�[0m[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


�[37mDEBU�[0m[2023-09-08 09:37:07]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
�[37mDEBU�[0m[2023-09-08 09:37:08]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
�[37mDEBU�[0m[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    
�[37mDEBU�[0m[2023-09-08 09:37:08]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
�[37mDEBU�[0m[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 /                        
�[37mDEBU�[0m[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 
�[37mDEBU�[0m[2023-09-08 09:37:08]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[2023-09-08 09:37:08]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[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} 
�[37mDEBU�[0m[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 
�[31mERRO�[0m[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"

�[37mDEBU�[0m[2023-09-08 09:37:13]/source/internal/op/path.go:25 github.com/alist-org/alist/v3/internal/op.GetStorageAndActualPath() use storage:  /Terabox                       
�[37mDEBU�[0m[2023-09-08 09:37:13]/source/internal/op/fs.go:100 github.com/alist-org/alist/v3/internal/op.List() op.List /                                    
�[37mDEBU�[0m[2023-09-08 09:37:13]/source/internal/op/fs.go:159 github.com/alist-org/alist/v3/internal/op.Get() op.Get /                                     
�[37mDEBU�[0m[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} 
�[37mDEBU�[0m[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] 
�[37mDEBU�[0m[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

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

3 participants