[GH-ISSUE #16311] issue: 500: template: :3: function "currentDate" not defined #33389

Closed
opened 2026-04-25 07:17:49 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @marabgol on GitHub (Aug 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16311

Check Existing Issues

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

Installation Method

Git Clone

Open WebUI Version

v0.6.18

Ollama Version (if applicable)

0.11.2

Operating System

MacOS 15.5

Browser (if applicable)

Chrome, 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

I am using the new gpt-oss new model and expect an answer like other model
this is not running from docker

Actual Behavior

I see error in browser
I got screen shot from browser

Image

while other model runs fine

Steps to Reproduce

  1. I just added new ollama model : gpt-oss 120
  2. try to test it from openweb-ui as you can see in the attachment , it gives error 500: template
  3. I have no issue with other model
  4. I tried in both browsers Chrome and Firefox

Logs & Screenshots

Image

Additional Information

I am not sure the issue is new model from ollama gpt-oss or openweb-ui

Originally created by @marabgol on GitHub (Aug 6, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16311 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v0.6.18 ### Ollama Version (if applicable) 0.11.2 ### Operating System MacOS 15.5 ### Browser (if applicable) Chrome, 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 I am using the new gpt-oss new model and expect an answer like other model this is not running from docker ### Actual Behavior I see error in browser I got screen shot from browser <img width="1420" height="337" alt="Image" src="https://github.com/user-attachments/assets/9aed7e7c-a6b3-43d2-81ae-c288758518f1" /> while other model runs fine ### Steps to Reproduce 1) I just added new ollama model : gpt-oss 120 2) try to test it from openweb-ui as you can see in the attachment , it gives error 500: template 3) I have no issue with other model 4) I tried in both browsers Chrome and Firefox ### Logs & Screenshots <img width="1420" height="337" alt="Image" src="https://github.com/user-attachments/assets/9d0a6b62-fa05-4146-996a-06c79e725e40" /> ### Additional Information I am not sure the issue is new model from ollama gpt-oss or openweb-ui
GiteaMirror added the bug label 2026-04-25 07:17:49 -05:00
Author
Owner

@gaby commented on GitHub (Aug 6, 2025):

@marabgol This is related to ollama, they did a release today to fix this.

https://github.com/ollama/ollama/releases/tag/v0.11.2

<!-- gh-comment-id:3157229963 --> @gaby commented on GitHub (Aug 6, 2025): @marabgol This is related to `ollama`, they did a release today to fix this. https://github.com/ollama/ollama/releases/tag/v0.11.2
Author
Owner

@gaby commented on GitHub (Aug 6, 2025):

@tjbck I believe the only way to fix this is to do a new release of Open-WebUI ? I do not set the ollama dependency being defined anywhere besides the Dockerfile.

<!-- gh-comment-id:3157233848 --> @gaby commented on GitHub (Aug 6, 2025): @tjbck I believe the only way to fix this is to do a new release of `Open-WebUI` ? I do not set the `ollama` dependency being defined anywhere besides the `Dockerfile`.
Author
Owner

@gaby commented on GitHub (Aug 6, 2025):

@marabgol There is a temporary fix here https://github.com/open-webui/open-webui/issues/16306

<!-- gh-comment-id:3157238163 --> @gaby commented on GitHub (Aug 6, 2025): @marabgol There is a temporary fix here https://github.com/open-webui/open-webui/issues/16306
Author
Owner

@tjbck commented on GitHub (Aug 6, 2025):

#16306

<!-- gh-comment-id:3158265795 --> @tjbck commented on GitHub (Aug 6, 2025): #16306
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#33389