kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] Unable to run docker on Ubuntu Linux - Illegal instruction (core dumped)

Open nikhilno1 opened this issue 1 year ago • 6 comments

Description

Tried to run the docker command as mentioned in README, but getting error.

$ docker run -e GRADIO_SERVER_NAME=0.0.0.0 -e GRADIO_SERVER_PORT=7860 -v /mnt/data/ktem_app_data:/app/ktem_app_data -p 7860:7860 -it --rm ghcr.io/cinnamon/kotaemon:main-full
/app/launch.sh: 20: ollama: not found
[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.
Illegal instruction (core dumped)
exit status 132

(.venv) nikhil@db-server:~/projects/kotaemon$ cat /etc/issue Ubuntu 24.04.2 LTS \n \l

Reproduction steps

1. Run the docker command as given in README
2. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs


Browsers

No response

OS

Linux

Additional information

No response

nikhilno1 avatar Mar 07 '25 06:03 nikhilno1

Might be relevant. Could have some issue with older Xeon CPUs with lesser instruction set. https://github.com/Cinnamon/kotaemon/issues/257#issuecomment-2350911029

taprosoft avatar Mar 07 '25 08:03 taprosoft

Thanks. Although this processor was released 4 years ago. Not sure if that can be called as old. Anyways, this looks to be the end of my journey then.

nikhilno1 avatar Mar 07 '25 08:03 nikhilno1

Thanks. Although this processor was released 4 years ago. Not sure if that can be called as old. Anyways, this looks to be the end of my journey then.

Hi! FYI in case you are running virtualization... I figured out a workaround for this issue. E.g. in Proxmox you can set a "processor type". When I set this to "x86-64-v4" it worked for me.

rickenbb avatar Mar 10 '25 16:03 rickenbb

Awesome. Worked for me too. Thanks so much Benjamin.

On Mon, Mar 10, 2025, 10:19 PM Benjamin Rickenbacher < @.***> wrote:

Thanks. Although this processor was released 4 years ago. Not sure if that can be called as old. Anyways, this looks to be the end of my journey then.

Hi! FYI in case you are running virtualization... I figured out a workaround for this issue. E.g. in Proxmox you can set a "processor type". When I set this to "x86-64-v4" it worked for me.

— Reply to this email directly, view it on GitHub https://github.com/Cinnamon/kotaemon/issues/689#issuecomment-2711222299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4XG6QNMF6J2X2NHKTB6A32TW7BNAVCNFSM6AAAAABYQPWVHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGIZDEMRZHE . You are receiving this because you authored the thread.Message ID: @.***> [image: rickenbb]rickenbb left a comment (Cinnamon/kotaemon#689) https://github.com/Cinnamon/kotaemon/issues/689#issuecomment-2711222299

Thanks. Although this processor was released 4 years ago. Not sure if that can be called as old. Anyways, this looks to be the end of my journey then.

Hi! FYI in case you are running virtualization... I figured out a workaround for this issue. E.g. in Proxmox you can set a "processor type". When I set this to "x86-64-v4" it worked for me.

— Reply to this email directly, view it on GitHub https://github.com/Cinnamon/kotaemon/issues/689#issuecomment-2711222299, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4XG6QNMF6J2X2NHKTB6A32TW7BNAVCNFSM6AAAAABYQPWVHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJRGIZDEMRZHE . You are receiving this because you authored the thread.Message ID: @.***>

nikhilno1 avatar Mar 11 '25 08:03 nikhilno1

Thanks. Although this processor was released 4 years ago. Not sure if that can be called as old. Anyways, this looks to be the end of my journey then.

Hi! FYI in case you are running virtualization... I figured out a workaround for this issue. E.g. in Proxmox you can set a "processor type". When I set this to "x86-64-v4" it worked for me.

Thanks

harry91 avatar Mar 30 '25 16:03 harry91

x86-64-v4

thanks

TheRealMarcusChiu avatar May 30 '25 15:05 TheRealMarcusChiu