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

上传时选择作为任务,但后台任务找不到 #7706

Open
3 of 4 tasks
LastNever opened this issue Dec 25, 2024 · 0 comments
Open
3 of 4 tasks

上传时选择作为任务,但后台任务找不到 #7706

LastNever opened this issue Dec 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

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

v3.41.0

Driver used / 使用的存储驱动

本地磁盘

Describe the bug / 问题描述

上传时选择了作为任务上传,请求中标题as-task 为true
image
但在后台任务中该任务不存在
image
文件大小较小(2g)时似乎是正常的
以上上传文件为40多个g
切换上传stream和form 均已尝试,以上文件均未出现在任务列表
已修改配置文件task_persistant为ture无效

Reproduction / 复现链接

没有公网

Config / 配置

docker-compose.yml
version: '3.3'
services:
alist:
image: 'xhofe/alist:latest'
container_name: alist
volumes:
- './data:/opt/alist/data'
- '/mnt/d/alist:/d'
ports:
- '809:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
- "TZ=Asia/Shanghai"
restart: unless-stopped

配置文件config.json
{
"force": true,
"site_url": "",
"cdn": "",
"jwt_secret": "j1WXxGVBr22HwCpu",
"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": true
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": true
}
},
"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"
}
}

Logs / 日志

text deadline exceeded
2024-12-25T03:01:34.033669286Z INFO[2024-12-25 11:01:34] reading config file: data/con fig.json
2024-12-25T03:01:34.035282822Z INFO[2024-12-25 11:01:34] init logrus...
2024-12-25T03:01:34.054316743Z WARN[2024-12-25 11:01:34] init tool aria2 failed: faile d get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: connec t: connection refused
2024-12-25T03:01:34.054345007Z INFO[2024-12-25 11:01:34] init tool SimpleHttp success: ok
2024-12-25T03:01:34.054347525Z INFO[2024-12-25 11:01:34] init tool pikpak success: ok
2024-12-25T03:01:34.055457165Z WARN[2024-12-25 11:01:34] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp [::1]:8080: connect: connect ion refused
2024-12-25T03:01:34.056019248Z WARN[2024-12-25 11:01:34] init tool transmission failed : failed get transmission version: can't get session values: 'session-get' rpc method failed: failed to execute HTTP request: Post "http://localhost:9091/transmission/rpc": dial tcp [::1]:9091: connect: connection refused
2024-12-25T03:01:34.056029456Z INFO[2024-12-25 11:01:34] init tool 115 Cloud success: ok
2024-12-25T03:01:34.058172482Z INFO[2024-12-25 11:01:34] start HTTP server @ 0.0.0.0:5 244
2024-12-25T03:01:34.058651598Z INFO[2024-12-25 11:01:34] success load storage: [/test] , driver: [Local], order: [0]
2024-12-25T03:01:34.059321675Z INFO[2024-12-25 11:01:34] success load storage: [/share ], driver: [WebDav], order: [0]

@LastNever LastNever added the bug Something isn't working label Dec 25, 2024
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

1 participant