OpenListTeam / OpenListTeam/OpenList

[BUG] 多个任务qb离线下载完成了后openlist进度条错误

Open
#765 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
24.7k
Forks
2.3k
Avg merge
1d 20h
Merged PRs (30d)
36

Description

请确认以下事项
  • 我已确认阅读并同意 AGPL-3.0 第15条
    本程序不提供任何明示或暗示的担保,使用风险由您自行承担。

  • 我已确认阅读并同意 AGPL-3.0 第16条
    无论何种情况,版权持有人或其他分发者均不对使用本程序所造成的任何损失承担责任。

  • 我确认我的描述清晰,语法礼貌,能帮助开发者快速定位问题,并符合社区规则。

  • 我已确认阅读了OpenList文档

  • 我已确认没有重复的问题或讨论。

  • 我已确认是OpenList的问题,而不是其他原因(例如 网络依赖操作)。

  • 我认为此问题必须由OpenList处理,而非第三方。

  • 我已确认这个问题在最新版本中没有被修复。

OpenList 版本(必填)

latest

使用的存储驱动(必填)

本机存储

问题描述(必填)

我是用的最新版,debian12系统,官方脚本安装的openlist,使用的qb版本是4.6.7.10增强版,离线下载两个任务以上时,有极大概率遇到qb下载完成,但是openlist里面进度条满了但显示还在下载,先开始我以为是版本问题,但是换了debian官方自带的原版的4.4还有5.x版本都遇到了,导致我只能把离线下载任务设置成1,这是我的qb配置

oot@sdfkjshdfjksdfj:~/.config/qBittorrent# cat qBittorrent.conf
[Application]
FileLogger\Age=1
FileLogger\AgeType=1
FileLogger\Backup=true
FileLogger\DeleteOld=true
FileLogger\Enabled=true
FileLogger\MaxSizeBytes=66560
FileLogger\Path=/root/.local/share/qBittorrent/logs
MemoryWorkingSetLimit=1024
[AutoRun]
OnTorrentAdded\Enabled=false
OnTorrentAdded\Program=
enabled=false
program=
[BitTorrent]
Session\AddExtensionToIncompleteFiles=true
Session\AddTorrentStopped=false
Session\AdditionalTrackersURL=https://ngosang.github.io/trackerslist/trackers_best.txt
Session\AnonymousModeEnabled=true
Session\AutoBanBTPlayerPeer=true
Session\AutoBanUnknownPeer=true
Session\DefaultSavePath=/mnt/sd/Downloads
Session\Encryption=1
Session\ExcludedFileNames=
Session\GlobalMaxInactiveSeedingMinutes=30
Session\GlobalMaxRatio=0
Session\GlobalMaxSeedingMinutes=30
Session\Interface=eth0
Session\InterfaceName=eth0
Session\LSDEnabled=false
Session\MaxConnections=600
Session\MaxConnectionsPerTorrent=150
Session\MaxRatioAction=1
Session\MaxUploads=3
Session\MaxUploadsPerTorrent=2
Session\Port=38820
Session\Preallocation=true
Session\QueueingSystemEnabled=false
Session\SSL\Port=22660
Session\SeedChokingAlgorithm=AntiLeech
Session\ShareLimitAction=Remove
Session\Tags=openlist-isfWfMeIy1yboQeWuMgDv, openlist-Af7EUUxfQCbTLvbHv3C89, openlist-Bni41YFBOAieLxLwZyuOV, openlist-fWjpCRRGplBj6aNYnpd7q, openlist-75JHAuX1OCI6KsUFkDw4O, openlist-RwreM6GMp5qRjLUr2dvkR, openlist-0BMOkIbkEcFZxCQcOSpF3, openlist-ajd30Tcc4E0F2aCfHdFBP, openlist-RKilefDeve54qAA420PUP, openlist-39QdTOAcwTCzbDXZmY_x8, openlist-onOCF48sKPrOfwwWe69sg, openlist-wkn43cR7hoqcjpvQn8oDp, openlist-Du8QbA4d8icheWYsepFe1, openlist-LP2Q20URfv90am2uymc69, openlist-kw1q9A8GFhP6WEmQpBca4, nyaa top10
Session\TempPath=/mnt/sd/Downloads/temp
Session\TempPathEnabled=true
[Core]
AutoDeleteAddedTorrentFile=IfAdded
[LegalNotice]
Accepted=true
[Meta]
MigrationVersion=6
[Network]
PortForwardingEnabled=false
Proxy\HostnameLookupEnabled=false
Proxy\Profiles\BitTorrent=true
Proxy\Profiles\Misc=true
Proxy\Profiles\RSS=true
[Preferences]
Advanced\RecheckOnCompletion=false
Advanced\trackerPort=9000
Advanced\trackerPortForwarding=false
Bittorrent\CustomizeTrackersListUrl=https://ngosang.github.io/trackerslist/trackers_best.txt
Connection\ResolvePeerCountries=true
DynDNS\DomainName=changeme.dyndns.org
DynDNS\Enabled=false
DynDNS\Password=
DynDNS\Service=DynDNS
DynDNS\Username=
General\Locale=zh_CN
General\MigrateStatus=true
MailNotification\email=
MailNotification\enabled=false
MailNotification\password=
MailNotification\req_auth=true
MailNotification\req_ssl=false
MailNotification\sender=qBittorrent_notification@example.com
MailNotification\smtp_server=smtp.changeme.com
MailNotification\username=
WebUI\Address=127.0.0.1
WebUI\AlternativeUIEnabled=false
WebUI\AuthSubnetWhitelist=@Invalid()
WebUI\AuthSubnetWhitelistEnabled=false
WebUI\BanDuration=3600
WebUI\CSRFProtection=false
WebUI\ClickjackingProtection=false
WebUI\CustomHTTPHeaders=
WebUI\CustomHTTPHeadersEnabled=false
WebUI\HTTPS\CertificatePath=
WebUI\HTTPS\Enabled=false
WebUI\HTTPS\KeyPath=
WebUI\HostHeaderValidation=false
WebUI\LocalHostAuth=true
WebUI\MaxAuthenticationFailCount=5

WebUI\Port=18080
WebUI\ReverseProxySupportEnabled=false
WebUI\RootFolder=
WebUI\SecureCookie=false
WebUI\ServerDomains=*
WebUI\SessionTimeout=3600
WebUI\TrustedReverseProxiesList=
WebUI\UseUPnP=false
WebUI\Username=
[RSS]
AutoDownloader\DownloadRepacks=false
AutoDownloader\EnableProcessing=true
AutoDownloader\SmartEpisodeFilter=s(\\d+)e(\\d+), (\\d+)x(\\d+),
"(\\d{4}[.\\-]\\d{1,2}[.\\-]\\d{1,2})", "(\\d{1,2}[.\\-]\\d{1,2}[.\\-]\\d{4})"
Session\EnableProcessing=true
Session\MaxArticlesPerFeed=10
root@sdfkjshdfjksdfj:~/.config/qBittorrent#
配置文件内容(必填)
{
"force": false,
"site_url": "",
"cdn": "",
"jwt_secret": "",
"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": "",
"enable_h2c": false
},
"temp_dir": "/mnt/sd/caches/alist/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,
"max_concurrency": 64,
"tls_insecure_skip_verify": true,
"tasks": {
"download": {
"workers": 5,
"max_retry": 1,
"task_persistant": false
},
"transfer": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"upload": {
"workers": 5,
"max_retry": 0,
"task_persistant": false
},
"copy": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"move": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"decompress_upload": {
"workers": 5,
"max_retry": 2,
"task_persistant": false
},
"allow_retry_canceled": false
},
"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"
},
"last_launched_version": "v4.0.8"
}
日志(可选)

No response

复现链接(可选)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with multiple offline-download tasks using the supplied qBittorrent and OpenList configurations. Trace how qBittorrent completion is read and converted into OpenList task progress; done means concurrently completed tasks are reported as finished rather than remaining in a downloading state.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.