If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
Originally created by @drupol on GitHub (Jun 7, 2024).
# Bug Report
## Description
Hello,
I helped into packaging Open-WebUI in Nix these last days (https://github.com/NixOS/nixpkgs/pull/316248, https://github.com/NixOS/nixpkgs/pull/317705) and since then, I'm using it on a server in my basement, so far, I'm super happy, I really love it.
I started to import my "Knowledge Base" why is essentially a directory with PDFs on different topics.
In my document library, I have uploaded this paper: https://hal.science/hal-04482192 which is freely accessible.

After a couple of minutes, the embeddings are done, and I open a new chat, select that document using `# <tab>`, and submit my request.

But I never get a reply... see the log below.
<details>
```
jun 07 08:10:52 nixos open-webui[2524022]: INFO:apps.ollama.main:generate_ollama_embeddings model='mxbai-embed-large:latest' prompt='Can you summarize this?' options=None keep_alive=None
jun 07 08:10:52 nixos open-webui[2524022]: INFO:apps.ollama.main:url: http://127.0.0.1:11434
jun 07 08:10:52 nixos open-webui[2524022]: INFO:apps.ollama.main:generate_ollama_embeddings {'embedding': [0.37043070793151855, -0.06566978245973587, -0.3806518316268921, 0.8437524437904358, 0.019884765148162842, -0.698334276676178, -0.18634085357189178, -0.40700265765190125, 0.16011814773082733, 0.4908120632171631, ...<hundred-of-lines-here-removed-for-brevity>... -0.7956122756004333, -0.0767681896686554, -0.17286916077136993, 0.8422256708145142, 0.6626044511795044, 0.01473831944167614, -0.1939517855644226, -0.09396416693925858, 0.1517101526260376]}
jun 07 08:11:24 nixos open-webui[2524022]: [47B blob data]
jun 07 08:11:24 nixos systemd[1]: open-webui.service: Main process exited, code=dumped, status=8/FPE
jun 07 08:11:24 nixos systemd[1]: open-webui.service: Failed with result 'core-dump'.
jun 07 08:11:24 nixos systemd[1]: open-webui.service: Consumed 25.017s CPU time, received 7.9M IP traffic, sent 1.7M IP traffic.
^
```
At this point, the `open-webui` systemd service is dead and I must restart it to get it working again.
</details>
However, when I try to make a query on the same document I upload inline in the chat window, it works pretty fine:

I don't use specific settings or a fancy model:

## Environment
- **Open WebUI Version:** 0.2.5
- **Ollama (if applicable):** 0.1.41
- **Operating System:** Linux NixOS
- **Browser (if applicable):** Firefox
## Reproduction Details
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
## Installation Method
A couple of lines in the NixOS configuration file:
```nix
services = {
open-webui = {
enable = true;
environment = {
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434";
HF_HOME = "/var/lib/open-webui/";
SENTENCE_TRANSFORMERS_HOME = "/var/lib/open-webui/";
WEBUI_AUTH = "False";
};
openFirewall = true;
host = "0.0.0.0";
};
ollama = {
enable = true;
};
};
```
## Additional Information
## Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
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 @drupol on GitHub (Jun 7, 2024).
Bug Report
Description
Hello,
I helped into packaging Open-WebUI in Nix these last days (https://github.com/NixOS/nixpkgs/pull/316248, https://github.com/NixOS/nixpkgs/pull/317705) and since then, I'm using it on a server in my basement, so far, I'm super happy, I really love it.
I started to import my "Knowledge Base" why is essentially a directory with PDFs on different topics.
In my document library, I have uploaded this paper: https://hal.science/hal-04482192 which is freely accessible.
After a couple of minutes, the embeddings are done, and I open a new chat, select that document using
# <tab>, and submit my request.But I never get a reply... see the log below.
At this point, the
open-webuisystemd service is dead and I must restart it to get it working again.However, when I try to make a query on the same document I upload inline in the chat window, it works pretty fine:
I don't use specific settings or a fancy model:
Environment
Reproduction Details
Confirmation:
Installation Method
A couple of lines in the NixOS configuration file:
Additional Information
Note
If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!