I have searched for any existing and/or related issues.
I have searched for any existing and/or related discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
0.6.34
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04, with Docker 28.1.1
Browser (if applicable)
No response
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
Users can delete chat without the list disappearing.
Looks like it went to page 2, but there is only 1 page
Originally created by @avesed on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18377
### Check Existing Issues
- [x] I have searched for any existing and/or related issues.
- [x] I have searched for any existing and/or related discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
0.6.34
### Ollama Version (if applicable)
_No response_
### Operating System
Ubuntu 22.04, with Docker 28.1.1
### Browser (if applicable)
_No response_
### 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
Users can delete chat without the list disappearing.
### Actual Behavior
Delete a chat will make chat list disappear
### Steps to Reproduce
1. Clean install Ubuntu 22.04 LTS
2. Install Docker
3. pull latest
4. run container
### Logs & Screenshots
https://github.com/user-attachments/assets/a7fb2ef7-8e7b-470c-b0ad-78d6943ba40e
"GET /api/v1/chats/all/tags HTTP/1.1" 200
"GET /api/v1/folders/ HTTP/1.1" 200
"GET /api/v1/chats/pinned HTTP/1.1" 200
"GET /api/v1/chats/?page=2 HTTP/1.1" 200
"GET /api/v1/chats/?page=2 HTTP/1.1" 200
### Additional Information
Looks like it went to page 2, but there is only 1 page
GiteaMirror
added the bug label 2026-05-05 20:46:40 -05:00
<!-- gh-comment-id:3436684323 -->
@lenz1111 commented on GitHub (Oct 23, 2025):
I was able to replicate an issue on my local instance.
How does it happen:
[https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L208-L211](https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L208-L211)$currentChatPage is increased inside loadMoreChats function - which is called:
if $scrollPaginationEnabled && !allChatsLoaded
[https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L1174-L1178](https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L1174-L1178)If you delete chat - initChatList is called
[https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L206](https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L206)there is a possibility that $currentChatPage > 1 when getChatList is executed (if you have slower internet connection, in my case I have reverse proxy to external server)
My quick fix:
[https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L183](https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L183)
add: `scrollPaginationEnabled.set(false);`
after allChatsLoaded = false;
for me it seems fixes the issue
@lenz1111 This issue hasn't been solved yet, so a PR is definitely welcome! And while I wasn't able to reproduce the issue myself, I'm sure others would be happy to test your PR to see if it solves the problem, if you were to submit one.
<!-- gh-comment-id:3436699498 -->
@silentoplayz commented on GitHub (Oct 23, 2025):
@lenz1111 This issue hasn't been solved yet, so a PR is definitely welcome! And while I wasn't able to reproduce the issue myself, I'm sure others would be happy to test your PR to see if it solves the problem, if you were to submit one.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @avesed on GitHub (Oct 16, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/18377
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.34
Ollama Version (if applicable)
No response
Operating System
Ubuntu 22.04, with Docker 28.1.1
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Users can delete chat without the list disappearing.
Actual Behavior
Delete a chat will make chat list disappear
Steps to Reproduce
Logs & Screenshots
https://github.com/user-attachments/assets/a7fb2ef7-8e7b-470c-b0ad-78d6943ba40e
"GET /api/v1/chats/all/tags HTTP/1.1" 200
"GET /api/v1/folders/ HTTP/1.1" 200
"GET /api/v1/chats/pinned HTTP/1.1" 200
"GET /api/v1/chats/?page=2 HTTP/1.1" 200
"GET /api/v1/chats/?page=2 HTTP/1.1" 200
Additional Information
Looks like it went to page 2, but there is only 1 page
@silentoplayz commented on GitHub (Oct 17, 2025):
Duplicate of https://github.com/open-webui/open-webui/issues/18327
@lenz1111 commented on GitHub (Oct 23, 2025):
I was able to replicate an issue on my local instance.
How does it happen:
https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L208-L211$currentChatPage is increased inside loadMoreChats function - which is called:
if $scrollPaginationEnabled && !allChatsLoaded
https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L1174-L1178If you delete chat - initChatList is called
https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L206there is a possibility that $currentChatPage > 1 when getChatList is executed (if you have slower internet connection, in my case I have reverse proxy to external server)
My quick fix:
https://github.com/open-webui/open-webui/blob/46ae3f4f5d7d4d706041bdae4ad2d802e568712b/src/lib/components/layout/Sidebar.svelte#L179-L183
add:
scrollPaginationEnabled.set(false);after allChatsLoaded = false;
for me it seems fixes the issue
@silentoplayz commented on GitHub (Oct 23, 2025):
@lenz1111 This issue hasn't been solved yet, so a PR is definitely welcome! And while I wasn't able to reproduce the issue myself, I'm sure others would be happy to test your PR to see if it solves the problem, if you were to submit one.