mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
issue: Settings - JS error prevents saving due to RAGConfig.ALLOWED_FILE_EXTENSIONS being array #5249
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 @brainboutique on GitHub (May 20, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.10
Ollama Version (if applicable)
No response
Operating System
Linux
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
In Settings "Documents", I would expect "Save" to save changes all the time.
Actual Behavior
It seems as if "Allowed File Extensions" is not modified (even if nulled), saving only saves a subset of the settings of that page.
Developer console shows
ANY change in that field - even if it just adds and then removes a character, allows the settings to be saved once. On subsequent save (without any changes) it gives same error as above.
Also it seems as if the post to /api/v1/retrieval/embedding/update only contains a subset of the overall settings object:
Steps to Reproduce
Logs & Screenshots
Additional Information
The variable RAGConfig.ALLOWED_FILE_EXTENSIONS is already an array if not changed!
@tjbck commented on GitHub (May 20, 2025):
Should be addressed with
82716f3789in dev, testing wanted here.