issue: Leaderboard not loading #5830

Closed
opened 2025-11-11 16:35:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @JTHesse on GitHub (Jul 21, 2025).

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

v0.6.16

Ollama Version (if applicable)

No response

Operating System

Ubuntu 22.04

Browser (if applicable)

No response

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

Leaderboard should be loaded and visible.

Actual Behavior

Leaderboard keeps loading indefinitely.

Steps to Reproduce

  1. Start older version of OpenWebUI with docker compose (Unfortunately I can't tell which version will lead to this missing object in the database, I started using it since January 2024)
  2. Submit Feedback with older version of OpenWebUI
  3. Update OpenWebUI to latest
  4. Open the Evaluations tab in the admin section

Logs & Screenshots

Uncaught (in promise) TypeError: $e.data.rating is null
    I Leaderboard.svelte:158
    I Leaderboard.svelte:153
    T Leaderboard.svelte:98
    F Leaderboard.svelte:280
    update Leaderboard.svelte:301
    jt Component.js:144
    L0 Leaderboard.svelte:326
    Uy Evaluations.svelte:93
    up Evaluations.svelte:119
    p Evaluations.svelte:55
    ht scheduler.js:119
    dt scheduler.js:79
    promise callback*ft scheduler.js:20
    ht Component.js:81
    ctx Component.js:139
    Wy Evaluations.svelte:36
    J utils.js:41
    _t Component.js:47
    dt scheduler.js:99
    promise callback*ft scheduler.js:20
    ht Component.js:81
    ctx Component.js:139
    Sy +layout.svelte:243
    J utils.js:41
    _t Component.js:47
    dt scheduler.js:99
    promise callback*ft scheduler.js:20
    ht Component.js:81
    ctx Component.js:139
    Eo +layout.svelte:637
    J utils.js:41
    _t Component.js:47
    dt scheduler.js:99
    jt Component.js:164
    wt root.svelte:23
    ft client.js:472
    ee client.js:1580
    Ce client.js:398
    An client.js:1926
    $n client.js:323
    async* leaderboard:120
    promise callback* leaderboard:119
Leaderboard.svelte:158:11

Additional Information

It seems to me that the rating object can't be accessed here feedback.data.rating.toString(), because old feedback data might not contain this.
I think in those cases, the feedback can be scratched.
PR can be provided, if you guys agree with me.

Originally created by @JTHesse on GitHub (Jul 21, 2025). ### 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 v0.6.16 ### Ollama Version (if applicable) _No response_ ### Operating System Ubuntu 22.04 ### Browser (if applicable) _No response_ ### 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 Leaderboard should be loaded and visible. ### Actual Behavior Leaderboard keeps loading indefinitely. ### Steps to Reproduce 1. Start older version of OpenWebUI with docker compose (Unfortunately I can't tell which version will lead to this missing object in the database, I started using it since January 2024) 2. Submit Feedback with older version of OpenWebUI 3. Update OpenWebUI to latest 4. Open the Evaluations tab in the admin section ### Logs & Screenshots ``` Uncaught (in promise) TypeError: $e.data.rating is null I Leaderboard.svelte:158 I Leaderboard.svelte:153 T Leaderboard.svelte:98 F Leaderboard.svelte:280 update Leaderboard.svelte:301 jt Component.js:144 L0 Leaderboard.svelte:326 Uy Evaluations.svelte:93 up Evaluations.svelte:119 p Evaluations.svelte:55 ht scheduler.js:119 dt scheduler.js:79 promise callback*ft scheduler.js:20 ht Component.js:81 ctx Component.js:139 Wy Evaluations.svelte:36 J utils.js:41 _t Component.js:47 dt scheduler.js:99 promise callback*ft scheduler.js:20 ht Component.js:81 ctx Component.js:139 Sy +layout.svelte:243 J utils.js:41 _t Component.js:47 dt scheduler.js:99 promise callback*ft scheduler.js:20 ht Component.js:81 ctx Component.js:139 Eo +layout.svelte:637 J utils.js:41 _t Component.js:47 dt scheduler.js:99 jt Component.js:164 wt root.svelte:23 ft client.js:472 ee client.js:1580 Ce client.js:398 An client.js:1926 $n client.js:323 async* leaderboard:120 promise callback* leaderboard:119 Leaderboard.svelte:158:11 ``` ### Additional Information It seems to me that the rating object can't be accessed here `feedback.data.rating.toString()`, because old feedback data might not contain this. I think in those cases, the feedback can be scratched. PR can be provided, if you guys agree with me.
GiteaMirror added the bug label 2025-11-11 16:35:12 -06:00
Author
Owner

@tjbck commented on GitHub (Jul 30, 2025):

Should be addressed with f027df06d1 in dev!

@tjbck commented on GitHub (Jul 30, 2025): Should be addressed with f027df06d127cf858ccdd2088634a75a8e7ee6c1 in dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#5830