[GH-ISSUE #4939] Unable to upload epub files do workspace - documents #52460

Closed
opened 2026-05-05 13:32:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @correajl on GitHub (Aug 27, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/4939

Bug Report

Installation Method

docker run --rm -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:ollama'

Environment

  • Open WebUI Version: v0.3.15

  • Ollama (if applicable): 0.3.6

  • Operating System: Ubuntu server 20.04 LTS

  • Browser (if applicable): Chrome 127.0.6533.119

Expected Behavior:

Upload epub files to be used with RAG, for example. I was using that but after upgrade to last release I couln't upload those file anymore.

Actual Behavior:

When I try to upload epub files I got the following error:

Something went wrong :/ ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab')  For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/root/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' **********************************************************************

Tried with pdf format and it worked.

Description

Bug Summary:
Something got wrong when uploading epub files in workspace > documents.

Reproduction Details

Steps to Reproduce:
Run the docker bundle with open-webui + ollama. Create a new user, log in, go to workspace -> documents. Try to upload a epub file.

Logs and Screenshots

Something went wrong :/ ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab')  For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/root/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' **********************************************************************

Additional Information

I was using a release from some weeks ago and everything was working normally. When I recreate the container with the lastest version I started to get this error.

Originally created by @correajl on GitHub (Aug 27, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/4939 # Bug Report ## Installation Method docker run --rm -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui ghcr.io/open-webui/open-webui:ollama' ## Environment - **Open WebUI Version:** v0.3.15 - **Ollama (if applicable):** 0.3.6 - **Operating System:** Ubuntu server 20.04 LTS - **Browser (if applicable):** Chrome 127.0.6533.119 ## Expected Behavior: Upload epub files to be used with RAG, for example. I was using that but after upgrade to last release I couln't upload those file anymore. ## Actual Behavior: When I try to upload epub files I got the following error: Something went wrong :/ ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab')  For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/root/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** Tried with pdf format and it worked. ## Description **Bug Summary:** Something got wrong when uploading epub files in workspace > documents. ## Reproduction Details **Steps to Reproduce:** Run the docker bundle with open-webui + ollama. Create a new user, log in, go to workspace -> documents. Try to upload a epub file. ## Logs and Screenshots Something went wrong :/ ********************************************************************** Resource punkt_tab not found. Please use the NLTK Downloader to obtain the resource: >>> import nltk >>> nltk.download('punkt_tab')  For more information see: https://www.nltk.org/data.html Attempted to load tokenizers/punkt_tab/english/ Searched in: - '/root/nltk_data' - '/usr/local/nltk_data' - '/usr/local/share/nltk_data' - '/usr/local/lib/nltk_data' - '/usr/share/nltk_data' - '/usr/local/share/nltk_data' - '/usr/lib/nltk_data' - '/usr/local/lib/nltk_data' ********************************************************************** ## Additional Information I was using a release from some weeks ago and everything was working normally. When I recreate the container with the lastest version I started to get this error.
Author
Owner

@tjbck commented on GitHub (Aug 27, 2024):

Should be fixed on dev!

<!-- gh-comment-id:2312559785 --> @tjbck commented on GitHub (Aug 27, 2024): Should be fixed on dev!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52460