mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #23248] issue: #35459
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 @kamabokowen on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23248
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.8.12
Ollama Version (if applicable)
No response
Operating System
ubuntu 24.04
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Analytics should permanently record and retain all usage data (e.g., request counts, token usage, model usage statistics), regardless of whether the corresponding conversations are later deleted by users.
Specifically:
Deleting a conversation should only remove it from the user interface.
Historical usage metrics (request count, token consumption, model usage) should remain unchanged.
Administrative Analytics should reflect total historical usage, not only currently stored conversations.
Usage metrics should be immutable once recorded.
Actual Behavior
When a user deletes one or more conversations:
The associated usage data is removed from the Analytics dashboard.
Model usage counts decrease.
Token consumption metrics decrease accordingly.
The Analytics dashboard reflects only the usage from currently existing (non-deleted) conversations.
This results in inaccurate usage reporting and prevents administrators from reliably auditing historical consumption.
Steps to Reproduce
Using the normal user account:
Select a model (e.g., gpt or any available model).
Create conversations.
Log out from the normal user.
Log back in as Admin.
Record the following values: Total requests, Total tokens, Model usage counts, Any per-user usage statistics
At this point, you should see non-zero usage corresponding to the 10 conversations.
Log out as Admin.
Log back in as the normal user.
Go to the conversation list.
Delete all conversations manually:
Ensure that no conversations remain in the sidebar.
After deletion: Total request count has decreased (or returned to zero). Model usage statistics have decreased.
The Analytics dashboard now reflects only existing conversations (which are none).
Logs & Screenshots
Before delete:

After delete:
Additional Information
No response
@pr-validator-bot commented on GitHub (Mar 31, 2026):
⚠️ Invalid Issue Title
Hey @kamabokowen, please provide a descriptive title for your issue. Titles that are empty, very short (under 10 characters), or generic (like "issue:" or "feat:") make it difficult for volunteer contributors to understand and triage issues.
Please update the title to reflect the content of your issue.
⚠️ Missing Issue Title Prefix
@kamabokowen, your issue title is missing a prefix (e.g.,
bug:,feat:,docs:).Please update your issue title to include one of the following prefixes:
Example:
bug: Login fails when using special characters in password@Classic298 commented on GitHub (Mar 31, 2026):
not an issue, this is intended behaviour - open to discussion