Pydantic validation issue in 0.3.21 #2115

Closed
opened 2025-11-11 15:00:36 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @drupol on GitHub (Sep 18, 2024).

Bug Report

Installation Method

NixOS

Environment

  • **Open WebUI Version: v0.3.21
  • Operating System: Linux NixOS
  • Browser (if applicable): Firefox

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

Open-WebUI should run

Actual Behavior:

It crashes at startup

Description

Here's the systemd logs: https://share.riseup.net/#6jpn2ZjSDuHpvQ3bD4aopA

To get it working, I had to add the variable: PYDANTIC_SKIP_VALIDATING_CORE_SCHEMAS set to True.

I guess the issue comes from: b64c9d966a/backend/open_webui/apps/rag/utils.py (L438) ? But I'm not sure.

Originally created by @drupol on GitHub (Sep 18, 2024). # Bug Report ## Installation Method NixOS ## Environment - **Open WebUI Version: v0.3.21 - **Operating System:** Linux NixOS - **Browser (if applicable):** Firefox **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: Open-WebUI should run ## Actual Behavior: It crashes at startup ## Description Here's the systemd logs: https://share.riseup.net/#6jpn2ZjSDuHpvQ3bD4aopA To get it working, I had to add the variable: `PYDANTIC_SKIP_VALIDATING_CORE_SCHEMAS` set to `True`. I guess the issue comes from: https://github.com/open-webui/open-webui/blob/b64c9d966a6498d4f2ffe12ab1498fab298afb37/backend/open_webui/apps/rag/utils.py#L438 ? But I'm not sure.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#2115