kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] - Docker container won't start -"Illegal instruction (core dumped)"

Open ivanovd opened this issue 5 months ago • 15 comments

Description

I am trying to install and start the container with the following command:

$ docker run \
-e GRADIO_SERVER_NAME=0.0.0.0 \
-e GRADIO_SERVER_PORT=7860 \
-p 7860:7860 -it --rm \
ghcr.io/cinnamon/kotaemon:latest
[nltk_data] Downloading package punkt_tab to
[nltk_data]     /usr/local/lib/python3.10/site-
[nltk_data]     packages/llama_index/core/_static/nltk_cache...
[nltk_data]   Unzipping tokenizers/punkt_tab.zip.

I get no errors, however, the container won't start and it is not even listed in docker, there are no errors in any of the logs that I have checked:

docker ps -a
CONTAINER ID   IMAGE                                                      COMMAND                  CREATED         STATUS                      PORTS                                                                                                                          NAMES
c00845ae8857   ghcr.io/home-assistant/qemux86-64-homeassistant:2024.8.3   "/init"                  4 days ago      Up 4 days                                                                                                                                                  homeassistant
ac34c7ab15f2   zigbee2mqtt/zigbee2mqtt-amd64:1.39.1-1                     "/sbin/tini -- /dock…"   3 weeks ago     Up 3 weeks                  0.0.0.0:8485->8485/tcp, :::8485->8485/tcp                                                                                      addon_45df7312_zigbee2mqtt
27bfcb871dad   homeassistant/amd64-addon-configurator:5.8.0               "/init"                  3 weeks ago     Up 3 weeks (healthy)                                                                                                                                       addon_core_configurator
b99bbcc9abe4   homeassistant/amd64-addon-mariadb:2.7.1                    "/init"                  3 weeks ago     Up 3 weeks                                                                                                                                                 addon_core_mariadb
9e4a6f63931c   homeassistant/amd64-addon-mosquitto:6.4.1                  "/init"                  3 weeks ago     Up 3 weeks                  0.0.0.0:1883-1884->1883-1884/tcp, :::1883-1884->1883-1884/tcp, 0.0.0.0:8883-8884->8883-8884/tcp, :::8883-8884->8883-8884/tcp   addon_core_mosquitto
b2b49f1b8f6a   ghcr.io/home-assistant/amd64-hassio-multicast:2024.03.0    "/init"                  3 weeks ago     Up 3 weeks                                                                                                                                                 hassio_multicast
01ee5c7b054b   ghcr.io/home-assistant/amd64-hassio-audio:2023.12.0        "/init"                  3 weeks ago     Up 3 weeks                                                                                                                                                 hassio_audio
daf26e08f640   ghcr.io/home-assistant/amd64-hassio-dns:2024.04.0          "/init"                  3 weeks ago     Up 3 weeks                                                                                                                                                 hassio_dns
bfe6aad24aa5   ghcr.io/home-assistant/amd64-hassio-cli:2024.07.0          "/init"                  3 weeks ago     Up 3 weeks                                                                                                                                                 hassio_cli
ca7823e154fd   ghcr.io/home-assistant/amd64-hassio-supervisor:latest      "/init"                  4 weeks ago     Up 3 weeks                                                                                                                                                 hassio_supervisor
1751e09872a7   snipe/snipe-it                                             "/startup.sh"            7 months ago    Up 3 weeks                  443/tcp, 0.0.0.0:8000->80/tcp, :::8000->80/tcp                                                                                 snipeit
7ffb9dc434c6   mysql:5.6                                                  "docker-entrypoint.s…"   7 months ago    Up 3 weeks                  0.0.0.0:32768->3306/tcp, :::32768->3306/tcp                                                                                    snipe-mysql
6ab2558ce177   snipe/snipe-it                                             "/startup.sh"            7 months ago    Created                                                                                                                                                    snipeit_old3
5a74f8e9facf   snipe/snipe-it                                             "/startup.sh"            7 months ago    Exited (255) 7 months ago                                                                                                                                  snipeit_old2
c4c3412b8688   snipe/snipe-it                                             "/startup.sh"            7 months ago    Exited (0) 7 months ago                                                                                                                                    snipeit_old
77d1a2954d0f   mysql:5.6                                                  "docker-entrypoint.s…"   7 months ago    Exited (255) 7 months ago   0.0.0.0:32768->3306/tcp, :::32768->3306/tcp                                                                                    snipe-mysql-old
18c08f44017c   ghcr.io/home-assistant/amd64-hassio-observer:2023.06.0     "/usr/bin/observer"      14 months ago   Up 3 weeks                  0.0.0.0:4357->80/tcp, :::4357->80/tcp                                 

Reproduction steps

1. Try to start the container with:
docker run \
-e GRADIO_SERVER_NAME=0.0.0.0 \
-e GRADIO_SERVER_PORT=7860 \
-p 7860:7860 -it --rm \
ghcr.io/cinnamon/kotaemon:latest

2. The container doesn't start

Screenshots

No response

Logs

No response

Browsers

No response

OS

Linux

Additional information

Debian 12 (bookworm)

ivanovd avatar Sep 09 '24 08:09 ivanovd