Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

After successfully deploying with docker-compose, the Telegram bot is not responding #4163

Closed
ZDY321 opened this issue Dec 1, 2024 · 6 comments
Labels
bug Something isn't working Stale

Comments

@ZDY321
Copy link

ZDY321 commented Dec 1, 2024

Describe the bug

Running successfully without any errors

Return messages following successful deployment

✔ Container memogram  Started                                                                               0.6s 
 ✔ Container memeos    Started

Steps to reproduce

The contents of my YAML file, and I've verified that the bot token in the .env file is accurate

services:
  memos:
    image: neosmemo/memos:latest
    container_name: memeos
    hostname: memeos
    ports:
      - "5230:5230"
    volumes:
      - /root/data/docker_data/memos/.memos/:/var/opt/memos
    restart: always
  memogram:
    env_file: .env
    build: ./memogram
    container_name: memogram

The version of Memos you're using.

0.23.0

Screenshots or additional context

Screenshot of the Telegram Bot:
Snipaste_2024-12-01_18-57-52


Operation output:

Snipaste_2024-12-01_18-58-59

@ZDY321 ZDY321 added the bug Something isn't working label Dec 1, 2024
@jkjoy
Copy link

jkjoy commented Dec 2, 2024

所以 env 的环境变量你配置了吗

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


So have you configured the env environment variable?

@github-actions github-actions bot added the Stale label Dec 16, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2024
@ZDY321
Copy link
Author

ZDY321 commented Feb 4, 2025

所以 env 的环境变量你配置了吗

配置了啊,token替换成自己的

SERVER_ADDR=dns:localhost:5230
BOT_TOKEN=your_telegram_bot_token

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


So ENV's environment variables have you configured?

The configuration, token replaced it with your own

Server_addr = dns: localhost: 5230
Bot_token = YOUR_TELEGRAM_BOT_TOKEN

@jkjoy
Copy link

jkjoy commented Feb 5, 2025

所以 env 的环境变量你配置了吗

配置了啊,token替换成自己的

SERVER_ADDR=dns:localhost:5230
BOT_TOKEN=your_telegram_bot_token

SERVER_ADDR 的地址你设置的是什么呢,看你的docker-compose.yaml 应该设置为 SERVER_ADDR=dns:memos:5230

@Issues-translate-bot
Copy link

Issue is not in English. It has been translated automatically.


So you configured ENV's environment variables
"
Configuration, token replaced it with your own
"
Server_addr = DNS: LocalHost: 5230
Bot_token = YOOR_TELEGRAM_BOT_TOKEN

What are you setting the address of DNS?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants