yuudi / yobot

aide bot for pcr (mobile game) 公主连接群聊机器人
https://yobot.win
GNU General Public License v3.0
573 stars 270 forks source link

[Question] 使用Docker启动yobot,登录noVNC后黑屏 #116

Closed vbnvbn11 closed 4 years ago

vbnvbn11 commented 4 years ago

您好。 我按照您网站上的教程在我的服务器(Ubuntu20.04)上克隆了项目,使用一键脚本安装了docker和docker-compose,用docker-compose up启动之后在:9000端口能够打开noVNC,也能使用在.env设置的密码登陆, 1 但是登陆之后只有一个黑屏的界面(如图),不知道下一步如何操作? 感谢帮助

yuudi commented 4 years ago

无法排查第三方软件问题。 建议在酷Q wine酷Q issue中提问

vbnvbn11 commented 4 years ago

你好。我在docker的logs中发现了可能的问题: [cont-init.d] 110-get-coolq: executing... Downloading CoolQ ... Would you like to enter a view-only password (y/n)? --2020-05-25 13:10:29-- http://dlsec.cqp.me/cqa-tuling 正在解析主机 dlsec.cqp.me (dlsec.cqp.me)... 失败:域名解析暂时失败。 wget: 无法解析主机地址 “dlsec.cqp.me” Unzipping CoolQ ... End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of coolq.zip or coolq.zip.zip, and cannot find coolq.zip.ZIP, period. mv: 无法获取'*/*' 的文件状态(stat): 没有那个文件或目录

请教如何解决这个 wget: 无法解析主机地址 “dlsec.cqp.me”

我发现我能直接下载到这个zip,我能否直接用ftp把他上传上去?应该存放到哪个目录呢? 谢谢帮助

AzurCrystal commented 4 years ago

log里面讲了域名解析暂时失败,有可能是暂时性的网络不畅。 建议先在本地按照cqhttp-docker指南的方式启动docker尝试看是否解决问题,如果仍然存在,建议在cqhttpapi-issue中提问。

BTW,改了dockerfile以后因为把CMD换成了ENTRYPOINT,好像需要改一下docker-compose.yml的内容..