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

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

Open
nikhilno1 opened this issue Mar 7, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@nikhilno1
Copy link

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 nikhilno1 added the bug Something isn't working label Mar 7, 2025
@taprosoft
Copy link
Collaborator

Might be relevant. Could have some issue with older Xeon CPUs with lesser instruction set.
#257 (comment)

@nikhilno1
Copy link
Author

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.

@rickenbb
Copy link

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.

@nikhilno1
Copy link
Author

nikhilno1 commented Mar 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants