AlistGo / AlistGo/alist

docker运行的alist无法通过宿主机的qBittorrent离线下载

Abierto
#8,517 1 comentario 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或讨论。

- [x] 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

### Driver used / 使用的存储驱动

天翼网盘

### Describe the bug / 问题描述

qBittorrent -windows宿主机上
alist - docker上(用docker-compose管理)
提交离线下载后,qBittorrent的保存路径会直接变为
`/opt/alist/data/temp/qBittorrent`
windows无法识别。导致报错。更改了默认保存地址也不起作用
docker-compose里面映射没办法影响宿主机的qBittorrent

目前想到的解决方案是把qBittorrent也放在docker里。
能否增加一个指定下载路径的功能?

### Reproduction / 复现链接

### Config / 配置

```
services:
alist:
image: 'xhofe/alist:beta'
container_name: alist
volumes:
- './alist:/opt/alist/data'
ports:
- '5244:5244'
environment:
- PUID=0
- PGID=0
- UMASK=022
restart: unless-stopped
```

### Logs / 日志

```
(N) 2025-05-12T22:15:18 - 正在下载 Torrent,请稍等...来源:“http://192.168.0.200:5244/d/xxxxxx”
(N) 2025-05-12T22:15:18 - 添加了新 Torrent。Torrent:“咱们裸熊.第一季”
(N) 2025-05-12T22:15:19 - 已将 Torrent 移动加入队列。Torrent:“咱们裸熊.第一季”。源位置:“C:\Users\Administrator\Downloads\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f”。目标位置:“\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f”
(N) 2025-05-12T22:15:19 - 开始移动 Torrent。Torrent:“咱们裸熊.第一季”。目标位置:“\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f”
(W) 2025-05-12T22:15:19 - 移动 Torrent 失败。Torrent:“咱们裸熊.第一季”。源位置:“C:\Users\Administrator\Downloads\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f”。目标位置:“\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f”。原因:“咱们裸熊.第一季 storage move failed. mkdir (): 文件名、目录名或卷标语法不正确。”
(W) 2025-05-12T22:15:20 - 文件错误警报。Torrent:“咱们裸熊.第一季”。文件:“C:\Users\Administrator\Downloads\\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f\咱们裸熊.第一季\咱们裸熊.第一季.We.Bare.Bears.S01E20.2015.1080p.WEB-DL.HEVC.AAC.2.0-AGSVWEB.mp4”。原因:“咱们裸熊.第一季 mkdir (C:\Users\Administrator\Downloads\\opt\alist\data\temp\qBittorrent\7b86b1f8-d788-47a0-88bf-60a6cb77c24f\咱们裸熊.第一季\咱们裸熊.第一季.We.Bare.Bears.S01E20.2015.1080p.WEB-DL.HEVC.AAC.2.0-AGSVWEB.mp4) error: 文件名、目录名或卷标语法不正确。”
(N) 2025-05-12T22:15:21 - 正在下载 Torrent,请稍等...来源:“http://192.168.0.200:5244/d/%E5%A4%A9%E7%BF%BC%E7%BD%91%E7%9B%98/%E7%A7%8D%E5%AD%90/%5BM-TEAM%5D%E5%92%B1%E4%BB%AC%E8%A3%B8%E7%86%8A.%E7%AC%AC%E4%B8%80%E5%AD%A3.torrent?sign=bE1B7_iXEAx4OM8TiusrzJZYvC8dTXNkVq6HwbXV_Z8=:0”
(N) 2025-05-12T22:15:21 - 检测到添加重复 Torrent 的尝试。Tracker 合并被禁用。Torrent:咱们裸熊.第一季
```

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.