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

Docker when spining up the ./docker-entrypoint.sh is killed #2611

Open
alexmazaltov opened this issue Apr 26, 2024 · 2 comments
Open

Docker when spining up the ./docker-entrypoint.sh is killed #2611

alexmazaltov opened this issue Apr 26, 2024 · 2 comments

Comments

@alexmazaltov
Copy link

Step 1: Have you search for this issue before posting it?

I tried to search the issue on github by word :killed

Step 2: Describe your environment

  • OS: Ubuntu22.04 AWS Lightsail fresh instance with allowed trafic for TCP protocol over 5001 port
  • docker case

Step 3: Describe the problem:

I am faced with an issue with docker. When I execute start command:
docker run -itd --name OctoBot -p 80:5001 -v $(pwd)/user:/octobot/user -v $(pwd)/tentacles:/octobot/tentacles -v $(pwd)/logs:/octobot/logs drakkarsoftware/octobot:stable in portainer installed on the same server i see the logs in container:
image

Expected behavior
After the docker run command I able to open Octobot UI in the browser via my-server-static-ip:5001

2024-04-26 20:40:15,392 INFO     OctoBot Launcher     Version : 1.0.10
 2024-04-26 20:40:15,399 INFO     OctoBot Launcher     Running self-hosted OctoBot on Linux:5.15.0-1030-aws:x86_64 with binary [Python 3.10.12]
 2024-04-26 20:40:15,399 INFO     OctoBot Launcher     Loading config files...
 2024-04-26 20:40:15,423 INFO     Configuration        Using Non-Trading profile.
 2024-04-26 20:40:15,483 INFO     OctoBot Launcher     *** Disclaimer ***
 2024-04-26 20:40:15,483 INFO     OctoBot Launcher     Do not risk money which you are afraid to lose. USE THE SOFTWARE AT YOUR OWN RISK. THE AUTHORS AND ALL AFFILIATES ASSUME NO RESPONSIBILITY FOR YOUR TRADING RESULTS.
 2024-04-26 20:40:15,484 INFO     OctoBot Launcher     Always start by running a trading bot in simulation mode and do not engage money before you understand how it works and what profit/loss you should expect.
 2024-04-26 20:40:15,484 INFO     OctoBot Launcher     Do not hesitate to read the source code and understand the mechanism of this bot.
 2024-04-26 20:40:15,484 INFO     OctoBot Launcher     ... Disclaimer ...
 2024-04-26 20:40:16,835 INFO     telethon.crypto.aes  libssl detected, it will be used for encryption
 2024-04-26 20:40:18,136 INFO     OctoBot              Starting OctoBot with simulated trader on binance[spot] trading BTC/USDT and using bot_id: 76ff60e1-f728-4db3-a96b-7f3c2ea7ef27
 2024-04-26 20:40:18,608 INFO     CCXTConnector[binance] Creating binance SPOT exchange with ccxt in version 4.2.95
 2024-04-26 20:40:18,628 INFO     CCXTConnector[binance] Loading binance exchange markets
 2024-04-26 20:40:18,633 INFO     WebService           Interface successfully initialized and accessible at: http://172.17.0.3:5001.
./docker-entrypoint.sh: line 27:    11 Killed                  ./OctoBot
@Herklos
Copy link
Member

Herklos commented Apr 27, 2024

Hi @alexmazaltov.

I can see in your logs that it's not the inital run, are you sure tentacles (stored in /octobot/tentacles) are not corrupted ?

@alexmazaltov
Copy link
Author

alexmazaltov commented Apr 27, 2024

Thank you for replying.
I change os to ubuntu 20.04 and this issue is not reproducable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants