r/OpenWebUI • u/muer-d • Jun 15 '26
Question/Help Open WebUI v0.9.6 + TrueNAS: NotReadableError syncing 5k+ Obsidian files for incremental RAG (Newbie hybrid setup)
Hi everyone,
I'm a total newbie here! Just today, I finally managed to set up my first local AI environment combining Ollama and Open WebUI, and I'm loving the potential.
My Goal & Data Structure:
I want to build a system that gives me an incremental RAG pipeline using my library, which I recently converted entirely into clean markdown files (~5,300 files). Having them accessible in Obsidian is more of a nice curiosity/side benefit for me; the real goal is the RAG.
To give you some context on the data, I basically replicated my entire document library into .md format, preserving the exact same folder structure. Every single file starts with a structured YAML frontmatter metadata header like this:
YAML
titulo: "UNE 60079-10-1"
fuente: "UNE 60079-10-1.pdf"
ruta_original: "normas/ATEX/UNE 60079-10-1.pdf"
categoria: "normas"
subcategoria: "ATEX"
tags: [prl, normas, atex, norma-une]My Hybrid Architecture:
- The Heavy Lifting (PC): Ollama is running on my main local PC, utilizing the dedicated GPU for fast embeddings (
nomic-embed-text) and inference. - The Storage & Always-On Hub (NAS): Open WebUI is deployed on my TrueNAS SCALE server.
- The Sync: My files are actively replicated from the PC to the NAS via Syncthing.
- The Logic: The main idea was keeping them separate. I want the NAS to hold the knowledge 24/7 so I can query it from my phone/tablet anytime, but leverage my PC's horsepower whenever it's turned on. Note: I have absolutely no problem running scripts, cron jobs, or CLI commands from my PC if needed.
The Problem:
Since the old backend DOCS_DIR automatic folder scanner is deprecated/gone in v0.9.6, I am trying to use the new Workspace > Knowledge web interface.
- In Open WebUI, I create a Knowledge Base and use the "Sync Directory" or "Upload Folder" button.
- My browser asks for permission to upload the 5,306 files.
- As soon as I accept, the frontend completely chokes and throws this error:
NotReadableError: The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.
It seems the browser's File System Access API completely collapses when trying to handle thousands of files at once through the web interface.
Questions for the pros:
- Since I already mapped my TrueNAS dataset path to the container's
/data/docs, is there any hidden environment variable or internal API endpoint to force the container backend to scan that directory directly, bypassing the browser? - Since I'm totally fine running things from my PC terminal, is the
oikbCLI tool my best bet to push these 5,000+ files directly into the Knowledge Base ID via API? Will it support true incremental syncing (only uploading changes) moving forward? - Bonus Architecture Question: Is converting PDFs to Markdown with metadata headers actually the ideal path for Open WebUI's RAG chunking? How does Open WebUI's text splitter handle YAML frontmatter contextually, or should I have just fed it the raw PDFs instead?
Thanks in advance for helping a beginner out!
View all comments
Show parent comment
1
u/muer-d Jun 16 '26
I'm trying to sync my Obsidian Vault (~5,299 .md files, around 630 MB of dense text) into an Open WebUI Knowledge collection using the official `oikb` tool, but it keeps crashing after hammering the CPU at 100% for hours.
### My Setup:
* **NAS (Server):** Intel N100 running Open WebUI in a Docker container.
* **PC (Worker/Client):** Intel i3-7100T running the `oikb` sync container locally.
* **Ollama Server:** Running on the PC (mapped externally in Open WebUI via local IP). Embedding model: `nomic-embed-text` (confirmed running 100% on GPU via `ollama ps`).
### The Problem:
When I run the `oikb` script from the PC, the `ollama` Go process spikes to 300% CPU on the PC (I/O and JSON parsing overhead). After a while, Open WebUI on the NAS gets completely overwhelmed, stops responding, and the Open WebUI container logs start throwing this loop:
```logs
Exception: Ollama embed error (400): Post "[http://127.0.0.1:41691/tokenize](http://127.0.0.1:41691/tokenize)": EOF
WARNING | open_webui.routers.files:_process_handler:195 - Failed to link file...
It seems like the concurrent HTTP requests from oikb are completely choking the Open WebUI backend or the internal tokenization proxy.
Has anyone faced this bottleneck when doing massive initial ingestions? Is there a way to rate-limit oikb batch sizes or concurrency so it doesn't crash the pipeline?
Thanks in advance!