zhenxun_bot icon indicating copy to clipboard operation
zhenxun_bot copied to clipboard

如何在群晖中安装bot

Open tianshubenshu opened this issue 2 years ago • 30 comments

系统版本:DSM 7.1

现在使用群晖中docker安装,但是群晖没有vim,无法编辑congif

tianshubenshu avatar Jul 11 '22 03:07 tianshubenshu

你可以ssh连上后 把文件download到本地 修改完后上传回去

wearshoes avatar Jul 11 '22 05:07 wearshoes

群晖什么都没有,shell里并不能找到sz命令,甚至他没有apt-get和vim编辑

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 中午1:09 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

你可以ssh连上后 把文件download到本地 修改完后上传回去

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

tianshubenshu avatar Jul 11 '22 05:07 tianshubenshu

image 一般工具都带这种文件处理的功能 下载后修改再上传

wearshoes avatar Jul 11 '22 05:07 wearshoes

我在winscp中并不能查看那个目录后的文件,因为我是直接使用的docker容器,点击进去文件夹是空的

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 中午1:21 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

一般工具都带这种文件处理的功能 下载后修改再上传

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

tianshubenshu avatar Jul 11 '22 05:07 tianshubenshu

你要是docker的话 直接把挂载目录挂到共享文件夹下直接就能在群晖里修改 image

wearshoes avatar Jul 11 '22 05:07 wearshoes

每一个文件夹都要挂载吗,我只挂载了一个,启动容器就强行停止了,能否方便截图下挂载存储空间那里是如何设置的呢

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 中午1:32 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

你要是docker的话 直接把挂载目录挂到共享文件夹下直接就能在群晖里修改

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

tianshubenshu avatar Jul 11 '22 05:07 tianshubenshu

image

wearshoes avatar Jul 11 '22 05:07 wearshoes

我目前是这样设置,不会产生任何文件

------------------ 原始邮件 ------------------ 发件人: "HibiKier/zhenxun_bot" @.>; 发送时间: 2022年7月11日(星期一) 中午1:40 @.>; @.@.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

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

tianshubenshu avatar Jul 11 '22 05:07 tianshubenshu

这不应该啊 你下载完镜像 配置好docker之后 开启 应该就会在这个挂载的目录里生成了文件才对。。是不是有什么报错

wearshoes avatar Jul 11 '22 06:07 wearshoes

这样子配置好像会导致容器读不到任何文件然后强行停止

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:04 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

这不应该啊 你下载完镜像 配置好docker之后 开启 应该就会在这个挂载的目录里生成了文件才对。。是不是有什么报错

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

那应该是你那边配置错了 我的这个docker文件夹是通过filestation新建共享文件夹弄出来的 image

wearshoes avatar Jul 11 '22 06:07 wearshoes

没问题啊,docker文件夹是共享文件夹,然后在里面新建zhenxun_bot文件夹,然后https://github.com/SinKy-Yan/zhenxunbot-docker页面中快速开始那条命令shh输入后就没有然后了(不排除我不太会使用那个命令)

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:09 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

那应该是你那边配置错了 我的这个docker文件夹是通过filestation新建共享文件夹弄出来的

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

不需要命令 直接开启就行了

wearshoes avatar Jul 11 '22 06:07 wearshoes

另外的,我看容器内终端的日志没有任何报错,但实际上qq中没有反应,是还需要其他什么步骤吗

------------------ 原始邮件 ------------------ 发件人: "HibiKier/zhenxun_bot" @.>; 发送时间: 2022年7月11日(星期一) 下午2:09 @.>; @.@.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

那应该是你那边配置错了 我的这个docker文件夹是通过filestation新建共享文件夹弄出来的

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

我觉得出现问题大概率是我的无经验和无知导致的

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:14 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

不需要命令 直接开启就行了

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

他这边其实还需要自己手动安装运行 go-cqhttp还有要在dokcer里启动一个progresql

wearshoes avatar Jul 11 '22 06:07 wearshoes

jyishit/zhenxun_bot也需要吗?我看他写的内置了,go-cqhttp以及docker的progresql都已经按照文档完成配置了,因为群=群晖中没法进行构建环境那一步,就搜到那个写内置一切的了

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:18 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

他这边其实还需要自己手动安装运行 go-cqhttp还有要在dokcer里启动一个progresql

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

我怎么没搜到这个项目。。。我是跟着本项目docker走的 确实写的不详细 基本都是自己摸出来的

wearshoes avatar Jul 11 '22 06:07 wearshoes

这一个,现在正在龟速下载本项目的dockers镜像

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:22 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

我怎么没搜到这个项目。。。我是跟着本项目docker走的 确实写的不详细 基本都是自己摸出来的

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

y

原谅我的无知,该如何配置呢

------------------ 原始邮件 ------------------ 发件人: "HibiKier/zhenxun_bot" @.>; 发送时间: 2022年7月11日(星期一) 下午2:22 @.>; @.@.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

我怎么没搜到这个项目。。。我是跟着本项目docker走的 确实写的不详细 基本都是自己摸出来的

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

下完别启动 先下一个progressql的docker

wearshoes avatar Jul 11 '22 06:07 wearshoes

progressql的docker以及下好,但我不确定我的配置是否正确

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:37 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

下完别启动 先下一个progressql的docker

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

那你配置好zhenxun的docker就启动看报错吧

wearshoes avatar Jul 11 '22 06:07 wearshoes

是这个吗?好像下的不对

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:44 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

那你配置好zhenxun的docker就启动看报错吧

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

目前是报错这个

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:44 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

那你配置好zhenxun的docker就启动看报错吧

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

?没看到图

wearshoes avatar Jul 11 '22 06:07 wearshoes

现在能否看到(莫不是之前的图都没发出去QAQ

------------------ 原始邮件 ------------------ 发件人: "HibiKier/zhenxun_bot" @.>; 发送时间: 2022年7月11日(星期一) 下午2:55 @.>; @.@.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

?没看到图

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

嗯 看不到图 也没看到你之前有图

wearshoes avatar Jul 11 '22 06:07 wearshoes

bad

------------------ 原始邮件 ------------------ 发件人: @.>; 发送时间: 2022年7月11日(星期一) 下午2:58 收件人: @.>; 抄送: @.>; @.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

嗯 看不到图 也没看到你之前有图

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

tianshubenshu avatar Jul 11 '22 06:07 tianshubenshu

小声问一句,能否给予更为方便的即时通讯方式,QQ、微信、tg

------------------ 原始邮件 ------------------ 发件人: "HibiKier/zhenxun_bot" @.>; 发送时间: 2022年7月11日(星期一) 下午2:58 @.>; @.@.>; 主题: Re: [HibiKier/zhenxun_bot] 如何在群晖中安装bot (Issue #914)

嗯 看不到图 也没看到你之前有图

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

tianshubenshu avatar Jul 11 '22 07:07 tianshubenshu