手动安装 | AList文档 (nn.ci)
为可执行程序alist.exe
配置Path变量或者取别名
执行alist server
初始化
根据需要可以修改密码:alist admin set
alist会默认在5244端口启动服务
http:\\localhost:5244
admin
,密码默认是随机密码,可以自行指定)failed get objs: failed to list objs: InvalidParameter.ParentFileId:The input parameter parent_file_id is not valid. for cpp path domain parent_file_id is required
路径问题,考虑删除旧配置重新添加
初次配置启动服务
PS C:\Users\cxxu\Desktop> alist server
INFO[2024-01-13 20:02:54] reading config file: data\config.json
INFO[2024-01-13 20:02:54] load config from env with prefix: ALIST_
INFO[2024-01-13 20:02:54] init logrus...
WARN[2024-01-13 20:02:54] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-01-13 20:02:54] init tool SimpleHttp success: ok
WARN[2024-01-13 20:02:54] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-01-13 20:02:54] start HTTP server @ 0.0.0.0:5244
INFO[2024-01-13 20:25:47] Shutdown server...
INFO[2024-01-13 20:25:47] Server exit
成功挂在某个网盘后(以阿里云盘opne)为例,再次启动服务,输出:
PS C:\Users\cxxu\Desktop> alist server
INFO[2024-01-13 20:25:52] reading config file: data\config.json
INFO[2024-01-13 20:25:52] load config from env with prefix: ALIST_
INFO[2024-01-13 20:25:52] init logrus...
WARN[2024-01-13 20:25:52] init tool aria2 failed: failed get aria2 version: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-01-13 20:25:52] init tool SimpleHttp success: ok
WARN[2024-01-13 20:25:52] init tool qBittorrent failed: Post "http://localhost:8080/api/v2/auth/login": dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
INFO[2024-01-13 20:25:52] start HTTP server @ 0.0.0.0:5244
INFO[2024-01-13 20:25:52] success load storage: [/AliyunDrive], driver: [AliyundriveOpen]
可以发现,alist可以自动将上次挂载的云盘重新挂载
PS ️18:01:06 [C:\share] 100% alist admin set 1212
INFO[2024-02-10 18:01:13] reading config file: data\config.json
INFO[2024-02-10 18:01:13] load config from env with prefix: ALIST_
INFO[2024-02-10 18:01:13] init logrus...
INFO[2024-02-10 18:01:13] admin user has been updated:
INFO[2024-02-10 18:01:13] username: admin
INFO[2024-02-10 18:01:13] password: 12345...
ERRO[2024-02-10 18:01:13] [del_user_cache_online] error: that's not even a token
尝试关闭所有alist进程
ps alist*
检查是否有alist
进程,如果有,则执行ps alist|stop
,结束相关进程重新设置admin
密码
PS ️18:01:13 [C:\share] 100% alist admin set 1212
INFO[2024-02-10 18:02:07] reading config file: data\config.json
INFO[2024-02-10 18:02:07] load config from env with prefix: ALIST_
INFO[2024-02-10 18:02:07] init logrus...
INFO[2024-02-10 18:02:07] admin user has been updated:
INFO[2024-02-10 18:02:07] username: admin
INFO[2024-02-10 18:02:07] password: 1212
WARN[2024-02-10 18:02:07] [del_user_cache_online] failed: Post "http://localhost:5244/api/admin/user/del_cache?username=admin": dial tcp [::1]:5244: connectex: No connection could be made because the target machine actively refused it.
抛出了一个WARN
,可以打开浏览器,刷新alist
管理网页,检查是否修改成功
WebDAV | AList文档WebDav (nn.ci)