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
41.92k stars 5.41k forks source link

AList S3上传 #7071

Open CJA-OS opened 3 weeks ago

CJA-OS commented 3 weeks ago

Please make sure of the following things

AList Version / AList 版本

v3.36.0

Driver used / 使用的存储驱动

天翼云盘客户端

Describe the bug / 问题描述

屏幕截图 2024-08-24 103456 S3 获取列表、下载、删除 等功能可以正常使用,无法上传,翻看代码发现S3代码部分被注释掉了,原本应返回文件hash,却返回了"",除此之外还有很多代码被注释 image 这个问题似乎从AList添加S3功能到现在的版本中都存在

Reproduction / 复现链接

没有链接

Config / 配置

{ "force": false, "site_url": "", "cdn": "", "jwt_secret": "rKjOTnIJjPJ23Uw9", "token_expires_in": 48, "database": { "type": "sqlite3", "host": "", "port": 0, "user": "", "password": "", "name": "", "db_file": "data/data.db", "tableprefix": "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": "", "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 }, "transfer": { "workers": 5, "max_retry": 2 }, "upload": { "workers": 5, "max_retry": 0 }, "copy": { "workers": 5, "max_retry": 2 } }, "cors": { "allow_origins": [ "" ], "allow_methods": [ "" ], "allow_headers": [ "*" ] }, "s3": { "enable": true, "port": 5426, "ssl": false } }

Logs / 日志

No response

github-actions[bot] commented 3 weeks ago

See

  1. 69% #4530
  2. 55% #4110
  3. 54% #5684
  4. 54% #4241
  5. 53% #7008
  6. 53% #6256
  7. 52% #6042
  8. 52% #5110
  9. 52% #4457
  10. 52% #3154
  11. 51% #1977
  12. 51% #1966
  13. 50% #5822
  14. 50% #5694
  15. 50% #4784
  16. 50% #3728
  17. 50% #3402
  18. 50% #3382
pongfcnkl commented 3 weeks ago

s3不支持上传 文档里写着

CJA-OS commented 3 weeks ago

s3不支持上传 文档里写着

image 支持上传