[GH-ISSUE #17583] feat: Enable Non root Usage For Docker #105329

Closed
opened 2026-05-18 03:17:28 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @YTKme on GitHub (Sep 18, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17583

Check Existing Issues

  • I have searched the existing issues and discussions.

Problem Description

I am running Open WebUI through TrueNAS, which runs the application using containers. But I am encountering a permission issue with deploying Ollama with the Open Web UI container after around ~v0.6.27. But from a conversation on the TrueNAS side, it might be update from v0.6.23.

I got the error of

2025-09-17 19:30:42.793100+00:00Error: mkdir /root/.ollama: permission denied: ensure path elements are traversable

I tried changing permission of the path use for /root/.ollama, even with 777 permission, it was still producing the above error. The work around is currently setting the User and Group of ID 0, which is root.

Desired Solution you'd like

Would like to be able to deploy Open WebUI with non-root user.

Alternatives Considered

No response

Additional Context

Deploy Log

2025-09-17 19:30:42.744877+00:00USE_OLLAMA is set to true, starting ollama serve.
2025-09-17 19:30:42.793032+00:00time=2025-09-17T12:30:42.792-07:00 level=INFO source=routes.go:1331 msg="server config" env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:4096 OLLAMA_DEBUG:INFO OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/root/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NEW_ESTIMATES:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:]"
2025-09-17 19:30:42.793100+00:00Error: mkdir /root/.ollama: permission denied: ensure path elements are traversable
2025-09-17 19:30:46.963782+00:00INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
2025-09-17 19:30:46.963866+00:00INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
2025-09-17 19:30:46.997124+00:00INFO  [alembic.runtime.migration] Running upgrade  -> 7e5b5dc7342b, init
2025-09-17 19:30:47.023128+00:00INFO  [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table
2025-09-17 19:30:47.074303+00:00INFO  [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table
2025-09-17 19:30:47.183244+00:00INFO  [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table
2025-09-17 19:30:47.240427+00:00INFO  [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table
2025-09-17 19:30:47.350558+00:00INFO  [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags
2025-09-17 19:30:47.425238+00:00INFO  [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags
2025-09-17 19:30:47.475903+00:00INFO  [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table
2025-09-17 19:30:47.549534+00:00INFO  [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path
2025-09-17 19:30:47.634927+00:00INFO  [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table
2025-09-17 19:30:47.685690+00:00INFO  [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields
2025-09-17 19:30:47.735215+00:00INFO  [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table
2025-09-17 19:30:47.917877+00:00INFO  [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table
2025-09-17 19:30:48.004026+00:00INFO  [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table
2025-09-17 19:30:48.053211+00:00INFO  [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables
2025-09-17 19:30:48.192091+00:00INFO  [alembic.runtime.migration] Running upgrade 3781e22d8b01 -> 9f0c9cd09105, Add note table
2025-09-17 19:30:48.237709+00:00INFO  [alembic.runtime.migration] Running upgrade 9f0c9cd09105 -> d31026856c01, Update folder table data
2025-09-17 19:30:48.287519+00:00INFO  [alembic.runtime.migration] Running upgrade d31026856c01 -> 018012973d35, Add indexes
2025-09-17 19:30:48.489562+00:00INFO  [alembic.runtime.migration] Running upgrade 018012973d35 -> 3af16a1c9fb6, update user table
2025-09-17 19:30:48.615043+00:00INFO  [alembic.runtime.migration] Running upgrade 3af16a1c9fb6 -> 38d63c18f30f, Add oauth_session table
2025-09-17 19:30:48.747166+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash-dark.png'
2025-09-17 19:30:48.747207+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash.png'
2025-09-17 19:30:48.747294+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/web-app-manifest-192x192.png'
2025-09-17 19:30:48.747381+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.png'
2025-09-17 19:30:48.747524+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/user-import.csv'
2025-09-17 19:30:48.747611+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/logo.png'
2025-09-17 19:30:48.747728+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.svg'
2025-09-17 19:30:48.747818+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/custom.css'
2025-09-17 19:30:48.747919+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/apple-touch-icon.png'
2025-09-17 19:30:48.748000+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/user.png'
2025-09-17 19:30:48.748102+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/loader.js'
2025-09-17 19:30:48.748184+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon-dark.png'
2025-09-17 19:30:48.748287+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/web-app-manifest-512x512.png'
2025-09-17 19:30:48.748368+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/site.webmanifest'
2025-09-17 19:30:48.748459+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon-96x96.png'
2025-09-17 19:30:48.748550+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.ico'
2025-09-17 19:30:48.748653+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.png'
2025-09-17 19:30:48.748722+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash.png'
2025-09-17 19:30:48.748790+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/loader.js'
2025-09-17 19:30:48.749044+00:00WARNI [open_webui.env] 
2025-09-17 19:30:48.749056+00:002025-09-17T19:30:48.749056147Z
2025-09-17 19:30:48.749068+00:00WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS.
2025-09-17 19:30:48.749075+00:002025-09-17T19:30:48.749075687Z
2025-09-17 19:30:49.054861+00:00INFO  [open_webui.env] VECTOR_DB: chroma
2025-09-17 19:30:49.054924+00:00INFO  [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2
2025-09-17 19:30:50.019912+00:00WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests.
2025-09-17 19:30:53.373640+00:00Creating knowledge table
2025-09-17 19:30:53.373712+00:00Migrating data from document table to knowledge table
2025-09-17 19:30:53.373730+00:00Converting 'chat' column to JSON
2025-09-17 19:30:53.373765+00:00Renaming 'chat' column to 'old_chat'
2025-09-17 19:30:53.373781+00:00Adding new 'chat' column of type JSON
2025-09-17 19:30:53.373808+00:00Dropping 'old_chat' column
2025-09-17 19:30:53.373826+00:00Primary Key: {'name': None, 'constrained_columns': []}
2025-09-17 19:30:53.373845+00:00Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}]
2025-09-17 19:30:53.373873+00:00Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}]
2025-09-17 19:30:53.373915+00:00Creating new primary key with 'id' and 'user_id'.
2025-09-17 19:30:53.373933+00:00Dropping unique constraint: uq_id_user_id
2025-09-17 19:30:53.373958+00:00Dropping unique index: tag_id
2025-09-17 19:30:53.373976+00:002025-09-17T19:30:53.373976465Z
2025-09-17 19:30:53.373994+00:00██████╗ ██████╗ ███████╗███╗   ██╗    ██╗    ██╗███████╗██████╗ ██╗   ██╗██╗
2025-09-17 19:30:53.374016+00:00██╔═══██╗██╔══██╗██╔════╝████╗  ██║    ██║    ██║██╔════╝██╔══██╗██║   ██║██║
2025-09-17 19:30:53.374045+00:00██║   ██║██████╔╝█████╗  ██╔██╗ ██║    ██║ █╗ ██║█████╗  ██████╔╝██║   ██║██║
2025-09-17 19:30:53.374065+00:00██║   ██║██╔═══╝ ██╔══╝  ██║╚██╗██║    ██║███╗██║██╔══╝  ██╔══██╗██║   ██║██║
2025-09-17 19:30:53.374092+00:00╚██████╔╝██║     ███████╗██║ ╚████║    ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║
2025-09-17 19:30:53.374119+00:00╚═════╝ ╚═╝     ╚══════╝╚═╝  ╚═══╝     ╚══╝╚══╝ ╚══════╝╚═════╝  ╚═════╝ ╚═╝
2025-09-17 19:30:53.374128+00:002025-09-17T19:30:53.374128859Z
2025-09-17 19:30:53.374135+00:002025-09-17T19:30:53.374135900Z
2025-09-17 19:30:53.374142+00:00v0.6.28 - building the best AI user interface.
2025-09-17 19:30:53.374153+00:002025-09-17T19:30:53.374153657Z
2025-09-17 19:30:53.374159+00:00https://github.com/open-webui/open-webui
2025-09-17 19:30:53.374199+00:002025-09-17T19:30:53.374199457Z
2025-09-17 19:31:01.949883+00:00Fetching 30 files:   0%|          | 0/30 [00:00<?, ?it/s]
Fetching 30 files:   3%|▎         | 1/30 [00:00<00:05,  5.23it/s]
Fetching 30 files:  23%|██▎       | 7/30 [00:04<00:13,  1.67it/s]
Fetching 30 files:  30%|███       | 9/30 [00:06<00:16,  1.24it/s]
Fetching 30 files:  57%|█████▋    | 17/30 [00:07<00:04,  2.63it/s]
Fetching 30 files:  73%|███████▎  | 22/30 [00:08<00:02,  3.27it/s]
Fetching 30 files: 100%|██████████| 30/30 [00:08<00:00,  3.50it/s]
2025-09-17 19:31:02.337921+00:00INFO:     Started server process [1]
2025-09-17 19:31:02.337971+00:00INFO:     Waiting for application startup.
2025-09-17 19:31:02.343068+00:002025-09-17 12:31:02.342 | INFO     | open_webui.utils.logger:start_logger:162 - GLOBAL_LOG_LEVEL: INFO
2025-09-17 19:31:02.343101+00:002025-09-17 12:31:02.343 | INFO     | open_webui.main:lifespan:541 - Installing external dependencies of functions and tools...
2025-09-17 19:31:02.348367+00:002025-09-17 12:31:02.348 | INFO     | open_webui.utils.plugin:install_frontmatter_requirements:241 - No requirements found in frontmatter.
2025-09-17 19:39:03.455492+00:002025-09-17 12:39:03.455 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54525 - "GET /api/config HTTP/1.1" 200
2025-09-17 19:39:03.464996+00:002025-09-17 12:39:03.464 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54525 - "GET /api/v1/auths/ HTTP/1.1" 401
2025-09-17 19:39:28.598291+00:002025-09-17 12:39:28.597 | INFO     | open_webui.models.auths:insert_new_auth:103 - insert_new_auth
2025-09-17 19:39:28.676281+00:002025-09-17 12:39:28.676 | INFO     | open_webui.config:save:212 - Saving 'ENABLE_SIGNUP' to the database
2025-09-17 19:39:28.705556+00:002025-09-17 12:39:28.705 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "POST /api/v1/auths/signup HTTP/1.1" 200
2025-09-17 19:39:28.733084+00:002025-09-17 12:39:28.732 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/config HTTP/1.1" 200
2025-09-17 19:39:28.771371+00:002025-09-17 12:39:28.771 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/chats/archived?page=1&order_by=updated_at&direction=desc HTTP/1.1" 200
2025-09-17 19:39:28.781431+00:002025-09-17 12:39:28.781 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/changelog HTTP/1.1" 200
2025-09-17 19:39:28.782760+00:002025-09-17 12:39:28.782 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/channels/ HTTP/1.1" 200
2025-09-17 19:39:28.785920+00:002025-09-17 12:39:28.785 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/channels/ HTTP/1.1" 200
2025-09-17 19:39:28.785976+00:002025-09-17 12:39:28.785 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54542 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2025-09-17 19:39:28.788705+00:002025-09-17 12:39:28.788 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54544 - "GET /api/v1/folders/ HTTP/1.1" 200
2025-09-17 19:39:28.791419+00:002025-09-17 12:39:28.791 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/users/user/settings HTTP/1.1" 200
2025-09-17 19:39:28.795201+00:002025-09-17 12:39:28.795 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/chats/all/tags HTTP/1.1" 200
2025-09-17 19:39:28.798365+00:002025-09-17 12:39:28.797 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/chats/all/tags HTTP/1.1" 200
2025-09-17 19:39:28.801030+00:002025-09-17 12:39:28.800 | INFO     | open_webui.routers.openai:get_all_models:466 - get_all_models()
2025-09-17 19:39:28.801894+00:002025-09-17 12:39:28.801 | INFO     | open_webui.routers.ollama:get_all_models:348 - get_all_models()
2025-09-17 19:39:28.808289+00:002025-09-17 12:39:28.808 | ERROR    | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)]
2025-09-17 19:39:28.810035+00:002025-09-17 12:39:28.809 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/chats/pinned HTTP/1.1" 200
2025-09-17 19:39:28.810060+00:002025-09-17 12:39:28.810 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/chats/pinned HTTP/1.1" 200
2025-09-17 19:39:28.811772+00:002025-09-17 12:39:28.811 | ERROR    | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)]
2025-09-17 19:39:28.826772+00:002025-09-17 12:39:28.826 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/folders/ HTTP/1.1" 200
2025-09-17 19:39:28.829642+00:002025-09-17 12:39:28.829 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54544 - "GET /api/v1/folders/ HTTP/1.1" 200
2025-09-17 19:39:28.830271+00:002025-09-17 12:39:28.830 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54542 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2025-09-17 19:39:28.832228+00:002025-09-17 12:39:28.832 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200
2025-09-17 19:39:28.841099+00:002025-09-17 12:39:28.841 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/folders/ HTTP/1.1" 200
2025-09-17 19:39:28.841498+00:002025-09-17 12:39:28.841 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/folders/ HTTP/1.1" 200
2025-09-17 19:39:28.918684+00:002025-09-17 12:39:28.918 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/models HTTP/1.1" 200
2025-09-17 19:39:28.927959+00:002025-09-17 12:39:28.927 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/configs/banners HTTP/1.1" 200
2025-09-17 19:39:28.937085+00:002025-09-17 12:39:28.936 | ERROR    | open_webui.utils.tools:get_tool_servers:514 - Error fetching tool_servers from Redis: the JSON object must be str, bytes or bytearray, not NoneType
2025-09-17 19:39:28.937579+00:002025-09-17 12:39:28.937 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/tools/ HTTP/1.1" 200
2025-09-17 19:39:28.997405+00:002025-09-17 12:39:28.997 | ERROR    | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)]
2025-09-17 19:39:28.997650+00:002025-09-17 12:39:28.997 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /ollama/api/version HTTP/1.1" 500
2025-09-17 19:39:29.022798+00:002025-09-17 12:39:29.022 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/users/user/settings HTTP/1.1" 200
2025-09-17 19:39:29.023119+00:002025-09-17 12:39:29.023 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/version/updates HTTP/1.1" 200
2025-09-17 19:39:38.579686+00:002025-09-17 12:39:38.579 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54551 - "POST /api/v1/users/user/settings/update HTTP/1.1" 200
2025-09-17 19:39:41.860359+00:002025-09-17 12:39:41.860 | INFO     | open_webui.routers.openai:get_all_models:466 - get_all_models()
2025-09-17 19:39:41.860637+00:002025-09-17 12:39:41.860 | INFO     | open_webui.routers.ollama:get_all_models:348 - get_all_models()
2025-09-17 19:39:41.863050+00:002025-09-17 12:39:41.862 | ERROR    | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)]
2025-09-17 19:39:41.864276+00:002025-09-17 12:39:41.864 | ERROR    | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)]
2025-09-17 19:39:42.037062+00:002025-09-17 12:39:42.036 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54551 - "GET /api/models HTTP/1.1" 200
2025-09-17 19:40:03.223094+00:002025-09-17 12:40:03.222 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54560 - "GET /_app/version.json HTTP/1.1" 200
Originally created by @YTKme on GitHub (Sep 18, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/17583 ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### Problem Description I am running Open WebUI through TrueNAS, which runs the application using containers. But I am encountering a permission issue with deploying Ollama with the Open Web UI container after around ~v0.6.27. But from a [conversation on the TrueNAS side](https://github.com/truenas/apps/issues/3143#issuecomment-3308616499), it might be update from [v0.6.23](https://github.com/open-webui/open-webui/releases/tag/v0.6.23). I got the error of ``` 2025-09-17 19:30:42.793100+00:00Error: mkdir /root/.ollama: permission denied: ensure path elements are traversable ``` I tried changing permission of the path use for `/root/.ollama`, even with 777 permission, it was still producing the above error. The work around is currently setting the User and Group of ID `0`, which is `root`. ### Desired Solution you'd like Would like to be able to deploy Open WebUI with non-root user. ### Alternatives Considered _No response_ ### Additional Context Deploy Log ``` 2025-09-17 19:30:42.744877+00:00USE_OLLAMA is set to true, starting ollama serve. 2025-09-17 19:30:42.793032+00:00time=2025-09-17T12:30:42.792-07:00 level=INFO source=routes.go:1331 msg="server config" env="map[CUDA_VISIBLE_DEVICES: GPU_DEVICE_ORDINAL: HIP_VISIBLE_DEVICES: HSA_OVERRIDE_GFX_VERSION: HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:4096 OLLAMA_DEBUG:INFO OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_INTEL_GPU:false OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/root/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NEW_ESTIMATES:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_SCHED_SPREAD:false ROCR_VISIBLE_DEVICES: http_proxy: https_proxy: no_proxy:]" 2025-09-17 19:30:42.793100+00:00Error: mkdir /root/.ollama: permission denied: ensure path elements are traversable 2025-09-17 19:30:46.963782+00:00INFO [alembic.runtime.migration] Context impl SQLiteImpl. 2025-09-17 19:30:46.963866+00:00INFO [alembic.runtime.migration] Will assume non-transactional DDL. 2025-09-17 19:30:46.997124+00:00INFO [alembic.runtime.migration] Running upgrade -> 7e5b5dc7342b, init 2025-09-17 19:30:47.023128+00:00INFO [alembic.runtime.migration] Running upgrade 7e5b5dc7342b -> ca81bd47c050, Add config table 2025-09-17 19:30:47.074303+00:00INFO [alembic.runtime.migration] Running upgrade ca81bd47c050 -> c0fbf31ca0db, Update file table 2025-09-17 19:30:47.183244+00:00INFO [alembic.runtime.migration] Running upgrade c0fbf31ca0db -> 6a39f3d8e55c, Add knowledge table 2025-09-17 19:30:47.240427+00:00INFO [alembic.runtime.migration] Running upgrade 6a39f3d8e55c -> 242a2047eae0, Update chat table 2025-09-17 19:30:47.350558+00:00INFO [alembic.runtime.migration] Running upgrade 242a2047eae0 -> 1af9b942657b, Migrate tags 2025-09-17 19:30:47.425238+00:00INFO [alembic.runtime.migration] Running upgrade 1af9b942657b -> 3ab32c4b8f59, Update tags 2025-09-17 19:30:47.475903+00:00INFO [alembic.runtime.migration] Running upgrade 3ab32c4b8f59 -> c69f45358db4, Add folder table 2025-09-17 19:30:47.549534+00:00INFO [alembic.runtime.migration] Running upgrade c69f45358db4 -> c29facfe716b, Update file table path 2025-09-17 19:30:47.634927+00:00INFO [alembic.runtime.migration] Running upgrade c29facfe716b -> af906e964978, Add feedback table 2025-09-17 19:30:47.685690+00:00INFO [alembic.runtime.migration] Running upgrade af906e964978 -> 4ace53fd72c8, Update folder table and change DateTime to BigInteger for timestamp fields 2025-09-17 19:30:47.735215+00:00INFO [alembic.runtime.migration] Running upgrade 4ace53fd72c8 -> 922e7a387820, Add group table 2025-09-17 19:30:47.917877+00:00INFO [alembic.runtime.migration] Running upgrade 922e7a387820 -> 57c599a3cb57, Add channel table 2025-09-17 19:30:48.004026+00:00INFO [alembic.runtime.migration] Running upgrade 57c599a3cb57 -> 7826ab40b532, Update file table 2025-09-17 19:30:48.053211+00:00INFO [alembic.runtime.migration] Running upgrade 7826ab40b532 -> 3781e22d8b01, Update message & channel tables 2025-09-17 19:30:48.192091+00:00INFO [alembic.runtime.migration] Running upgrade 3781e22d8b01 -> 9f0c9cd09105, Add note table 2025-09-17 19:30:48.237709+00:00INFO [alembic.runtime.migration] Running upgrade 9f0c9cd09105 -> d31026856c01, Update folder table data 2025-09-17 19:30:48.287519+00:00INFO [alembic.runtime.migration] Running upgrade d31026856c01 -> 018012973d35, Add indexes 2025-09-17 19:30:48.489562+00:00INFO [alembic.runtime.migration] Running upgrade 018012973d35 -> 3af16a1c9fb6, update user table 2025-09-17 19:30:48.615043+00:00INFO [alembic.runtime.migration] Running upgrade 3af16a1c9fb6 -> 38d63c18f30f, Add oauth_session table 2025-09-17 19:30:48.747166+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash-dark.png' 2025-09-17 19:30:48.747207+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash.png' 2025-09-17 19:30:48.747294+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/web-app-manifest-192x192.png' 2025-09-17 19:30:48.747381+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.png' 2025-09-17 19:30:48.747524+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/user-import.csv' 2025-09-17 19:30:48.747611+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/logo.png' 2025-09-17 19:30:48.747728+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.svg' 2025-09-17 19:30:48.747818+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/custom.css' 2025-09-17 19:30:48.747919+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/apple-touch-icon.png' 2025-09-17 19:30:48.748000+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/user.png' 2025-09-17 19:30:48.748102+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/loader.js' 2025-09-17 19:30:48.748184+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon-dark.png' 2025-09-17 19:30:48.748287+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/web-app-manifest-512x512.png' 2025-09-17 19:30:48.748368+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/site.webmanifest' 2025-09-17 19:30:48.748459+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon-96x96.png' 2025-09-17 19:30:48.748550+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.ico' 2025-09-17 19:30:48.748653+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/favicon.png' 2025-09-17 19:30:48.748722+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/splash.png' 2025-09-17 19:30:48.748790+00:00ERROR [root] An error occurred: [Errno 13] Permission denied: '/app/backend/open_webui/static/loader.js' 2025-09-17 19:30:48.749044+00:00WARNI [open_webui.env] 2025-09-17 19:30:48.749056+00:002025-09-17T19:30:48.749056147Z 2025-09-17 19:30:48.749068+00:00WARNING: CORS_ALLOW_ORIGIN IS SET TO '*' - NOT RECOMMENDED FOR PRODUCTION DEPLOYMENTS. 2025-09-17 19:30:48.749075+00:002025-09-17T19:30:48.749075687Z 2025-09-17 19:30:49.054861+00:00INFO [open_webui.env] VECTOR_DB: chroma 2025-09-17 19:30:49.054924+00:00INFO [open_webui.env] Embedding model set: sentence-transformers/all-MiniLM-L6-v2 2025-09-17 19:30:50.019912+00:00WARNI [langchain_community.utils.user_agent] USER_AGENT environment variable not set, consider setting it to identify your requests. 2025-09-17 19:30:53.373640+00:00Creating knowledge table 2025-09-17 19:30:53.373712+00:00Migrating data from document table to knowledge table 2025-09-17 19:30:53.373730+00:00Converting 'chat' column to JSON 2025-09-17 19:30:53.373765+00:00Renaming 'chat' column to 'old_chat' 2025-09-17 19:30:53.373781+00:00Adding new 'chat' column of type JSON 2025-09-17 19:30:53.373808+00:00Dropping 'old_chat' column 2025-09-17 19:30:53.373826+00:00Primary Key: {'name': None, 'constrained_columns': []} 2025-09-17 19:30:53.373845+00:00Unique Constraints: [{'name': 'uq_id_user_id', 'column_names': ['id', 'user_id']}] 2025-09-17 19:30:53.373873+00:00Indexes: [{'name': 'tag_id', 'column_names': ['id'], 'unique': 1, 'dialect_options': {}}] 2025-09-17 19:30:53.373915+00:00Creating new primary key with 'id' and 'user_id'. 2025-09-17 19:30:53.373933+00:00Dropping unique constraint: uq_id_user_id 2025-09-17 19:30:53.373958+00:00Dropping unique index: tag_id 2025-09-17 19:30:53.373976+00:002025-09-17T19:30:53.373976465Z 2025-09-17 19:30:53.373994+00:00██████╗ ██████╗ ███████╗███╗ ██╗ ██╗ ██╗███████╗██████╗ ██╗ ██╗██╗ 2025-09-17 19:30:53.374016+00:00██╔═══██╗██╔══██╗██╔════╝████╗ ██║ ██║ ██║██╔════╝██╔══██╗██║ ██║██║ 2025-09-17 19:30:53.374045+00:00██║ ██║██████╔╝█████╗ ██╔██╗ ██║ ██║ █╗ ██║█████╗ ██████╔╝██║ ██║██║ 2025-09-17 19:30:53.374065+00:00██║ ██║██╔═══╝ ██╔══╝ ██║╚██╗██║ ██║███╗██║██╔══╝ ██╔══██╗██║ ██║██║ 2025-09-17 19:30:53.374092+00:00╚██████╔╝██║ ███████╗██║ ╚████║ ╚███╔███╔╝███████╗██████╔╝╚██████╔╝██║ 2025-09-17 19:30:53.374119+00:00╚═════╝ ╚═╝ ╚══════╝╚═╝ ╚═══╝ ╚══╝╚══╝ ╚══════╝╚═════╝ ╚═════╝ ╚═╝ 2025-09-17 19:30:53.374128+00:002025-09-17T19:30:53.374128859Z 2025-09-17 19:30:53.374135+00:002025-09-17T19:30:53.374135900Z 2025-09-17 19:30:53.374142+00:00v0.6.28 - building the best AI user interface. 2025-09-17 19:30:53.374153+00:002025-09-17T19:30:53.374153657Z 2025-09-17 19:30:53.374159+00:00https://github.com/open-webui/open-webui 2025-09-17 19:30:53.374199+00:002025-09-17T19:30:53.374199457Z 2025-09-17 19:31:01.949883+00:00Fetching 30 files: 0%| | 0/30 [00:00<?, ?it/s] Fetching 30 files: 3%|▎ | 1/30 [00:00<00:05, 5.23it/s] Fetching 30 files: 23%|██▎ | 7/30 [00:04<00:13, 1.67it/s] Fetching 30 files: 30%|███ | 9/30 [00:06<00:16, 1.24it/s] Fetching 30 files: 57%|█████▋ | 17/30 [00:07<00:04, 2.63it/s] Fetching 30 files: 73%|███████▎ | 22/30 [00:08<00:02, 3.27it/s] Fetching 30 files: 100%|██████████| 30/30 [00:08<00:00, 3.50it/s] 2025-09-17 19:31:02.337921+00:00INFO: Started server process [1] 2025-09-17 19:31:02.337971+00:00INFO: Waiting for application startup. 2025-09-17 19:31:02.343068+00:002025-09-17 12:31:02.342 | INFO | open_webui.utils.logger:start_logger:162 - GLOBAL_LOG_LEVEL: INFO 2025-09-17 19:31:02.343101+00:002025-09-17 12:31:02.343 | INFO | open_webui.main:lifespan:541 - Installing external dependencies of functions and tools... 2025-09-17 19:31:02.348367+00:002025-09-17 12:31:02.348 | INFO | open_webui.utils.plugin:install_frontmatter_requirements:241 - No requirements found in frontmatter. 2025-09-17 19:39:03.455492+00:002025-09-17 12:39:03.455 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54525 - "GET /api/config HTTP/1.1" 200 2025-09-17 19:39:03.464996+00:002025-09-17 12:39:03.464 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54525 - "GET /api/v1/auths/ HTTP/1.1" 401 2025-09-17 19:39:28.598291+00:002025-09-17 12:39:28.597 | INFO | open_webui.models.auths:insert_new_auth:103 - insert_new_auth 2025-09-17 19:39:28.676281+00:002025-09-17 12:39:28.676 | INFO | open_webui.config:save:212 - Saving 'ENABLE_SIGNUP' to the database 2025-09-17 19:39:28.705556+00:002025-09-17 12:39:28.705 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "POST /api/v1/auths/signup HTTP/1.1" 200 2025-09-17 19:39:28.733084+00:002025-09-17 12:39:28.732 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/config HTTP/1.1" 200 2025-09-17 19:39:28.771371+00:002025-09-17 12:39:28.771 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/chats/archived?page=1&order_by=updated_at&direction=desc HTTP/1.1" 200 2025-09-17 19:39:28.781431+00:002025-09-17 12:39:28.781 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/changelog HTTP/1.1" 200 2025-09-17 19:39:28.782760+00:002025-09-17 12:39:28.782 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/channels/ HTTP/1.1" 200 2025-09-17 19:39:28.785920+00:002025-09-17 12:39:28.785 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/channels/ HTTP/1.1" 200 2025-09-17 19:39:28.785976+00:002025-09-17 12:39:28.785 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54542 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 2025-09-17 19:39:28.788705+00:002025-09-17 12:39:28.788 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54544 - "GET /api/v1/folders/ HTTP/1.1" 200 2025-09-17 19:39:28.791419+00:002025-09-17 12:39:28.791 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/users/user/settings HTTP/1.1" 200 2025-09-17 19:39:28.795201+00:002025-09-17 12:39:28.795 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 2025-09-17 19:39:28.798365+00:002025-09-17 12:39:28.797 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/chats/all/tags HTTP/1.1" 200 2025-09-17 19:39:28.801030+00:002025-09-17 12:39:28.800 | INFO | open_webui.routers.openai:get_all_models:466 - get_all_models() 2025-09-17 19:39:28.801894+00:002025-09-17 12:39:28.801 | INFO | open_webui.routers.ollama:get_all_models:348 - get_all_models() 2025-09-17 19:39:28.808289+00:002025-09-17 12:39:28.808 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)] 2025-09-17 19:39:28.810035+00:002025-09-17 12:39:28.809 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/chats/pinned HTTP/1.1" 200 2025-09-17 19:39:28.810060+00:002025-09-17 12:39:28.810 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/chats/pinned HTTP/1.1" 200 2025-09-17 19:39:28.811772+00:002025-09-17 12:39:28.811 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)] 2025-09-17 19:39:28.826772+00:002025-09-17 12:39:28.826 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/folders/ HTTP/1.1" 200 2025-09-17 19:39:28.829642+00:002025-09-17 12:39:28.829 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54544 - "GET /api/v1/folders/ HTTP/1.1" 200 2025-09-17 19:39:28.830271+00:002025-09-17 12:39:28.830 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54542 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 2025-09-17 19:39:28.832228+00:002025-09-17 12:39:28.832 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54545 - "GET /api/v1/chats/?page=1 HTTP/1.1" 200 2025-09-17 19:39:28.841099+00:002025-09-17 12:39:28.841 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/folders/ HTTP/1.1" 200 2025-09-17 19:39:28.841498+00:002025-09-17 12:39:28.841 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54543 - "GET /api/v1/folders/ HTTP/1.1" 200 2025-09-17 19:39:28.918684+00:002025-09-17 12:39:28.918 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/models HTTP/1.1" 200 2025-09-17 19:39:28.927959+00:002025-09-17 12:39:28.927 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/configs/banners HTTP/1.1" 200 2025-09-17 19:39:28.937085+00:002025-09-17 12:39:28.936 | ERROR | open_webui.utils.tools:get_tool_servers:514 - Error fetching tool_servers from Redis: the JSON object must be str, bytes or bytearray, not NoneType 2025-09-17 19:39:28.937579+00:002025-09-17 12:39:28.937 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/v1/tools/ HTTP/1.1" 200 2025-09-17 19:39:28.997405+00:002025-09-17 12:39:28.997 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)] 2025-09-17 19:39:28.997650+00:002025-09-17 12:39:28.997 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /ollama/api/version HTTP/1.1" 500 2025-09-17 19:39:29.022798+00:002025-09-17 12:39:29.022 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54540 - "GET /api/v1/users/user/settings HTTP/1.1" 200 2025-09-17 19:39:29.023119+00:002025-09-17 12:39:29.023 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54541 - "GET /api/version/updates HTTP/1.1" 200 2025-09-17 19:39:38.579686+00:002025-09-17 12:39:38.579 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54551 - "POST /api/v1/users/user/settings/update HTTP/1.1" 200 2025-09-17 19:39:41.860359+00:002025-09-17 12:39:41.860 | INFO | open_webui.routers.openai:get_all_models:466 - get_all_models() 2025-09-17 19:39:41.860637+00:002025-09-17 12:39:41.860 | INFO | open_webui.routers.ollama:get_all_models:348 - get_all_models() 2025-09-17 19:39:41.863050+00:002025-09-17 12:39:41.862 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)] 2025-09-17 19:39:41.864276+00:002025-09-17 12:39:41.864 | ERROR | open_webui.routers.ollama:send_get_request:106 - Connection error: Cannot connect to host localhost:11434 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 11434, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 11434)] 2025-09-17 19:39:42.037062+00:002025-09-17 12:39:42.036 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54551 - "GET /api/models HTTP/1.1" 200 2025-09-17 19:40:03.223094+00:002025-09-17 12:40:03.222 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 10.126.173.158:54560 - "GET /_app/version.json HTTP/1.1" 200 ```
Author
Owner

@tjbck commented on GitHub (Sep 18, 2025):

You can build your own image.

<!-- gh-comment-id:3309835551 --> @tjbck commented on GitHub (Sep 18, 2025): You can build your own image.
Author
Owner

@stavros-k commented on GitHub (Sep 25, 2025):

You can build your own image.

@tjbck
Issues started after the linked release

Quoting from changelog

📦 Improved Docker Image Compatibility for Arbitrary UIDs: Fixed issues preventing the Open WebUI container from running in environments with arbitrary User IDs (UIDs), such as OpenShift's restricted Security Context Constraints (SCC). The Dockerfile has been updated to correctly set file system permissions for "/app" and "/root" directories, ensuring they are writable by processes running with a supplemental GID 0, thus resolving permission errors for Python libraries and application caches.

It is either a supported way to run open-webui or not. If its not then such improvements should be removed entirely?

<!-- gh-comment-id:3333973710 --> @stavros-k commented on GitHub (Sep 25, 2025): > You can build your own image. @tjbck Issues started after the linked release Quoting from changelog ``` 📦 Improved Docker Image Compatibility for Arbitrary UIDs: Fixed issues preventing the Open WebUI container from running in environments with arbitrary User IDs (UIDs), such as OpenShift's restricted Security Context Constraints (SCC). The Dockerfile has been updated to correctly set file system permissions for "/app" and "/root" directories, ensuring they are writable by processes running with a supplemental GID 0, thus resolving permission errors for Python libraries and application caches. ``` It is either a supported way to run open-webui or not. If its not then such improvements should be removed entirely?
Author
Owner

@rgaricano commented on GitHub (Sep 25, 2025):

are you tried? with:

  • mounting correctly the volumes: docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
  • or using a separate docker for ollama.
<!-- gh-comment-id:3334208301 --> @rgaricano commented on GitHub (Sep 25, 2025): are you tried? with: - mounting correctly the volumes: `docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama` - or using a separate docker for ollama.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#105329