mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #23094] issue: license is not loaded anymore #58551
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @flefevre on GitHub (Mar 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23094
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
0.8.11
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When starting openwebui with l.data file for license, the user interface should display the color, logo
Actual Behavior
We have a log message
Steps to Reproduce
Just upgrade openwebui and load l.data
Logs & Screenshots
no logo
License: '<' not supported between instances of 'str' and 'datetime.date'", "caller": "open_webui.utils.auth:get_license_data:152
Additional Information
initial code in backend\open_webui\utils\auth.py
new code perhaps linked to the error
@yang1002378395-cmyk commented on GitHub (Mar 26, 2026):
Root Cause Analysis
The issue is at
backend/open_webui/utils/auth.pyline 148:Problem:
data.get('exp')returns a string from JSON parsing, butdatetime.now().date()returns adatetime.dateobject. Python cannot comparestr < datetime.date.Fix
Convert
expto date before comparison:Or if the format varies:
Impact: License validation fails for all users with
l.datafiles in v0.8.11.Workaround: Users can downgrade to v0.8.10 until this is fixed.
@yang1002378395-cmyk commented on GitHub (Mar 26, 2026):
UPDATE: I've submitted PR #23104 targeting the dev branch with proper CLA confirmation. This should fix the license validation issue for all affected users.
@flefevre commented on GitHub (Mar 26, 2026):
Thanks
Baddly we begun to migrate from 0.7.2 to 0.8.11 with the huge database migration that was blocked in the 0.8.10 that's why we were waiting for the integration of the patch for historic table migration.
Here we are in the middle need to be on 0.8.11 for database patch and on 0.8.10 for the license.
I hope there will be soon a new release for the license patch so we can restore access.
@Classic298 commented on GitHub (Mar 26, 2026):
@yang1002378395-cmyk I've seen you in the last couple of days attempting to submit PRs dozens of times and failing each time. Please stop the PR spam. You don't even read the PR description and therefore all your PRs get insta-closed. Please stop the slop spam or risk getting blocked
@Classic298 commented on GitHub (Mar 26, 2026):
should be fixed by
16335f866e@flefevre commented on GitHub (Mar 27, 2026):
Just to confirm: this is FIXED !
We made the migration from 0.7.2 to 0.8.12
@Classic298 Everything is fine ! Thanks a lot.