-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What happened?
Summary
/ui (SSO) returns 404 on non-root deployment when visiting /ui/login because the non-root image expects a prebuilt, folderized UI at /tmp/litellm_ui, but ships a flat bundle under /app/litellm/proxy/_experimental/out (e.g., login.html with no login/index.html). Runtime restructuring is skipped, so /ui/login 404s.
Environment
- Version/branch: v1.80.8-nightly
- Deployment: non-root image (
LITELLM_NON_ROOT=true) - Path to UI bundle in image:
/app/litellm/proxy/_experimental/out SERVER_ROOT_PATH: unset- Proxy was started normally (uvicorn/gunicorn entrypoint)
Steps to Reproduce
- Deploy the non-root image with
LITELLM_NON_ROOT=true. - Do not pre-populate
/tmp/litellm_ui(default state of the image). - Hit
https://<host>/ui/→ redirects to/ui/login. /ui/loginreturns HTTP 404 ({"detail":"Not Found"}).
Observed
- In the container:
/app/litellm/proxy/_experimental/outcontainslogin.htmlbut nologin/directory. /tmp/litellm_uiis absent, so nothing is mounted at/ui.- Requests to
/ui/login(or/ui/login/index.html) return 404.
Expected
/ui/loginshould serve the login page without requiring manual pre-folderization or manual copying to/tmp/litellm_ui.
Relevant log output
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
v1.80.8-nightly
Twitter / LinkedIn details
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working