[GH-ISSUE #12497] issue: Latest version (0.6.1) hangs on raspberry pi 4 #55288

Closed
opened 2026-05-05 17:24:30 -05:00 by GiteaMirror · 5 comments
Owner

Originally created by @carlitosspot on GitHub (Apr 5, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12497

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

docker compose

Open WebUI Version

0.6.1

Ollama Version (if applicable)

No response

Operating System

Unbuntu 22.04

Browser (if applicable)

No response

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have listed steps to reproduce the bug in detail.

Expected Behavior

When using the docker compose below:

version: '3'
services:
  openwebui:
    image: ghcr.io/open-webui/open-webui:latest
    ports:
      - "3000:8080"
    volumes:
      - open-webui:/app/backend/data
volumes:
  open-webui:

I expected a message stating that the app is running on port 3000

Actual Behavior

Application hangs on start. Here's docker compose logs:

openwebui-1  | Loading WEBUI_SECRET_KEY from file, not provided as an environment variable.
openwebui-1  | Generating WEBUI_SECRET_KEY
openwebui-1  | Loading WEBUI_SECRET_KEY from .webui_secret_key
openwebui-1  | /app/backend/open_webui
openwebui-1  | /app/backend
openwebui-1  | /app
openwebui-1  | INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
openwebui-1  | INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade  -> 7e5b5dc7342b, init
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table
openwebui-1  | INFO  [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables
openwebui-1  | INFO  [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry
openwebui-1  | INFO  [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry
openwebui-1  | WARNI [open_webui.env] 
openwebui-1  | 
openwebui-1  | WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
openwebui-1  | 
openwebui-1  | INFO  [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
openwebui-1  | WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
openwebui-1  | INFO:     Started server process [1]
openwebui-1  | INFO:     Waiting for application startup.
openwebui-1  | Creating knowledge table
openwebui-1  | Migrating data from document table to knowledge table
openwebui-1  | Converting 'chat' column to JSON
openwebui-1  | Renaming 'chat' column to 'old_chat'
openwebui-1  | Adding new 'chat' column of type JSON
openwebui-1  | Dropping 'old_chat' column
openwebui-1  | Primary Key: {'name': None, 'constrained_columns': []}
openwebui-1  | Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}]
openwebui-1  | Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}]
openwebui-1  | Creating new primary key with 'id' and 'user_id'.
openwebui-1  | Dropping unique constraint: uq_id_user_id
openwebui-1  | Dropping unique index: tag_id
openwebui-1  | 
openwebui-1  |  ██████╗ ██████╗ ███████╗███╗   ██╗    ██╗    ██╗███████╗██████╗ ██╗   ██╗██╗
openwebui-1  | ██╔═══██╗██╔══██╗██╔════╝████╗  ██║    ██║    ██║██╔════╝██╔══██╗██║   ██║██║
openwebui-1  | ██║   ██║██████╔╝█████╗  ██╔██╗ ██║    ██║ █╗ ██║█████╗  ██████╔╝██║   ██║██║
openwebui-1  | ██║   ██║██╔═══╝ ██╔══╝  ██║╚██╗██║    ██║███╗██║██╔══╝  ██╔══██╗██║   ██║██║
openwebui-1  | ╚██████╔╝██║     ███████╗██║ ╚████║    ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
openwebui-1  |  ╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝     ╚══╝╚══╝ ╚══════╝╚═════╝  ╚═════╝ ╚═╝
openwebui-1  | 
openwebui-1  | 
openwebui-1  | v0.6.1 - building the best open-source AI user interface.
openwebui-1  | 
openwebui-1  | https://github.com/open-webui/open-webui
openwebui-1  | 
openwebui-1  | 2025-04-05 21:33:17.333 | INFO     | open_webui.utils.logger:start_logger:140 - GLOBAL_LOG_LEVEL: INFO - {}

Steps to Reproduce

  1. use docker compose with image tag using latest or anything above 0.6.x
  2. start app using docker compose up -d and check the logs

Logs & Screenshots

Image

Additional Information

No response

Originally created by @carlitosspot on GitHub (Apr 5, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/12497 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method docker compose ### Open WebUI Version 0.6.1 ### Ollama Version (if applicable) _No response_ ### Operating System Unbuntu 22.04 ### Browser (if applicable) _No response_ ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have listed steps to reproduce the bug in detail. ### Expected Behavior When using the docker compose below: ``` version: '3' services: openwebui: image: ghcr.io/open-webui/open-webui:latest ports: - "3000:8080" volumes: - open-webui:/app/backend/data volumes: open-webui: ``` I expected a message stating that the app is running on port 3000 ### Actual Behavior Application hangs on start. Here's docker compose logs: ``` openwebui-1 | Loading WEBUI_SECRET_KEY from file, not provided as an environment variable. openwebui-1 | Generating WEBUI_SECRET_KEY openwebui-1 | Loading WEBUI_SECRET_KEY from .webui_secret_key openwebui-1 | /app/backend/open_webui openwebui-1 | /app/backend openwebui-1 | /app openwebui-1 | INFO [alembic.runtime.migration] Context impl SQLiteImpl. openwebui-1 | INFO [alembic.runtime.migration] Will assume non-transactional DDL. openwebui-1 | INFO [alembic.runtime.migration] Running upgrade -> 7e5b5dc7342b, init openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path openwebui-1 | INFO [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table openwebui-1 | INFO [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables openwebui-1 | INFO [open_webui.env] 'DEFAULT_LOCALE' loaded from the latest database entry openwebui-1 | INFO [open_webui.env] 'DEFAULT_PROMPT_SUGGESTIONS' loaded from the latest database entry openwebui-1 | WARNI [open_webui.env] openwebui-1 | openwebui-1 | WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS. openwebui-1 | openwebui-1 | INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2 openwebui-1 | WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. openwebui-1 | INFO: Started server process [1] openwebui-1 | INFO: Waiting for application startup. openwebui-1 | Creating knowledge table openwebui-1 | Migrating data from document table to knowledge table openwebui-1 | Converting 'chat' column to JSON openwebui-1 | Renaming 'chat' column to 'old_chat' openwebui-1 | Adding new 'chat' column of type JSON openwebui-1 | Dropping 'old_chat' column openwebui-1 | Primary Key: {'name': None, 'constrained_columns': []} openwebui-1 | Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}] openwebui-1 | Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}] openwebui-1 | Creating new primary key with 'id' and 'user_id'. openwebui-1 | Dropping unique constraint: uq_id_user_id openwebui-1 | Dropping unique index: tag_id openwebui-1 | openwebui-1 | ██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗ openwebui-1 | ██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║ openwebui-1 | ██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║ openwebui-1 | ██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║ openwebui-1 | ╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║ openwebui-1 | ╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝ openwebui-1 | openwebui-1 | openwebui-1 | v0.6.1 - building the best open-source AI user interface. openwebui-1 | openwebui-1 | https://github.com/open-webui/open-webui openwebui-1 | openwebui-1 | 2025-04-05 21:33:17.333 | INFO | open_webui.utils.logger:start_logger:140 - GLOBAL_LOG_LEVEL: INFO - {} ``` ### Steps to Reproduce 1. use docker compose with image tag using `latest` or anything above `0.6.x` 2. start app using `docker compose up -d` and check the logs ### Logs & Screenshots <img width="1037" alt="Image" src="https://github.com/user-attachments/assets/fab9a06e-d0ea-4efe-b699-474f504796b6" /> ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-05 17:24:30 -05:00
Author
Owner

@gaby commented on GitHub (Apr 5, 2025):

@carlitosspot what was the issue?

<!-- gh-comment-id:2781116679 --> @gaby commented on GitHub (Apr 5, 2025): @carlitosspot what was the issue?
Author
Owner

@ghjardim commented on GitHub (Apr 6, 2025):

It hangs here too.

<!-- gh-comment-id:2781513454 --> @ghjardim commented on GitHub (Apr 6, 2025): It hangs here too.
Author
Owner

@carlitosspot commented on GitHub (Apr 6, 2025):

Hey @gaby @ghjardim

I'm still looking into it. I closed the issue when I came across the suggestion to just build a docker image specifically for the PI. I tried to pull the image with :dev tag but that didn't seem to work for me. So really the last option is building a docker image. If that fails then I'll reopen this issue and revert back to 0.5.2

<!-- gh-comment-id:2781540226 --> @carlitosspot commented on GitHub (Apr 6, 2025): Hey @gaby @ghjardim I'm still looking into it. I closed the issue when I came across the suggestion to just build a docker image specifically for the PI. I tried to pull the image with :dev tag but that didn't seem to work for me. So really the last option is building a docker image. If that fails then I'll reopen this issue and revert back to 0.5.2
Author
Owner

@carlitosspot commented on GitHub (Apr 6, 2025):

Re-opening issue. Bug in raspberry pi still persists with this fix: https://github.com/open-webui/open-webui/pull/12299/files

<!-- gh-comment-id:2781555278 --> @carlitosspot commented on GitHub (Apr 6, 2025): Re-opening issue. Bug in raspberry pi still persists with this fix: https://github.com/open-webui/open-webui/pull/12299/files
Author
Owner

@carlitosspot commented on GitHub (Apr 7, 2025):

After several trial and error to get this update on my RP 4 working, I finally got it. I had to do a clean install:

  • remove any old webui docker images & containers
  • remove app data
  • reboot RP
  • re-run docker compose up

Note that by removing the app data you'd be losing your chat history. You'd also need to reconfigure any model and settings you were previously working with. I'm currently experimenting with the app so I didn't mind starting from scratch.

<!-- gh-comment-id:2784605120 --> @carlitosspot commented on GitHub (Apr 7, 2025): After several trial and error to get this update on my RP 4 working, I finally got it. I had to do a clean install: - [x] remove any old webui docker images & containers - [x] remove app data - [x] reboot RP - [x] re-run `docker compose up` **Note** that by removing the app data you'd be losing your chat history. You'd also need to reconfigure any model and settings you were previously working with. I'm currently experimenting with the app so I didn't mind starting from scratch.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#55288