issue: Evaluations leaderboard throws error "AttributeError: 'NoneType' object has no attribute 'model_dump'" #5160

Closed
opened 2025-11-11 16:13:30 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @FelHell on GitHub (May 13, 2025).

Originally assigned to: @tjbck on GitHub.

Check Existing Issues

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

Installation Method

Docker

Open WebUI Version

0.6.9

Ollama Version (if applicable)

0.6.6

Operating System

Ubuntu 22.04.5 LTS

Browser (if applicable)

Firefox 138.0.1

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

The page /admin/evaluations should show a list of all installed models with their calculated score.

Actual Behavior

I can't open the page /admin/evaluations, the XHR call to /api/v1/evaluations/feedbacks/all results in a error 500 Internal Server Error. The page says "No model found" and shows a loading animation.

Steps to Reproduce

  1. As an administrator, open the administration area.
  2. Click on "Evaluations".
  3. Click on "Leaderboard".

Logs & Screenshots

see Docker Logs for the logged error message when opening the leaderboard URL

Additional Information

I might have an idea why this happens: I've deleted a user who had voted for a model.

Originally created by @FelHell on GitHub (May 13, 2025). Originally assigned to: @tjbck on GitHub. ### 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 ### Open WebUI Version 0.6.9 ### Ollama Version (if applicable) 0.6.6 ### Operating System Ubuntu 22.04.5 LTS ### Browser (if applicable) Firefox 138.0.1 ### 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 The page `/admin/evaluations` should show a list of all installed models with their calculated score. ### Actual Behavior I can't open the page `/admin/evaluations`, the XHR call to `/api/v1/evaluations/feedbacks/all` results in a error `500 Internal Server Error`. The page says "No model found" and shows a loading animation. ### Steps to Reproduce 1. As an administrator, open the administration area. 2. Click on "Evaluations". 3. Click on "Leaderboard". ### Logs & Screenshots see [Docker Logs](https://github.com/user-attachments/files/20187843/docker-logs-leaderboard.log) for the logged error message when opening the leaderboard URL ### Additional Information I might have an idea why this happens: I've deleted a user who had voted for a model.
GiteaMirror added the bug label 2025-11-11 16:13:30 -06:00
Author
Owner

@Ithanil commented on GitHub (May 13, 2025):

Can confirm, seeing the same issue.

@Ithanil commented on GitHub (May 13, 2025): Can confirm, seeing the same issue.
Author
Owner

@tjbck commented on GitHub (May 14, 2025):

Should be addressed with 6e8481e157 in dev, testing wanted here!

@tjbck commented on GitHub (May 14, 2025): Should be addressed with 6e8481e157851ae5d0d9d49dc23f29c2534fffc6 in dev, testing wanted here!
Author
Owner

@FelHell commented on GitHub (May 15, 2025):

I've tested it with this Docker image and there I can open the leaderboard as expected.

REPOSITORY                          TAG       IMAGE ID       CREATED          SIZE
ghcr.io/open-webui/open-webui       dev       0520c474ea7e   37 minutes ago   5.05GB
@FelHell commented on GitHub (May 15, 2025): I've tested it with this Docker image and there I can open the leaderboard as expected. ✅ ``` REPOSITORY TAG IMAGE ID CREATED SIZE ghcr.io/open-webui/open-webui dev 0520c474ea7e 37 minutes ago 5.05GB ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5160