zh/guide/install/docker #12
Replies: 50 comments 36 replies
-
使用docker部署,运行上述指令后,日志报错 INFO[2022-09-16 07:43:20] reading config file: data/config.json
INFO[2022-09-16 07:43:20] load config from env with prefix:
INFO[2022-09-16 07:43:20] init logrus...
INFO[2022-09-16 07:43:21] start server @ 0.0.0.0:5244
ERRO[2022-09-16 07:43:21] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp [::1]:6800: connect: connection refused
failed get aria2 version
github.com/alist-org/alist/v3/internal/aria2.InitAria2Client
/app/internal/aria2/aria2.go:33
github.com/alist-org/alist/v3/internal/aria2.InitClient
/app/internal/aria2/aria2.go:23
github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1
/app/internal/bootstrap/aria2.go:10
runtime.goexit
/usr/lib/go/src/runtime/asm_amd64.s:1594 |
Beta Was this translation helpful? Give feedback.
-
默认管理员的用户名和密码是什么呢? |
Beta Was this translation helpful? Give feedback.
-
wpilot@arm-64:~$ docker exec -it alist ./alist admin |
Beta Was this translation helpful? Give feedback.
-
xhofe-alist1 2022-09-22T08:34:44.470342039Z stdout runtime.goexit 2022-09-22T08:34:44.470315457Z stdout " /app/internal/bootstrap/aria2.go:10" 2022-09-22T08:34:44.470277920Z stdout github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1 2022-09-22T08:34:44.470251953Z stdout " /app/internal/aria2/aria2.go:23" 2022-09-22T08:34:44.470223878Z stdout github.com/alist-org/alist/v3/internal/aria2.InitClient 2022-09-22T08:34:44.470196134Z stdout " /app/internal/aria2/aria2.go:33" 2022-09-22T08:34:44.470161755Z stdout github.com/alist-org/alist/v3/internal/aria2.InitAria2Client 2022-09-22T08:34:44.470129326Z stdout failed get aria2 version 2022-09-22T08:34:44.470036214Z stdout �[31mERRO�[0m[2022-09-22 08:34:44] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connect: connection refused 2022-09-22T08:34:44.468813733Z stdout �[36mINFO�[0m[2022-09-22 08:34:44] start server @ 0.0.0.0:5244 2022-09-22T08:34:41.343886200Z stdout �[36mINFO�[0m[2022-09-22 08:34:41] init logrus... 2022-09-22T08:34:41.343739983Z stdout �[36mINFO�[0m[2022-09-22 08:34:41] load config from env with prefix: 2022-09-22T08:34:41.329125673Z stdout �[36mINFO�[0m[2022-09-22 08:34:41] reading config file: data/config.json 2022-09-22T08:34:37.754702552Z stdout �[36mINFO�[0m[2022-09-22 08:34:37] Server exiting 2022-09-22T08:34:37.754285066Z stdout �[36mINFO�[0m[2022-09-22 08:34:37] timeout of 3 seconds. 2022-09-22T08:34:34.750688453Z stdout �[36mINFO�[0m[2022-09-22 08:34:34] Shutdown Server ... 2022-09-22T08:33:11.181493852Z stdout " /usr/lib/go/src/runtime/asm_amd64.s:1594 " 2022-09-22T08:33:11.181470475Z stdout runtime.goexit 2022-09-22T08:33:11.181445703Z stdout " /app/internal/bootstrap/aria2.go:10" 2022-09-22T08:33:11.181419274Z stdout github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1 2022-09-22T08:33:11.181394160Z stdout " /app/internal/aria2/aria2.go:23" 2022-09-22T08:33:11.181366948Z stdout github.com/alist-org/alist/v3/internal/aria2.InitClient 2022-09-22T08:33:11.181341082Z stdout " /app/internal/aria2/aria2.go:33" 2022-09-22T08:33:11.181305803Z stdout github.com/alist-org/alist/v3/internal/aria2.InitAria2Client 2022-09-22T08:33:11.181275972Z stdout failed get aria2 version 2022-09-22T08:33:11.181121006Z stdout �[31mERRO�[0m[2022-09-22 08:33:11] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connect: connection refused 2022-09-22T08:33:11.170923092Z stdout �[36mINFO�[0m[2022-09-22 08:33:11] start server @ 0.0.0.0:5244 2022-09-22T08:33:08.119900338Z stdout �[36mINFO�[0m[2022-09-22 08:33:08] init logrus... 2022-09-22T08:33:08.119776000Z stdout �[36mINFO�[0m[2022-09-22 08:33:08] load config from env with prefix: 2022-09-22T08:33:08.051874622Z stdout �[36mINFO�[0m[2022-09-22 08:33:08] reading config file: data/config.json 2022-09-22T08:30:34.885584606Z stdout �[36mINFO�[0m[2022-09-22 08:30:34] Server exiting 2022-09-22T08:30:34.884882011Z stdout �[36mINFO�[0m[2022-09-22 08:30:34] timeout of 3 seconds. 2022-09-22T08:30:31.886186002Z stdout �[36mINFO�[0m[2022-09-22 08:30:31] Shutdown Server ... 2022-09-22T08:28:28.636480471Z stdout " /usr/lib/go/src/runtime/asm_amd64.s:1594 " 2022-09-22T08:28:28.636455632Z stdout runtime.goexit 2022-09-22T08:28:28.636429828Z stdout " /app/internal/bootstrap/aria2.go:10" 2022-09-22T08:28:28.636402051Z stdout github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1 2022-09-22T08:28:28.636375687Z stdout " /app/internal/aria2/aria2.go:23" 2022-09-22T08:28:28.636346966Z stdout github.com/alist-org/alist/v3/internal/aria2.InitClient 2022-09-22T08:28:28.636318158Z stdout " /app/internal/aria2/aria2.go:33" 2022-09-22T08:28:28.636280156Z stdout github.com/alist-org/alist/v3/internal/aria2.InitAria2Client 2022-09-22T08:28:28.636246303Z stdout failed get aria2 version 2022-09-22T08:28:28.636143996Z stdout �[31mERRO�[0m[2022-09-22 08:28:28] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connect: connection refused 2022-09-22T08:28:28.634481223Z stdout �[36mINFO�[0m[2022-09-22 08:28:28] start server @ 0.0.0.0:5244 2022-09-22T08:28:25.598382752Z stdout �[36mINFO�[0m[2022-09-22 08:28:25] init logrus... 2022-09-22T08:28:25.598204523Z stdout �[36mINFO�[0m[2022-09-22 08:28:25] load config from env with prefix: 2022-09-22T08:28:25.567919201Z stdout �[36mINFO�[0m[2022-09-22 08:28:25] reading config file: data/config.json 2022-09-22T08:27:14.211727219Z stdout �[36mINFO�[0m[2022-09-22 08:27:14] Server exiting 2022-09-22T08:27:14.211252064Z stdout �[36mINFO�[0m[2022-09-22 08:27:14] timeout of 3 seconds. 2022-09-22T08:27:11.208682325Z stdout �[36mINFO�[0m[2022-09-22 08:27:11] Shutdown Server ... 2022-09-22T08:17:41.522089039Z stdout " /usr/lib/go/src/runtime/asm_amd64.s:1594 " 2022-09-22T08:17:41.522064664Z stdout runtime.goexit 2022-09-22T08:17:41.522039552Z stdout " /app/internal/bootstrap/aria2.go:10" 2022-09-22T08:17:41.522011635Z stdout github.com/alist-org/alist/v3/internal/bootstrap.InitAria2.func1 2022-09-22T08:17:41.521983449Z stdout " /app/internal/aria2/aria2.go:23" 2022-09-22T08:17:41.521954301Z stdout github.com/alist-org/alist/v3/internal/aria2.InitClient 2022-09-22T08:17:41.521923098Z stdout " /app/internal/aria2/aria2.go:33" 2022-09-22T08:17:41.521875688Z stdout github.com/alist-org/alist/v3/internal/aria2.InitAria2Client 2022-09-22T08:17:41.521833876Z stdout failed get aria2 version 2022-09-22T08:17:41.521618012Z stdout �[31mERRO�[0m[2022-09-22 08:17:41] failed to init aria2 client: Post "http://localhost:6800/jsonrpc": dial tcp 127.0.0.1:6800: connect: connection refused 2022-09-22T08:17:41.501606213Z stdout �[36mINFO�[0m[2022-09-22 08:17:41] start server @ 0.0.0.0:5244 2022-09-22T08:17:38.785352616Z stdout �[36mINFO�[0m[2022-09-22 08:17:38] Successfully created the admin user and the initial password is: sqs181Vp 2022-09-22T08:17:38.310765791Z stdout �[36mINFO�[0m[2022-09-22 08:17:38] init logrus... 2022-09-22T08:17:38.310732685Z stdout �[36mINFO�[0m[2022-09-22 08:17:38] load config from env with prefix: |
Beta Was this translation helpful? Give feedback.
-
docker 如何更新?还是自动更新? |
Beta Was this translation helpful? Give feedback.
-
请问在存储配置时候指定的挂载路径(如/mnt/189cloud)是不是就是docker中的路径?挂载后docker中配置的路径下是空的,host的也是,但是在web首页可以看到。我使用的命令如下: |
Beta Was this translation helpful? Give feedback.
-
Docker部署遇到无限次密码不正确问题,重新配置config后重启服务无果 |
Beta Was this translation helpful? Give feedback.
-
创建docker的时候 如果aria2 在宿主机的 需要映射 opt/alist/data/temp 路径 对应挂载。因为alist传递任务给aria2的时候 固定要求下载到上面路径 导致docker里的alist找不到下载的文件 我修改之后ok了就是得费劲停止docker 修改两个配置json 文件才搞定 |
Beta Was this translation helpful? Give feedback.
-
Docker部署之后,怎么更新?还是自动更新,不太懂 |
Beta Was this translation helpful? Give feedback.
-
couldn't handle this token |
Beta Was this translation helpful? Give feedback.
-
docker部署如何指定版本 |
Beta Was this translation helpful? Give feedback.
-
Docker重启后alist的配置也全部被删除了,请问该如何配置docker让docker每次重启不会清除alist配置? |
Beta Was this translation helpful? Give feedback.
-
安装好,使用nginx配置完域名和ssl后,点击文件打开后直接点下载,链接还是localhost:5244,但是复制链接就是正确的域名,请问是怎么回事呢? |
Beta Was this translation helpful? Give feedback.
-
失败 |
Beta Was this translation helpful? Give feedback.
-
安装完后,但是没用啊,有密码有用户名,但是没用登陆链接,在浏览器里输端口号直接不响应,在终端里输直接显示没有该命令,我用的云服务器 |
Beta Was this translation helpful? Give feedback.
-
随机生成一个密码命令用了,但是看不到密码啊 手动设置一个密码也没用 |
Beta Was this translation helpful? Give feedback.
-
那个任务,就是上传和复制那个,建议能系统自动保存未完成列表,万一系统重启了或者出问题了,可以接着继续 |
Beta Was this translation helpful? Give feedback.
-
docker部署,容器一直重启,docker logs如下: |
Beta Was this translation helpful? Give feedback.
-
rm alist-linux-musl-amd64.tar.gz echo FROM scratch > Dockerfile ./alist admin |
Beta Was this translation helpful? Give feedback.
-
使用这个脚本再gitpod上运行生成dockerfile后,上传到GitHub,然后用一些docker容器从GitHub导入项目,其他都能正常运行,但就添加webdav资源的时候,无法打开webdav,会提示tls: failed to verify certificate: x509: certificate signed by unknown authority。这个是什么原因呢 echo FROM scratch > Dockerfile ./alist admin |
Beta Was this translation helpful? Give feedback.
-
failed init storage but storage is already created: failed init storage: Post "https://openapi.aliyundrive.com/adrive/v1.0/user/getDriveInfo": dial tcp: lookup openapi.aliyundrive.com on 8.8.8.8:53: read udp 172.17.0.2:57385->8.8.8.8:53: i/o timeout |
Beta Was this translation helpful? Give feedback.
-
要如何使用 alist-aria2 中预装的 aria2?我启动了这个镜像的 docker,但是 6800 端口提示拒绝连接。 |
Beta Was this translation helpful? Give feedback.
-
为什么每次我配置好docker以及配置好alist之后,重启电脑或重新打开docker重新登陆账号后都会出现账号密码错误,或者账号不存在的问题 |
Beta Was this translation helpful? Give feedback.
-
后面我就没再弄
Joe
***@***.***
…------------------ 原始邮件 ------------------
发件人: ***@***.***>;
发送时间: 2024年3月4日(星期一) 下午3:24
收件人: ***@***.***>;
抄送: ***@***.***>; ***@***.***>;
主题: Re: [alist-org/docs] zh/guide/install/docker (Discussion #12)
解决了吗
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
我很好奇的是,你们都没有遇到docker pull 镜像超时的问题吗? [root@localhost netdisk]# docker-compose up -d |
Beta Was this translation helpful? Give feedback.
-
docker 部署好alist后 |
Beta Was this translation helpful? Give feedback.
-
加密盘总是出现这个提示,然后就无法访问,需要到存储那里再保存一下就好了,为什么啊? |
Beta Was this translation helpful? Give feedback.
-
git clone仓库后后,docker build时报错,请问如何解决?
|
Beta Was this translation helpful? Give feedback.
-
求一个3.37.4 arm64的镜像 |
Beta Was this translation helpful? Give feedback.
-
zh/guide/install/docker
AList v3的文档
https://alist.nn.ci/zh/guide/install/docker.html
Beta Was this translation helpful? Give feedback.
All reactions