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

访问本机存储的文件夹会使 AList 停止运行 #6567

Open jibukeshi opened 4 weeks ago

jibukeshi commented 4 weeks ago

Please make sure of the following things

AList Version / AList 版本

v3.35.0

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

安卓 10 Termux 运行 AList ,挂载本机存储驱动,在浏览器访问本机存储的文件夹后 AList 立即停止运行并抛出以下报错。使用多个版本都能复现。使用其他存储驱动正常。

报错日志:https://igdux.top/4Jye (过长,issue 里放不下)

下面是录屏。

https://github.com/alist-org/alist/assets/126877770/576e52b5-97e1-4d4a-a0c0-135441ff17eb

Reproduction / 复现链接

暂无,因为访问此链接会导致 AList 直接停止运行。此链接在 AList 中已经被我设置为隐藏(只有我能查看),因为我不希望别人使我的 AList 停止运行。

Config / 配置

{ "id": 7, "mount_path": "/Redmi 4X 内部储存", "order": 0, "driver": "Local", "cache_expiration": 0, "status": "work", "addition": "{\"root_folder_path\":\"/sdcard\",\"thumbnail\":false,\"thumb_cache_folder\":\"\",\"show_hidden\":true,\"mkdir_perm\":\"777\",\"recycle_bin_path\":\"\"}", "remark": "", "modified": "2024-05-12T05:46:12.466444106Z", "disabled": false, "enable_sign": false, "order_by": "", "order_direction": "", "extract_folder": "front", "web_proxy": false, "webdav_policy": "native_proxy", "down_proxy_url": "" },

Screenshot_2024-06-02-20-58-47-620_com yjllq kito Screenshot_2024-06-02-20-58-51-431_com yjllq kito

Logs / 日志

过长,issue 里放不下,请前往 https://igdux.top/4Jye 查看

welcome[bot] commented 4 weeks ago

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

pongfcnkl commented 4 weeks ago

手动替换djherbis/times包为 jing332/times应该就行了,参考https://github.com/jing332/AListFlutter/issues/30 在go.mod文件里最后一行加上replace github.com/djherbis/times v1.6.0 => github.com/jing332/times