Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Container keeps on restarting #88

Open
nnhieu97 opened this issue Jan 1, 2023 · 2 comments
Open

Container keeps on restarting #88

nnhieu97 opened this issue Jan 1, 2023 · 2 comments
Labels
help wanted Extra attention is needed inspecting Currently looking into this issue

Comments

@nnhieu97
Copy link

nnhieu97 commented Jan 1, 2023

Hello. I try to deploy bot on my vps using docker. I created a config.env containing the variables set in the TG-FileStreamBot folder and start my container. However the bot is not responding. Check docker ps again, the status of the container shows Restarting (1) ... seconds ago.

root@vps2:~/TG-FileStreamBot# docker run -d --restart unless-stopped --name fsb
-v /PATH/TO/.env:/app/.env
-p 8000:8000
stream-bot
433df2b431d11f057b4aa993ed0c5e2228cb09d13ae3dfeb3a9b5fe93809d272

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
433df2b431d1 stream-bot "python3 -m WebStrea…" 10 minutes ago Restarting (1) 57 seconds ago fsb

@EverythingSuckz EverythingSuckz added help wanted Extra attention is needed inspecting Currently looking into this issue labels Jan 2, 2023
@locoda
Copy link

locoda commented Feb 27, 2023

I met a similar problem and my log suggest that it cannot process | when typing. While it might not be the same problem you met, I just want to note here that I solved mine by change python:3.9-alpine in Dockerfile to python:3.10-alpine.

@DanyTPG
Copy link
Contributor

DanyTPG commented Apr 28, 2023

you did not change the path of your config file in the docker run command:
-v /PATH/TO/.env

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed inspecting Currently looking into this issue
Projects
None yet
Development

No branches or pull requests

4 participants