[GH-ISSUE #18617] issue: self-hosted instance of Marker won't have an API key, but this is required #105648

Closed
opened 2026-05-18 03:41:32 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @kidwellj on GitHub (Oct 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18617

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Docker

Open WebUI Version

v0.6.34

Ollama Version (if applicable)

n/a

Operating System

macOS Sequoia 15.7.1

Browser (if applicable)

Firefox

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 provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

Open-WebUI works flawlessly with the datalab hosted instance of marker using an API key. I'd like to be able to access a self-hosted instance of marker-server without entering an API key.

Actual Behavior

I've been tinkering around with trying to run a locally hosted instance of marker, but some of the easiest ways of running marker (via marker_server) expose an API, but there isn't an API key so far as I can tell. I can't currently save settings in Open-WebUI with a new URL without also entering an API key, which currently errors if blank. Is it possible to shift this behaviour to allow users to work without API key when locally hosted?

Steps to Reproduce

export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source ~/.zshrc
pyenv install 3.10.18
pyenv virtualenv 3.10.18 marker
pyenv activate marker
pip3 install torch torchvision
pip3 install psutil
pip3 install marker-pdf
marker_server --port 8001

Logs & Screenshots

Open-WebUI provides the (intended) error message: "datalab Marker API key required" if the field is blank and one tries to save settings.

Additional Information

No response

Originally created by @kidwellj on GitHub (Oct 25, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/18617 ### Check Existing Issues - [x] I have searched for any existing and/or related issues. - [x] I have searched for any existing and/or related discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Docker ### Open WebUI Version v0.6.34 ### Ollama Version (if applicable) n/a ### Operating System macOS Sequoia 15.7.1 ### Browser (if applicable) Firefox ### 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 **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior Open-WebUI works flawlessly with the datalab hosted instance of marker using an API key. I'd like to be able to access a self-hosted instance of marker-server without entering an API key. ### Actual Behavior I've been tinkering around with trying to run a locally hosted instance of marker, but some of the easiest ways of running marker (via marker_server) expose an API, but there isn't an API key so far as I can tell. I can't currently save settings in Open-WebUI with a new URL without also entering an API key, which currently errors if blank. Is it possible to shift this behaviour to allow users to work without API key when locally hosted? ### Steps to Reproduce ``` export PYENV_ROOT="$HOME/.pyenv" export PATH="$PYENV_ROOT/bin:$PATH" eval "$(pyenv init --path)" eval "$(pyenv init -)" eval "$(pyenv virtualenv-init -)" source ~/.zshrc pyenv install 3.10.18 pyenv virtualenv 3.10.18 marker pyenv activate marker pip3 install torch torchvision pip3 install psutil pip3 install marker-pdf marker_server --port 8001 ``` ### Logs & Screenshots Open-WebUI provides the (intended) error message: "datalab Marker API key required" if the field is blank and one tries to save settings. ### Additional Information _No response_
GiteaMirror added the bug label 2026-05-18 03:41:33 -05:00
Author
Owner

@tjbck commented on GitHub (Oct 27, 2025):

Addressed with a996497bf18a3239be90db6cef2aa13193e9a29b!

<!-- gh-comment-id:3449549788 --> @tjbck commented on GitHub (Oct 27, 2025): Addressed with a996497bf18a3239be90db6cef2aa13193e9a29b!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#105648