mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[GH-ISSUE #24533] issue: illegal instruction #74927
Reference in New Issue
Block 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 @alanwang233233 on GitHub (May 10, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24533
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
late
Ollama Version (if applicable)
No response
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
it works
Actual Behavior
Error404@Error404:~$ open-webui serve
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Loading WEBUI_SECRET_KEY from /home/Error404/.webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
Illegal instruction (core dumped)
Steps to Reproduce
run open-webui serve
Logs & Screenshots
Error404@Error404:~$ open-webui serve
Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
Generating a new secret key and saving it to /home/Error404/.webui_secret_key
Loading WEBUI_SECRET_KEY from /home/Error404/.webui_secret_key
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 7e5b5dc7342b, init
INFO [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table
INFO [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table
INFO [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table
Creating knowledge table
Migrating data from document table to knowledge table
INFO [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table
Converting 'chat' column to JSON
Renaming 'chat' column to 'old_chat'
Adding new 'chat' column of type JSON
Dropping 'old_chat' column
INFO [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags
INFO [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags
Primary Key: {'name': None, 'constrained_columns': []}
Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}]
Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}]
Creating new primary key with 'id' and 'user_id'.
Dropping unique constraint: uq_id_user_id
Dropping unique index: tag_id
INFO [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table
INFO [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path
INFO [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table
INFO [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields
INFO [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table
INFO [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table
INFO [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table
INFO [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables
INFO [alembic.runtime.migration] Running upgrade 3781e22d8b01 -> 9f0c9cd09105, Add note table
INFO [alembic.runtime.migration] Running upgrade 9f0c9cd09105 -> d31026856c01, Update folder table data
INFO [alembic.runtime.migration] Running upgrade d31026856c01 -> 018012973d35, Add indexes
INFO [alembic.runtime.migration] Running upgrade 018012973d35 -> 3af16a1c9fb6, update user table
INFO [alembic.runtime.migration] Running upgrade 3af16a1c9fb6 -> 38d63c18f30f, Add oauth_session table
INFO [alembic.runtime.migration] Running upgrade 38d63c18f30f -> a5c220713937, Add reply_to_id column to message
INFO [alembic.runtime.migration] Running upgrade a5c220713937 -> 37f288994c47, add_group_member_table
[]
INFO [alembic.runtime.migration] Running upgrade 37f288994c47 -> 2f1211949ecc, Update messages and channel member table
INFO [alembic.runtime.migration] Running upgrade 2f1211949ecc -> b10670c03dd5, Update user table
INFO [alembic.runtime.migration] Running upgrade b10670c03dd5 -> 90ef40d4714e, Update channel and channel members table
INFO [alembic.runtime.migration] Running upgrade 90ef40d4714e -> 3e0e00844bb0, Add knowledge_file table
INFO [alembic.runtime.migration] Running upgrade 3e0e00844bb0 -> 6283dc0e4d8d, Add channel file table
INFO [alembic.runtime.migration] Running upgrade 6283dc0e4d8d -> 81cc2ce44d79, Update channel file and knowledge table
INFO [alembic.runtime.migration] Running upgrade 81cc2ce44d79 -> c440947495f3, Add chat_file table
INFO [alembic.runtime.migration] Running upgrade c440947495f3 -> 374d2f66af06, Add prompt history table
INFO [alembic.runtime.migration] Running upgrade 374d2f66af06 -> 8452d01d26d7, Add chat_message table
INFO [alembic.runtime.migration] Running upgrade 8452d01d26d7 -> f1e2d3c4b5a6, Add access_grant table
INFO [alembic.runtime.migration] Running upgrade f1e2d3c4b5a6 -> a1b2c3d4e5f6, Add skill table
INFO [alembic.runtime.migration] Running upgrade a1b2c3d4e5f6 -> b2c3d4e5f6a7, add scim column to user table
INFO [alembic.runtime.migration] Running upgrade b2c3d4e5f6a7 -> a3dd5bedd151, Add tasks and summary columns to chat table
INFO [alembic.runtime.migration] Running upgrade a3dd5bedd151 -> d4e5f6a7b8c9, add automation tables
INFO [alembic.runtime.migration] Running upgrade d4e5f6a7b8c9 -> b7c8d9e0f1a2, add last_read_at to chat
INFO [alembic.runtime.migration] Running upgrade b7c8d9e0f1a2 -> e1f2a3b4c5d6, Add is_pinned to note table
INFO [alembic.runtime.migration] Running upgrade e1f2a3b4c5d6 -> c1d2e3f4a5b6, Add shared_chat table and migrate existing shares
INFO [alembic.runtime.migration] Running upgrade c1d2e3f4a5b6 -> 56359461a091, add calendar tables
INFO [alembic.runtime.migration] Running upgrade 56359461a091 -> 4de81c2a3af1, add pinned_note table
INFO [alembic.runtime.migration] Running upgrade 4de81c2a3af1 -> a0b1c2d3e4f5, Add memory user_id index
WARNI [open_webui.env]
WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
Illegal instruction (core dumped)
Additional Information
Error404@Error404:~$ fastfetch
################ Error404@Error404
######################## -----------------
##########-- --########## OS: GXDE OS 15.15 x86_64
#######* ****** *####### Kernel: Linux 6.18.18-trim
--*######--- ###### Uptime: 10 hours, 23 mins
--- *#### ##### Packages: 3243 (dpkg)
-- ### * #### ##### Shell: bash 5.2.15
#####* ##- ##-# ### ### *##### Display (VGA): 1600x900, 60 Hz
###* -### *# *# *### ##### DE: LXQt 1.2.0
###* -##-*## # ### ##### WM: Xfwm4 (X11)
#### - --#### - ##* ### ##### Theme: Breeze [Qt], Breeze [GTK2/3]
#### * - ###- ##* ##### Icons: Win11-black [Qt], breeze [GTK2/3/4]
#####* #######- ###- ### ##### Font: Sans (11pt) [Qt], Noto Sans (10pt) [GTK2/3/4]
##### #####--- ### *##### Cursor: Adwaita (18px)
----------- - ### ###### Terminal: qterminal 1.2.0
----- ### ###### Terminal Font: Monospace (11pt)
@owui-terminator[bot] commented on GitHub (May 10, 2026):
🔍 Related Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
🟣 #15761 issue: v0.6.16 release Segmentation Fault (core dumped)
This is a startup crash that manifests as a core dump/segmentation fault in
open-webui serve, closely matching the reported abrupt process failure. It may point to the same class of low-level binary/runtime incompatibility even though the exact signal differs.by starlays ·
bug🟣 #21349 issue: upgrade to 0.8.0 can not start up
This issue also reports the app failing to start after the normal startup sequence, making it relevant as a prior startup-crash report. While its root cause is different, it is useful as a closely related startup failure reference.
by hzr42strrs-hash ·
bug🟣 #15897 issue: The docker image v0.6.18 does not run correctly on rpi
This is another crash-on-startup report, but on Debian 12 and non-x86 hardware, which makes it relevant to platform-specific runtime issues. The user here is also on Debian 12, so it may share an environment-related cause.
by sinfallas ·
bug💡 If your issue is a duplicate, please close it and add any additional details to the existing issue instead.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@alanwang233233 commented on GitHub (May 10, 2026):
The error I encountered is an illegal instruction, rather than a segmentation fault or other issues. Therefore, this issue is not a duplicate.
@Classic298 commented on GitHub (May 10, 2026):
This looks like a CPU-too-old issue rather than an Open WebUI bug.
Your fastfetch output shows the CPU is an Intel Pentium E5300 (Wolfdale, 2009), x86_64. Illegal instruction (core dumped) is SIGILL — the kernel killed the process because the CPU hit an opcode it doesn't implement.
The E5300 predates several instruction set extensions that modern Python ML wheels require:
POPCNT (Nehalem and newer)
SSE4.1 / SSE4.2
AVX / AVX2
Several of Open WebUI's transitive dependencies (numpy, onnxruntime, torch, tiktoken, chromadb, sentence-transformers, etc.) ship wheels built against at least the x86-64-v2 baseline (POPCNT + SSE4.2), and some assume x86-64-v3 (AVX2). The crash timing — right after the migrations finish, as the embedding/RAG stack is being imported — is consistent with the first POPCNT/SSE4.2 opcode executing.
You can confirm by checking which extensions your CPU exposes:
grep -oE 'sse4_1|sse4_2|popcnt|avx[a-z0-9_]*' /proc/cpuinfo | sort -u
And you can pinpoint which library is blowing up with:
python -X faulthandler -m open_webui serve
or gdb --args open-webui serve → run → bt after SIGILL.
Unfortunately even if you rebuilt the offending wheels from source with -march=core2, embedding/RAG workloads on 2 cores @ 2.57 GHz with 4 GB RAM aren't really viable. This is the same class of report as the Raspberry Pi/ARM ones (#15897) — just at the low end of x86_64 rather than a different ISA.