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
39.38k stars 5.11k forks source link

下载APK MD5不匹配 #6573

Open sherardxu opened 3 weeks ago

sherardxu commented 3 weeks ago

Please make sure of the following things

AList Version / AList 版本

3.33.0

Driver used / 使用的存储驱动

本地存储

Describe the bug / 问题描述

本地存储驱动,手机端访问,下载APK,安装提示包无法解析,检查MD5与源文件不匹配

Reproduction / 复现链接

手机访问

Config / 配置

{ "force": false, "site_url": "", "cdn": "", "jwt_secret": "gi9PIfAGpMJ58pTE", "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": 8080, "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 }, "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": false, "port": 5246, "ssl": false } }

Logs / 日志

没有日志

welcome[bot] commented 3 weeks ago

Thanks for opening your first issue here! Be sure to follow the issue template!

pongfcnkl commented 3 weeks ago

不建议用多线程下载,比如via的多线程

sherardxu commented 3 weeks ago

不建议用多线程下载,比如via的多线程

使用华为手机浏览器下载,没用第三方浏览器

xygzy commented 3 weeks ago

我复现了同样的问题,我这边下载的是zip格式文件。似乎alist记住了某一个旧版本的文件,不管本地存储如何替换,始终下载的是这个旧版本。重启alist服务无效。