mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #21879] issue: Users manage files list crashes page when loading too many entries. #58268
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 @TomTheWise on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/21879
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.5
Ollama Version (if applicable)
No response
Operating System
Debian 13 with Podman 5.x and Postrges17
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
When opening Settings > Data Controls > Files > Manage Files and scroll it should never crash just load more until all ar shown - maybe paginating instead of limitless scrolling.
Actual Behavior
With using chrome or edge (haven’t tested other browsers)
After a certain ammount of files it crashes the page. Especially when other things are happening. It is more easily to reproduce when currently uploading, but reproducable even without - just a bit rarer.
Steps to Reproduce
Debian 13and Postrges17 and Podman 5.x as contaienr solution for OWUI
I GUESS this might be related to postgres and maybe not happening on sqllite - unsure about that.
4 After a while it no longer loads new entries and while you can still scroll up and dow, no button, no X t oclose works anymore. At the same time Browser F12 Dev Consolee shows Uncaught TypeError „Cannot read properties of undefined (reading 'prev' )
And OWUI log at the same type starts to show multiple of these in the screenshot. - these however start appearing AFTER browser crashes.
This bug is much easier to reproduce when viewing your "Manage Files" WHILE you are currently uploading stuff - for example to the the knowledge base. So I guess supect some type of SQL related stuff (sql connections being busy?) or frontend being busy.
But even without uploading stuff it is possible to reproduce - probably very dependent on how much data a user already has uploaded.
Logs & Screenshots
https://github.com/user-attachments/assets/d6bc495f-bc47-4255-89e2-5ab131f5772f
Browser F12 Console shows this error:
error-handling.js:68 Uncaught TypeError: Cannot read properties of undefined (reading 'prev')
at Re (each.js:489:20)
at i (each.js:163:3)
at each.js:315:5
at vr (runtime.js:297:16)
at Je (runtime.js:477:18)
at St.Vt (batch.js:241:6)
at St.process (batch.js:178:4)
at Yt (batch.js:622:10)
at St.flush (batch.js:314:4)
at Array. (batch.js:502:12)
Additional Information
Also sidenote feature request that is very related to this feature: An easy way to delete all Chat files (not knowledge bases) with once would be really nice.
@tjbck commented on GitHub (Mar 8, 2026):
Likely addressed in dev.