Closed IaZ001 closed 1 year ago
@IaZ001 can you post your compose file with secrets omitted?
If you follow https://github.com/shayaantx/botdarr/wiki/Install-Telegram-Bot
Your telegram private channel setting is using a url, channel ids are not urls, they are the number in the url
1156742262 => channel id
For sure
version: "3.8"
networks:
dacave:
driver: bridge
services:
#Radarr
radarr:
platform: linux/x86_64
image: lscr.io/linuxserver/radarr:latest
container_name: radarr
networks:
- dacave
environment:
PUID: 1000
PGID: 1000
TZ: Indian/Mayotte
volumes:
- ./radarr/config:/config
- type: bind
source: /mnt/media
target: /torrent
ports:
- 7878:7878
restart: unless-stopped
#Sonarr
Sonarr:
platform: linux/x86_64
image: lscr.io/linuxserver/sonarr:latest
container_name: sonarr
volumes:
- ./sonarr/config:/config
- type: bind
source: /mnt/media
target: /torrent
networks:
- dacave
environment:
PUID: 1000
PGID: 1000
TZ: Indian/Mayotte
ports:
- 8989:8989
restart: unless-stopped
# Telegram bot
botdarr:
image: shayaantx/botdarr:latest
container_name: botdarr
environment:
# telegramm settings
TELEGRAM_TOKEN : BOT TOKEN
TELEGRAM_PRIVATE_CHANNELS : https://t.me/ID
# Radarr
RADARR_URL: http://IP:7878
RADARR_TOKEN: TOKEN
RADARR_DEFAULT_PROFILE: HD - 720p/1080p
# Sonarr
SONARR_URL: http://IP:8989
SONARR_TOKEN: TOKEN
SONARR_DEFAULT_PROFILE: Any
TZ: Indian/Mayotte
volumes:
- ./botdarr/logs:/home/botdarr/logs
- ./botdarr/database:/home/botdarr/database
1156742262
When I put the numbers instead of the URL, I get an error message and the container doesn't start.
@IaZ001 sorry see the rest of the documentation
Your actual telegram channels your bot can respond in. This should be a list containing the name and id of the channel, i.e., CHANNEL_NAME:CHANNEL_ID to get the channel id, right click any post in private channel and copy post link you should see something like this, https://t.me/c/1408146664/63 the id is between c// example: plex-channel1:id1,plex-channel2:id2
This is for the TELEGRAM_PRIVATE_CHANNELS field
That's exaclty what i've done ...
@IaZ001 post an updated snippet of your docker compose with the new config
@IaZ001 can you see above request?
@IaZ001 please reopen if you still need help, see below example of what it should be
TELEGRAM_PRIVATE_CHANNELS: <channel-name>:<channel-id>
Hello,
I have just installed Botdarr using Docker Compose. My environment variables seem to be correct, but when I try to send commands to the channel, such as '!Help', I receive this message: '2023-Jul-04 11:10:52 AM [pool-5-thread-1] WARN TelegramLog - Channel test not allowed, check properties file'
Can you help me resolve this issue?