AlistGo / 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
43.77k stars 5.67k forks source link

启动后无法进入WEBUI #4887

Closed Gokou-Ruri closed 1 year ago

Gokou-Ruri commented 1 year ago

Please make sure of the following things

Alist Version / Alist 版本

3.24.0

Driver used / 使用的存储驱动

阿里云盘open

Describe the bug / 问题描述

启动后,在本机打开webui提示获取设置失败: 请稍候,正在加载储存。 命令提示符显示以下内容:

INFO[2023-08-01 09:32:13] reading config file: C:\alist-windows-amd64\data\config.json
INFO[2023-08-01 09:32:14] load config from env with prefix: ALIST_
INFO[2023-08-01 09:32:14] init logrus...
INFO[2023-08-01 09:32:14] start HTTP server @ 0.0.0.0:5244
INFO[2023-08-01 09:32:14] success load storage: [/阿里], driver: [AliyundriveOpen]
INFO[2023-08-01 09:32:15] success load storage: [/迅雷], driver: [Thunder]
INFO[2023-08-01 09:32:26] success load storage: [/百度], driver: [BaiduNetdisk]
INFO[2023-08-01 09:32:26] success load storage: [/阿里2], driver: [AliyundriveOpen]
INFO[2023-08-01 09:32:26] success load storage: [/百度2], driver: [WebDav]

之后就会一直卡在这里,即使等上一天也无法进入WEBUI。

Reproduction / 复现链接

Logs / 日志

log.log文件里的内容:

WARN[2023-08-01 09:32:14] not enable search                            
INFO[2023-08-01 09:32:14] using aria2 version: 1.36.0                  
[GIN] 2023/08/01 - 09:33:02 | 200 |            0s |       127.0.0.1 | GET      "/"
[GIN] 2023/08/01 - 09:33:05 | 200 |            0s |       127.0.0.1 | GET      "/api/public/settings"
[GIN] 2023/08/01 - 09:38:45 | 200 |            0s |       127.0.0.1 | GET      "/"
[GIN] 2023/08/01 - 09:38:46 | 200 |       752.5µs |       127.0.0.1 | GET      "/api/public/settings"
xialei123456 commented 1 year ago

老哥怎么解决的,求!!!

Gokou-Ruri commented 1 year ago

老哥怎么解决的,求!!!

打开alist的数据库,把有问题的存储项目disable就行了(从1改成0即可)。

PieJEed commented 1 year ago

修改了数据库的表里的disable列,甚至删除了有问题的存储都不行😥 最后只能重装