mikubill / efb-wechat-docker Goto Github PK
View Code? Open in Web Editor NEWEFB WeChat Slave Docker Ver.
EFB WeChat Slave Docker Ver.
Hi,你好,当前的docker命令对账户的迁移不是很友好。如果重新建立docker容器的话,会导致之前做的绑定都丢失。
所以想问一下这个卷如果想指定目录应该怎么写?
假如我的 config.py
和 tgdata.db
文件均在host
的/home/efb/
中
docker run -d -t -v /home/efb:/opt/app/ehforward_config --name "efbwechat" -e TOKEN=xxxx -e ADMIN=xxxx mikubill/efbwechat
日常挂机使用的过程中,TG偶尔会收到如下消息:
EFB Telgram Master channel encountered error Conflict:
terminated by other getUpdates request; make sure that only one bot instance is running caused by updateNone. See log for details.
环境:
树莓派
仅使用了docker挂载了一个微信号,一个实例。
禁言啥的没有。。。
你好。我从群晖的Docker中安装了您的代码。如何能配置docker run -d -t --name "efbwechat" -e TOKEN=xxxx -e ADMIN=xxxx mikubill/efbwechat和docker logs -f efbwechat 呢?必须通过SSH的方式来实现吗?
谢谢!
Message is not sent.
OSError('cannot identify image file <tempfile._TemporaryFileWrapper object at 0x7f12e50>',)
看起来是python-telegram-bot的依赖
详细log在这里
如题
国内VPS使用出现访问api.telegram.org超时,这个应该是访问telegram没有dai li,请问如何在配置文件config.yaml或者docker文件中添加dai li配置呢?
大佬,可以支持一下linux/arm64/v8吗?
2022-01-16 05:26:52,267 [Level 99]: plugins.blueset.wechat.WeChatChannel (init.console_qr_code; init.py:195)
Confirm on your phone.
2022-01-16 05:27:07,717 [Level 99]: plugins.blueset.wechat.WeChatChannel (init.console_qr_code; init.py:198)
Successfully logged in.
2022-01-16 05:27:08,718 [ERROR]: itchat (login.verify_login; login.py:96)
msg list retrieve failed
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 94, in verify_login
msg_list, contact_list = self.get_msg()
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 384, in get_msg
'SyncKey': self.loginInfo['SyncKey'],
KeyError: 'SyncKey'
2022-01-16 05:27:08,719 [ERROR]: itchat (login.verify_login; login.py:101)
sync check result failed
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 99, in verify_login
sync_check_result = self.sync_check()
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 352, in sync_check
'synckey': self.loginInfo['synckey'],
KeyError: 'synckey'
Traceback (most recent call last):
File "/usr/local/bin/ehforwarderbot", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/site-packages/ehforwarderbot/main.py", line 335, in main
init(conf)
File "/usr/local/lib/python3.10/site-packages/ehforwarderbot/main.py", line 135, in init
coordinator.add_channel(cls(instance_id=instance_id))
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/init.py", line 160, in init
self.authenticate('console_qr_code', first_start=True)
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/init.py", line 672, in authenticate
self.bot: wxpy.Bot = wxpy.Bot(cache_path=str(efb_utils.get_data_path(self.channel_id) / "wxpy.pkl"),
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/wxpy/api/bot.py", line 85, in init
self.core.auto_login(
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/register.py", line 32, in auto_login
self.login(enableCmdQR=enableCmdQR, picDir=picDir, qrCallback=qrCallback,
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 77, in login
self.verify_login()
File "/usr/local/lib/python3.10/site-packages/efb_wechat_slave/vendor/itchat/components/login.py", line 106, in verify_login
raise Exception('server refused, loading login status failed.')
Exception: server refused, loading login status failed.
随着时间的推移,docker 的卷 体积会越来越大,有没有定期清理的机制?
这个是目前用过最稳定的docker,并且只要一行命令行,但是不支持armv7,希望可以添加支持
请问能不能添加一个公众号的分类?link都把我搞晕了。。。谢谢
是微信web?
或者?
系统Ubuntu 18.04
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.