mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2026-07-19 22:23:50 -04:00
Closed
opened 2026-02-22 18:21:40 -05:00 by yindo
·
33 comments
No Branch/Tag Specified
master
5846-bug-when-scrolling-up-scrolling-jumps
refactor-remove-workspace-pfp
5969-bug-stopgenerationbutton-disappears-on-the-first-prompt-that-initiates-an-agent-session
2235-bug-how-to-upload-a-folder-with-subfolders-with-files-to-anythingllm
5990-workspace-update-fails-with-unknown-argument-router_id-v1130v1150-intel-mac
opencomputer-examples
pg
feat/image-generation-translations
feat/image-generation
5924-bug-meeting-summary-fails-with-sincludes-is-not-a-function-when-default-llm-is-anthropic-claude
render
feat/uniform-modal-component
5883-bug-unescaped-content-in-json-strings-being-passed-to-document-generator-tools
5901-bug-api-update-embeddings-fails-prisma-argument-filename-is-missing-on-workspace_documentscreate-desktop-windows-v1141
hybrid-search
1981-translations
5752-bug-prompts-to-local-jan-endpoint-unresponsive
feat-disable-native-tool-calling-env-var
5676-bug-non-ollama-agent-providers-do-not-parse-and-present-reasoning-content
feat/markdown-web-scraping
5717-bug-apiv1documentupload-silently-drops-metadata-field-in-desktop-1130-arg-count-mismatch-nested-payload-key
fix/aibitat-context-overflow
5711-bug-erratic-deepseek-v4-flash-the-agent-model-failed-to-respond-400-the-reasoning_content
5631-feat-custom-api-request-timeouts-for-ai-providers
feat-reasoning-control
feat-agent-clarifying-questions-translations
5583-bug-lm-studio-provider-does-not-present-reasoning-output
5313-normalize-translations
feat/memory-translations
5305-lemonade-embedding-engine-swallows-errors-falsely-reports-documents-as-embedded
5060-bug-agent-interactions-agent-are-not-persisted-to-thread-history-via-api
pptx-subagent
feat-render-images-from-mcp-tool-results
stt-provider-expansion-openai-api-compatible
feat-file-search-agent-tool
feat-native-embedder-job-queue
5189-normalize-translations
feat-file-search-agent-tool-translations
i18n-eslint
5140-auto-migration
5112-bug-openrouter-failed-message-bug
3506-feat-parameters-for-openrouter-models
4992-feat-preserve-scroll-position
4973-bug-markdown-numbered-list-display-in-reasoning-pane
desktop
4938-bug-pending-chat-rerendering-ui-bug
quickstart-env
node-llama-cpp-in-container-cuda
node-llama-cpp-in-container
ollama-in-container
4817-feat-set-cooldown-per-mcp-server
4845-keyboard-shortcuts-to-navigate-in-chat
4844-feat-reorder-threads-by-latest-interaction
standardize-username-constraints-normalize-translations
4792-feat-refactor-workspacepfp-image
1382-embed-ip-improvements
1382-bug-embed-api-improvements
refactor-eslint-frontend
4687-feat-refactor-vector-db-providers
4615-feat-disable-apidocs-with-environment-variable
4559-feat-agent-web-search-enable-ordering-of-results
4599-bug-ollama-race-condition-bug
4572-bug-lmstudio-provided-llm-stopped-working-with-anything-llm-after-upgrading-to-190
4508-agent-youtube-transcript-analysis
4497-feat-workspace-names
frontend-eslint
ollama-lmstudio-auto-context-window
4431-validate-vector-database-connectioN
2019-slash-command-keyboard-selection
microsoft-foundry-provider
4431-validate-vector-database-connection
4325-sys-prompt-var-improvements
3209-feat-apiv1workspacestream-chat-sources-citations
4210-bug-voice-to-text-overwrite
4136-feat-jan-as-a-backend-server-option
4172-feat-openai-o3-support
1.8.3-rerelease
web-push-notifications-service
tasks
3955-feat-jinaai-embedder-provider-support
3921-feat-agent-skills-uiux-improvements
3901-bug-validfunccall-checks-optional-arguments
keyboard-dev
1787-custom-roles-and-permissions
add-jira-slack-data-connector
office-extension-wip
lightmode-dropdown-color-update
3586-bug-agent-flow-function-description-provided-by-user-is-not-seen-in-the-llm-query
3463-bug-agent-continues-to-run-if-request-failed-even-after-exit
3439-feat-call-variables-within-the-flow-api-block-url-field
3282-manager-view-models-workspace
3280-token-counting-server-side-truncation-improvements
3147-bug-embedded-chat-widget---not-considering-query-mode-option-always-working-in-chat-mode
2995-feat-disable-temperature-setting-for-deepseek-r1-deepseek-reasoner-model
2827-feat-perplexity-citations
2866-feat-finally-a-gemini-models-endpoint
2647-feat-hpp-header-for-a-c++-code-file-mime-addition
lancedb-revert
1656-feat-implement-tooltip-ui-designs
2011-feat-bump-perplexity-models
1873-feat-auto-add-and-watch-folder-for-document-uploads
1297-feat-gemini-agent-support
1759-bug-ui-bug-fixes
1686-feat-implement-winston-for-logging
1536-bug-toggling-on-users-can-delete-workspaces-does-not-take-effect
agent-ui-mobile-styles
1522-feat-chromadb-support
1595-bug-unable-to-get-live-web-search-and-browsing-agent-working-using-google-custom-search-engine-error-getaddrinfo-enotfound-http-errno-3008
1582-bug-lm-studio-does-not-allow-for-different-model-selection
1312-bug-usernames-should-not-be-case-sensitive-when-logging-in
1029-feat-hf-serverless-inference-api
1086-feat-implement-normalized-input-fields
knowledge-graph-support
644-bug-uploaded-file-name-does-not-match-the-displayed-file-name-after-the-upload
v1.15.0
v1.14.2
v1.14.1
v1.14.0
v1.13.0
v1.12.1
v1.12.0
v1.11.2
v1.11.1
v1.11.0
v1.10.0
v1.9.1
v1.9.0
v1.8.5
v1.8.4
v1.8.3
v1.8.2
v1.8.1
v1.8.0
v1.7.8
v1.7.6
v1.7.5
v1.7.4
v1.4.0
v1.3.0
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.1
v1.1.0
v1.0.0
Labels
Clear labels
Desktop
Docker
Integration Request
Integration Request
OS: Linux
OS: Mobile
OS: Windows
UI/UX
blocked
bug
bug
core-team-only
documentation
duplicate
embed-widget
enhancement
feature request
github_actions
good first issue
investigating
needs info / can't replicate
possible bug
pull-request
question
stage: specifications
wontfix
Mirrored from GitHub Pull Request
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Mintplex-Labs/anything-llm#839
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @lishaojun616 on GitHub (May 10, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1331
Originally assigned to: @timothycarambat on GitHub.
The anythingllm is installed in Ubuntu server.

In the system LLM set ,the system can connect to the Ollama server and get the models .
But when chat in workspace ,the docker is exited.
1.Show the info in browser:
2.and the docker logs:
"/usr/local/bin/docker-entrypoint.sh: line 7: 115 Illegal instruction (core dumped) node /app/server/index.js"
What's the problem?
@timothycarambat commented on GitHub (May 10, 2024):
Docker engine - it appears
https://github.com/Mintplex-Labs/anything-llm/issues/1290#issuecomment-2101960232
That issue is specifically occurring on Mac, but it is the same on Linux/Ubuntu as well.
@SyuanYo commented on GitHub (May 14, 2024):
Hi @lishaojun616 , have you managed to resolve the issue?
I am experiencing the same situation as you described in #1323 .
@joachimt-git commented on GitHub (May 20, 2024):
Hello everyone,
I face the same problem.
Same setup, ubuntu 22.04 LTS, using ollama as llm.
I have installed the newest docker engine, build anything-llm with docker-compose-v2.
This issue is marked as closed. Is there a solution available?
Best regrads
Joachim
@xsn-cloud commented on GitHub (May 20, 2024):
Encountering the same issue. Using Ubuntu Server 22.04 with Docker, Yarn, and Node installed as recommended in HOW_TO_USE_DOCKER.md#how-to-use-dockerized-anything-llm. Ollama is on another machine, serving at 0.0.0.0 (other remote apps function correctly with this setup, even in Docker).
EDIT: Forgot to mention:
Docker version 26.1.3, build b72abbb
Ubuntu is running in a VM
Experiencing the identical error as posted by @joachimt-git:
Any suggestions for resolving this?
How can I assist?
Thanks
@timothycarambat commented on GitHub (May 20, 2024):
This is certainly a configuration issue. Considering all is well until the native embedder is called this might be arch related - but we support both ARM and x86. Regardless, here is my exact steps that fail to repro:
curl -fsSL https://get.docker.com -o get-docker.shsudo sh get-docker.shsudo usermod -aG docker $USERdocker pull mintplexlabs/anythingllmRun:
Access via instance IP on port 3001 - I get the interface, onboard, create workspace, and upload documents.
Considering all of this occurs on
[NativeEmbedder] Initializedthis to me would indicate a lack of resources to run the local embedder and if that is the case, you should allocate more resources to the container or use another embedder. That is the only way I could imagine a full core dump or illegal instruction occurring withIllegal instruction. Either that or the underlying chip arch is not found/supported for Xenova transformers.js.@joachimt-git commented on GitHub (May 20, 2024):
Hi Timothy,
I think what @xsn-cloud and I have in commun is that we both use ollama.
May that ne the cause of the failure?
Joachim
@timothycarambat commented on GitHub (May 20, 2024):
It would not, since the exception is in the AnythingLLM container and if there was an illegal instruction in the Ollama program it would throw in that container/program. All AnythingLLM does is execute a fetch request to the Ollama instance, which would be permitted in any container
@xsn-cloud commented on GitHub (May 21, 2024):
@timothycarambat Thanks for addressing this issue. Please let me know if there's anything I can assist you with.
I've conducted the following experiment, also considering that it might be an issue with Docker running on VMs and to verify resource issues:
UPDATE: Also tested it in Windows 10 (WSL, Docker for Windows, Docker version 26.1.1, build 4cf5afa): Same issue
This is the outcome after the onboarding when attempting to send a "hello" in a new chat. (docker logs -f [containerid]).
Please note that the container was restarted from scratch to ensure the clarity of the logs.
One more clarification: The error occurs after sending a message in the chatbox. Until then, the last message displayed is
[NativeEmbedder] Initialized, and it remains unchanged until the message is sent.Thanks a lot for your time.
@timothycarambat commented on GitHub (May 21, 2024):
If you were to not use the native embedder, this problem would not surface. The only commonality between all of this is varying CPUs. Transformers.js which runs the native embedder, uses ONNX runtime and at this point the root cause has to be coming from there as this only occurs when using the native embedder and that is the supporting libraries to enable that functionality.
@jorgen-k commented on GitHub (May 23, 2024):
I had the same issue running Docker in Ubuntu 24.04 VM on a Proxmox host. I switched the CPU in the guest to "host," and it fixed the problem. Just wanted to share in case anyone else is having the same struggle I did. Hope this helps!
@timothycarambat commented on GitHub (May 23, 2024):
Does the CPU you swapped to support AVXv2?
@computersrmyfriends commented on GitHub (May 23, 2024):
No, my CPU does not support AVX2 however it supports AVX
@jorgen-k commented on GitHub (May 23, 2024):
I am sorry, i do not know how to check that, i just changed o "host" being a Intel Core i9-9900K CPU
@timothycarambat commented on GitHub (May 23, 2024):
At this time, the working hypothesis is that since Transformers.js uses ONNX runtime it will fail to execute any model (including the built in embedder) if AVX2 is not supported
https://github.com/microsoft/onnxruntime
@jorgen-k https://www.intel.com/content/www/us/en/products/sku/186605/intel-core-i99900k-processor-16m-cache-up-to-5-00-ghz/specifications.html
Supports AVX2
@joachimt-git commented on GitHub (May 24, 2024):
I am using kvm as hyperviser and the virtual cpu doesn't support avx2. When I configure a passthrough of the cpu (which supports avx2) as @jorgen-k has suggested it works for me as well.
@computersrmyfriends commented on GitHub (May 24, 2024):
I ran out of luck for the AVX cpu. It's a XEON 2660 but only supports AVX. Had to find another machine.
@Smocvin commented on GitHub (May 24, 2024):
I had the same issue with "/usr/local/bin/docker-entrypoint.sh: line 7: 115 Illegal instruction (core dumped) node /app/server/index.js". It seems the new Docker images of AnythingLLM have some issues, possibly on older systems. To fix the issue, I tried using older Docker versions and previous AnythingLLM images. While the older Docker versions did not resolve the issue, the older AnythingLLM images worked great. The newest working version for me was "sha256:1d994f027b5519d4bc5e1299892e7d0be1405308f10d0350ecefc8e717d3154f". You can find it here: https://github.com/Mintplex-Labs/anything-llm/pkgs/container/anything-llm/209298508
Running on Centos7 Linux with (CWP7), 2X Intel(R) Xeon(R) CPU E5-2680 v2, 2X Nvidia 2080TI GPUs
@timothycarambat commented on GitHub (May 24, 2024):
@Smocvin, excellent work. Okay, then that pretty much nails down commit
ca63012c0fas the issue commit. In that commit we moved from lancedb0.1.19to0.4.11(which is what we use on desktop version).However, given how this issue seems to only be a problem with certain CPUs we have two choices:
Bump to
0.5.0and see if that fixes it or roll back to0.1.19. Given how we do not leverage or dive deep into LanceDBs API much, the code change is quite minimal or none.What I will need though is some help from the community as I do not have a single machine, VM, or instance that I can replicate this bug with. So my ask is:
or
If anyone is willing to help debug the hard way I am going to creat two new tags on docker
:lancedb_bump:lancedb_revertand I would need someone suffering from this issue to pull both and see which works.Obviously if we can bump up, that would be ideal, but I would rather not field this issue for the rest of time since lancedb should just work.
Links to images
lancedb_bump:docker pull mintplexlabs/anythingllm:lancedb_bumphttps://hub.docker.com/layers/mintplexlabs/anythingllm/lancedb_bump/images/sha256-40b0b28728d1bb481f01e510e96351a1970ac3fafafe4b2641cb264f0e7f8a93?context=repo
lancedb_revert:docker pull mintplexlabs/anythingllm:lancedb_reverthttps://hub.docker.com/layers/mintplexlabs/anythingllm/lancedb_revert/images/sha256-f6a8d37a305756255302a8883e445056e1ab2f9ecf301f7c542685689436685d?context=repo
@acote88 commented on GitHub (May 25, 2024):
Can repro with a basic cloud instance on Vultr with the following specs: Cloud Compute - Shared CPU, Ubuntu 22.04 LTS x64, Intel High Performance, 25 GB NVMe, 1 vCPU, 1 GB Ram.
Then I basically just:
Configured with OpenAI / lancedb. At that point, just tried any chat eg. typed 'hello' and then it hangs for a bit and comes up with the error message shown above and I can see the docker container died with the log:
@Dozer316 commented on GitHub (May 28, 2024):
I'm happy to help debug here locally with the newly created image tags when available. I have two machines I can test on here with AVX (Debian docker) and AVX2 (Windows docker desktop). I get the core dump on the AVX machine with :latest but the AVX2 machine runs the container fine so I can provide output from both of them if needed.
@timothycarambat commented on GitHub (May 29, 2024):
@Dozer316 @acote88 @computersrmyfriends can any of you who have this issue on the
master/latestimage check and see iflancedb_bumporlancedb_revertwork on the impact machine?Hopefully the
_bumpimage works, otherwise we are in for some pain, but at least we can debug from there. I am friends with the LanceDB team so I can escalate to them if the issue persists.@Dozer316 commented on GitHub (May 29, 2024):
Hey there - revert has solved the problem on the impacted machine, bump still core dumps unfortunately.
Thanks for taking a look at this for us.
@acote88 commented on GitHub (May 29, 2024):
Same here. _revert works, _bump crashes. Cheers.
@xsn-cloud commented on GitHub (May 29, 2024):
Results of the test:
lancedb_bump: Crashes
lancedb_revert: Works
Notes:
CPU: AVX only
Testing: Tested with local documents; works perfectly.
(edited: several typos, sorry)
@timothycarambat commented on GitHub (May 29, 2024):
Thank you @Dozer316 @acote88 @xsn-cloud for all taking the time to test both, which is very tedious. Ill contact the lancedb team as well as see if we can rollback the docker
vectordbpackage in the interim.@cyberlink1 commented on GitHub (Jun 6, 2024):
I just closed my report out #1618 because it was caused by the same thing. AVX was not a flag on the virtual CPU.
I set the virtual CPU to pass through and it solved the issues.
Thank you @xsn-cloud
@timothycarambat commented on GitHub (Jun 6, 2024):
Okay, so the reason this issue occurs is due to LanceDB having its minimum target of
haswellas of version ~0.20. This is because performance on AVX2 is just much better.So right now there are two options to go around this:
Either way, the root cause is the requirement of the underlying CPU to have AVX2. Closing currently as
wontfixbut discussion is still open for any more commentary.@acote88 commented on GitHub (Jun 7, 2024):
Thanks for following up on this Timothy. In case this can help others, I compared 2 types of instances on Vultr. One called "High Performance" and the other one called "High Frequency". The "High Frequency" one does support AVX2, while the other doesn't. You can check by running:
@Nododot commented on GitHub (Jun 14, 2024):
You have no idea how long I've had to search everywhere and how many reconfigurations and reinstalls I did before I found this thread. Could you MAYBE write SOMEWHERE that currently AnythingLLM requires an AVX2 CPU to work properly?
@akrotor commented on GitHub (Aug 1, 2024):
Hello @timothycarambat
Thank you for publishing the Lancedb_revert image at all in the first place.
Currently, googling the error message took me to this thread , which in turn links to this one.
To resolve the issue all I had to do was update the docker run command with the
lancedb_reverttag, and otherwise "off it went"My pc is old, but it's what I've got and sadly upgrading just isn't on the cards any time soon - I'm grateful to have a way to try it out at all.
I appreciate it's unreasonable to put in ongoing effort for small subset of users running into incompatibility problems because they insist on using a relic from the before times - Especially since it's going to start increasingly cropping up elsewhere as well.
Having an image an in the first place is great, but it'd be nice if there was some way to "run out the clock" on updates until breaking changes inevitably came along.
Would it be possible to have an unsupported update that pins the version of lancedb in place, dumps latest and/or dev over the top of it and "When it breaks, that's the end of the ride.... May the odds be ever in your favour"?
When it does, ideally the docker image gets a 2nd "unsupported final build" release based on that point version and that's the end of that.
@kaomoneus commented on GitHub (Feb 16, 2025):
Just bumped into the same issue. I'm running anythingllm under vps. Afaik it doesn't even supports avx.
TLDR: guys who have this issue, just pull
mintplexlabs/anythingllm:lancedb_revertinstead of latest tag.Nevertheless, I think there should be some gracefull way to process platform incompatibilities..
@Gamechiefx commented on GitHub (Mar 12, 2025):
THANK YOU.... THANK YOU... FOR MENTIONING THE AVX2 SUPPORT
Where is this documented?
@timothycarambat commented on GitHub (Mar 13, 2025):
https://docs.anythingllm.com/fetch-failed-on-upload#your-cpu-is-not-supported
I should update the link since this is for
fetch failedon uploading, but looks like it can also arise from this error message as well115 Illegal instruction Container exit - Solution in threadto [GH-ISSUE #1331] 115 Illegal instruction Container exit - Solution in thread