mikumifa / QChatGPT-Docker-Installer

QChatGPT的docker部署
131 stars 25 forks source link

最后这样运行 sudo docker compose run -itd mirai 这个命令后 就算部署成功了吗》后面还要做什么吗?我向目标QQ发送消息没有反应。。救QAQ #7

Closed Oops-re closed 1 year ago

mikumifa commented 1 year ago

i启动mirai容器 docker compose run -itd mirai 此命令将在后台启动mirai容器

启动主程序容器 docker compose run -itd setup

Oops-re commented 1 year ago

运行这两个命令了

Oops-re commented 1 year ago

image

mikumifa commented 1 year ago

docker contain logs <那长长的代码> 看一下日志

Oops-re commented 1 year ago

image

Oops-re commented 1 year ago

lighthouse@VM-24-8-ubuntu:~/QChatGPT-Docker-Installer$ sudo docker logs eb53380d4fa816b5351b98ceda21a92c65057b553c829826944f10441fffd069 08:15:09 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 08:15:09 [INFO] Runtime: OpenJDK 64-Bit Server VM 17-ea (arch: 64) 08:15:09 [INFO] https://github.com/iTXTech/mirai-console-loader 08:15:09 [INFO] This program is licensed under GNU AGPL v3 08:15:09 [INFO] Package "net.mamoe:mirai-api-http" has been updated. 08:15:10 [INFO] iTX Technologies Mirai Console Loader version 2.1.2-61c8bd8 08:15:10 [INFO] Runtime: OpenJDK 64-Bit Server VM 17-ea (arch: 64) 08:15:10 [INFO] https://github.com/iTXTech/mirai-console-loader 08:15:10 [INFO] This program is licensed under GNU AGPL v3 08:15:11 [INFO] Mirai Console Loader Announcement: Mirai Console Loader 公告栏

如果在图片上传的时候遇到问题请与我们联系 (需要提供图片文件源本) - 如 Unsupported image type for ExternalResource * considering use gif/png/bmp/jpg format. `- Tracker: https://github.com/mamoe/mirai/issues/new/choose

常用资源整合 `- https://mirai.mamoe.net/topic/653

MCL 已推出 2.1.0,更好的支持 Mirai 2.11 的插件系统,建议更新。

08:15:11 [INFO] Verifying "net.mamoe:mirai-console" v2.13.4 08:15:12 [INFO] Verifying "net.mamoe:mirai-console-terminal" v2.13.4 08:15:12 [INFO] Verifying "net.mamoe:mirai-core-all" v2.13.4 08:15:12 [INFO] Verifying "org.itxtech:mcl-addon" v2.1.1 08:15:13 [INFO] Verifying "org.bouncycastle:bcprov-jdk15on" v1.64 08:15:13 [INFO] Verifying "net.mamoe:mirai-api-http" v2.6.2 2023-01-29 08:15:14 I/main: Starting mirai-console... 2023-01-29 08:15:14 I/main:

==================================[ Mirai consosle 2.13.4 ]===================================


| \ / \ \ | \/ \ | \ | ▓▓\ / ▓▓\▓▓ __ __ \▓▓ ▓▓▓▓▓▓\ __ __ | ▓▓ __ | ▓▓▓\ / ▓▓▓ \/ \ | | \ ▓▓ \▓▓/ | \ / \/ | ▓▓/ \ | ▓▓▓▓\ ▓▓▓▓ ▓▓ ▓▓▓▓▓▓\ \▓▓▓▓▓▓\ ▓▓ ▓▓ | ▓▓▓▓▓▓\ ▓▓▓▓▓▓▓\ ▓▓▓▓▓▓▓ ▓▓▓▓▓▓\ ▓▓ ▓▓▓▓▓▓\ | ▓▓\▓▓ ▓▓ ▓▓ ▓▓ ▓▓ \▓▓/ ▓▓ ▓▓ ▓▓ | ▓▓ | ▓▓ ▓▓ | ▓▓\▓▓ | ▓▓ | ▓▓ ▓▓ ▓▓ ▓▓ | ▓▓ \▓▓▓| ▓▓ ▓▓ ▓▓ | ▓▓▓▓▓▓▓ ▓▓ ▓▓/ \ ▓▓_/ ▓▓ ▓▓ | ▓▓\▓▓▓▓▓▓\ ▓▓__/ ▓▓ ▓▓ ▓▓▓▓▓▓▓▓ | ▓▓ \▓ | ▓▓ ▓▓ ▓▓ \▓▓ ▓▓ ▓▓\▓▓ ▓▓\▓▓ ▓▓ ▓▓ | ▓▓ ▓▓\▓▓ ▓▓ ▓▓\▓▓ \ \▓▓ \▓▓\▓▓\▓▓ \▓▓▓▓▓▓▓\▓▓ \▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓\▓▓▓▓▓▓▓ \▓▓▓▓▓▓ \▓▓ \▓▓▓▓▓▓▓

2023-01-29 08:15:14 I/main: Backend: version 2.13.4, built on 2023-01-21 13:19:40. 2023-01-29 08:15:14 I/main: Frontend Terminal: version 2.13.4, provided by Mamoe Technologies 2023-01-29 08:15:14 I/main: Welcome to visit https://mirai.mamoe.net/ 2023-01-29 08:15:14 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2023-01-29 08:15:14 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2023-01-29 08:15:14 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2023-01-29 08:15:15 I/plugin: Successfully loaded plugin net.mamoe.mirai-api-http v2.6.2 2023-01-29 08:15:15 I/plugin: Successfully loaded plugin MCL Addon v2.1.1 2023-01-29 08:15:15 I/main: Prepared built-in commands: autoLogin, help, login, logout, permission, status, stop 2023-01-29 08:15:15 I/Mirai HTTP API: **** 2023-01-29 08:15:15 W/stderr: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 2023-01-29 08:15:15 W/stderr: SLF4J: Defaulting to no-operation (NOP) logger implementation 2023-01-29 08:15:15 W/stderr: SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. 2023-01-29 08:15:15 E/net.mamoe.mirai-api-http: kotlinx.coroutines.JobCancellationException: LazyStandaloneCoroutine is cancelling; job=LazyStandaloneCoroutine{Cancelling}@491f8831 kotlinx.coroutines.JobCancellationException: LazyStandaloneCoroutine is cancelling; job=LazyStandaloneCoroutine{Cancelling}@491f8831 Caused by: java.net.BindException: Address in use at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:552) at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:336) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.ConnectUtilsJvmKt.bind(ConnectUtilsJvm.kt:32) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:46) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:30) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind$default(TcpSocketBuilder.kt:26) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.server.cio.backend.HttpServerKt$httpServer$acceptJob$1.invokeSuspend(HttpServer.kt:46) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

2023-01-29 08:15:15 E/MahKtorAdapter[ws]: java.net.BindException: Address in use java.net.BindException: Address in use at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind(Net.java:552) at java.base/sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:336) at java.base/sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) at java.base/sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:88) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.ConnectUtilsJvmKt.bind(ConnectUtilsJvm.kt:32) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:46) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind(TcpSocketBuilder.kt:30) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.network.sockets.TcpSocketBuilder.bind$default(TcpSocketBuilder.kt:26) at mirai-api-http-2.6.2.mirai2.jar[shared]//io.ktor.server.cio.backend.HttpServerKt$httpServer$acceptJob$1.invokeSuspend(HttpServer.kt:46) at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106) at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677) at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)

2023-01-29 08:15:15 I/MCL Addon: iTXTech MCL Version: 2.1.2-61c8bd8 2023-01-29 08:15:15 W/MCL Addon: iTXTech Soyuz 未安装,Soyuz MCL Handler 特性已禁用 2023-01-29 08:15:16 I/main: 1 plugin(s) enabled. 2023-01-29 08:15:16 I/main: mirai-console started successfully.

Oops-re commented 1 year ago

是这个 Address in use 这个报错吗?

mikumifa commented 1 year ago

配置自动登录了吗

Oops-re commented 1 year ago

就是autologin嘛 照着配了 机器人的QQ 密码 还有setConfig

mikumifa commented 1 year ago

检查一下,或者重新配置,你的qq mirai机器人没有登录成功

Oops-re commented 1 year ago

嗷嗷 行 谢谢大大Orz

Oops-re commented 1 year ago

再问一下怎么算登录成功捏?

mikumifa commented 1 year ago

日志上面会写,成功登录的(英文),然后会显示你的qq号

Funny-dot commented 1 year ago

我的状况跟你一一样的,qq登陆成功了的。dan's但是还是运行不了

image

Oops-re commented 1 year ago

我也没解决...但是我的18元试用没了。。。摆了  

,,,, @.***

 

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2023年2月8日(星期三) 上午10:19 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [mikumifa/QChatGPT-Docker-Installer] 最后这样运行 sudo docker compose run -itd mirai 这个命令后 就算部署成功了吗》后面还要做什么吗?我向目标QQ发送消息没有反应。。救QAQ (Issue #7)

我的状况跟你一一样的,qq登陆成功了的。dan's但是还是运行不了

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>