alist启动不了,日志如下 #2830
Replies: 4 comments 3 replies
-
请提供系统环境及架构和alist包名 |
Beta Was this translation helpful? Give feedback.
-
我在用docker版alist时也遇到过同样的错误,运行alist的命令行:docker run -d --restart=always -v /etc/alist:/opt/alist/data -p 5244:5244 -e PUID=0 -e PGID=0 -e UMASK=022 --name="alist" xhofe/alist-aria2:latest,查看openwrt的文件系统里,opt目录下没有alist目录,于是修改”/opt/alist/data“到docker根目录下,比如我的docker根目录是”/mnt/mmcblk0p4/docker/“,就把该路径改为”/mnt/mmcblk0p4/docker/alist/data“,然后运行就正常了。不知道这个方法对楼主是否有效 |
Beta Was this translation helpful? Give feedback.
-
要把网站TLS证书放入,不然就会报错 |
Beta Was this translation helpful? Give feedback.
-
D:\app\alist\alist-windows_3.33.0_amd64>alist server |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
stderr: [36mINFO[0m[2022-12-29 15:33:18] reading config file: data/config.json
stderr: [36mINFO[0m[2022-12-29 15:33:18] load config from env with prefix:
stderr: [36mINFO[0m[2022-12-29 15:33:18] init logrus...
stdout: [31mFATA[0m[2022-12-29 15:33:18] failed to connect database:unable to open database file: no such file or directory
stderr: [36mINFO[0m[2022-12-29 15:33:20] reading config file: data/config.json
Beta Was this translation helpful? Give feedback.
All reactions