AlistGo / AlistGo/alist

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

Abierto
#7,706 0 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Go
Estrellas
50.2k
Forks
7.9k
Merge medio
7 d 21 h
PR fusionados (30 d)
6

Descripción

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
我已经阅读了[文档](https://alist.nn.ci)。

- [X] 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](https://alist.nn.ci/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host) ,`Dependencies` or `Operational`).
我确定是`AList`的问题,而不是其他原因(例如[网络](https://alist.nn.ci/zh/faq/howto.html#tls-handshake-timeout-read-connection-reset-by-peer-dns-lookup-failed-connect-connection-refused-client-timeout-exceeded-while-awaiting-headers-no-such-host),`依赖`或`操作`)。

- [X] 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](https://github.com/user-attachments/assets/21a8dbd5-0bf0-4696-bb97-c8050dc44367)
但在后台任务中该任务不存在
![image](https://github.com/user-attachments/assets/f9515437-a0da-481c-822d-781f2d962309)
文件大小较小(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]

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.