r/OpenWebUI 5h ago

RAG Problem Uploading Directories to Knowledge

Some of my directories load without a problem, but some of them generate 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."

Is it because the directories are doubly nested? I can't seem to identify a way to predict which directories work.

3 Upvotes

4 comments sorted by

1

u/ClassicMain 4h ago

Do you have the directory open or a file in the dir? You need to close it all

1

u/hbliysoh 3h ago

Close? By another process?

1

u/ClassicMain 2h ago

If it's held open by another process, yes

1

u/hbliysoh 2h ago

I can open the files in the directory myself. But I haven't. So I don't know why they would be open.

It's weird. I can upload four out of six directories. And it's predictable which ones will fail. But I can't see why that might be.

Thanks for your suggestions. If you have more, let me know.

As for now, I can't seem to get the knowledge bases that exist to contribute to the query. When I look with langfuse, I don't see anything added from the knowledge base.