[GH-ISSUE #19807] issue: Filepath too long #19002

Closed
opened 2026-04-20 01:17:40 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @BubblePlayzTHEREAL on GitHub (Dec 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19807

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

Installation Method

Pip Install

Open WebUI Version

v0.6.26

Ollama Version (if applicable)

0.12.7-3-g0f03e90

Operating System

Win 11

Browser (if applicable)

Firefox 145.0.2

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

Voice mode works properly

Actual Behavior

When downloading the file for whisper, it makes a filepath that is very long and doesnt create the full folder and thus cant continue.

Folder made:
C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache\whisper\models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e98

Folder needed
C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache\whisper\models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e980a01041f333bce120

Steps to Reproduce

  1. clean windows 11 install
  2. install python from ms store
  3. install ollama
  4. install open-webui from pip
  5. install whisper model

Logs & Screenshots

`Traceback (most recent call last):

File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1032, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x000001E32BFEBBA0>
└ <WorkerThread(AnyIO worker thread, started 23368)>
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1075, in _bootstrap_inner
self.run()
│ └ <function WorkerThread.run at 0x000001E378583100>
└ <WorkerThread(AnyIO worker thread, started 23368)>
File "C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\anyio_backends_asyncio.py", line 976, in run
result = context.run(func, *args)
│ │ │ └ ()
│ │ └ functools.partial(<function transcription at 0x000001E3527AD940>, user=UserModel(id='5c8acdda-1ed0-42a2-b7d6-cf8fb7a17236', n...
│ └ <method 'run' of '_contextvars.Context' objects>
└ <_contextvars.Context object at 0x000001E378E82D80>

File "C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\routers\audio.py", line 1202, in transcription
raise HTTPException(
└ <class 'fastapi.exceptions.HTTPException'>

fastapi.exceptions.HTTPException: 400: [ERROR: 500: Error transcribing chunk: Unable to open file 'model.bin' in model 'C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache/whisper/models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e980a01041f333bce120']`

Additional Information

Easy fix if I could somehow change the install location of the model

Originally created by @BubblePlayzTHEREAL on GitHub (Dec 8, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19807 ### 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 have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!). - [x] I am using the latest version of Open WebUI. ### Installation Method Pip Install ### Open WebUI Version v0.6.26 ### Ollama Version (if applicable) 0.12.7-3-g0f03e90 ### Operating System Win 11 ### Browser (if applicable) Firefox 145.0.2 ### 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 Voice mode works properly ### Actual Behavior When downloading the file for whisper, it makes a filepath that is very long and doesnt create the full folder and thus cant continue. Folder made: C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache\whisper\models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e98 Folder needed C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache\whisper\models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e980a01041f333bce120 ### Steps to Reproduce 1. clean windows 11 install 2. install python from ms store 3. install ollama 4. install open-webui from pip 5. install whisper model ### Logs & Screenshots `Traceback (most recent call last): File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1032, in _bootstrap self._bootstrap_inner() │ └ <function Thread._bootstrap_inner at 0x000001E32BFEBBA0> └ <WorkerThread(AnyIO worker thread, started 23368)> File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.2800.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1075, in _bootstrap_inner self.run() │ └ <function WorkerThread.run at 0x000001E378583100> └ <WorkerThread(AnyIO worker thread, started 23368)> File "C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\anyio\_backends\_asyncio.py", line 976, in run result = context.run(func, *args) │ │ │ └ () │ │ └ functools.partial(<function transcription at 0x000001E3527AD940>, user=UserModel(id='5c8acdda-1ed0-42a2-b7d6-cf8fb7a17236', n... │ └ <method 'run' of '_contextvars.Context' objects> └ <_contextvars.Context object at 0x000001E378E82D80> > File "C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\routers\audio.py", line 1202, in transcription raise HTTPException( └ <class 'fastapi.exceptions.HTTPException'> fastapi.exceptions.HTTPException: 400: [ERROR: 500: Error transcribing chunk: Unable to open file 'model.bin' in model 'C:\Users\mylap\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.12_qbz5n2kfra8p0\LocalCache\local-packages\Python312\site-packages\open_webui\data\cache/whisper/models\models--Systran--faster-whisper-small\snapshots\536b0662742c02347bc0e980a01041f333bce120']` ### Additional Information Easy fix if I could somehow change the install location of the model
GiteaMirror added the bug label 2026-04-20 01:17:40 -05:00
Author
Owner

@owui-terminator[bot] commented on GitHub (Dec 8, 2025):

🔍 Similar Issues Found

I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions:

  1. #19777 issue:
    by Yaute7 • Dec 05, 2025 • bug

  2. #19740 issue: How to pass a file or a file URL when invoking MCP?
    by gongshaojie12 • Dec 04, 2025 • bug

  3. #19563 issue:
    by naruto7g • Nov 28, 2025 • bug

  4. #19211 issue:
    by Byrnes9 • Nov 16, 2025 • bug

  5. #14767 issue:
    by TheMoye • Jun 07, 2025 • bug

Show 5 more related issues
  1. #19062 issue: Attach File From Knowledge Suggestion Window size must increased to properly display filenames
    by athoik • Nov 09, 2025 • bug

  2. #19496 issue: 500 internal server error appears in v0.6.40
    by cloudtuotuo • Nov 26, 2025 • bug

  3. #14997 issue: Long model names and paths are unreadable
    by mrkrsl • Jun 15, 2025 • bug

  4. #15855 issue:
    by richtong • Jul 19, 2025 • bug

  5. #18975 issue: 500: Internal Error
    by nurb2kea • Nov 06, 2025 • bug


💡 Tips:

  • If this is a duplicate, please consider closing this issue and adding any additional details to the existing one
  • If you found a solution in any of these issues, please share it here to help others

This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.

<!-- gh-comment-id:3624361860 --> @owui-terminator[bot] commented on GitHub (Dec 8, 2025): 🔍 **Similar Issues Found** I found some existing issues that might be related to this one. Please check if any of these are duplicates or contain helpful solutions: 1. [#19777](https://github.com/open-webui/open-webui/issues/19777) **issue:** *by Yaute7 • Dec 05, 2025 • `bug`* 2. [#19740](https://github.com/open-webui/open-webui/issues/19740) **issue: How to pass a file or a file URL when invoking MCP?** *by gongshaojie12 • Dec 04, 2025 • `bug`* 3. [#19563](https://github.com/open-webui/open-webui/issues/19563) **issue:** *by naruto7g • Nov 28, 2025 • `bug`* 4. [#19211](https://github.com/open-webui/open-webui/issues/19211) **issue:** *by Byrnes9 • Nov 16, 2025 • `bug`* 5. [#14767](https://github.com/open-webui/open-webui/issues/14767) **issue:** *by TheMoye • Jun 07, 2025 • `bug`* <details> <summary>Show 5 more related issues</summary> 6. [#19062](https://github.com/open-webui/open-webui/issues/19062) **issue: Attach File From Knowledge Suggestion Window size must increased to properly display filenames** *by athoik • Nov 09, 2025 • `bug`* 7. [#19496](https://github.com/open-webui/open-webui/issues/19496) **issue: 500 internal server error appears in v0.6.40** *by cloudtuotuo • Nov 26, 2025 • `bug`* 8. [#14997](https://github.com/open-webui/open-webui/issues/14997) **issue: Long model names and paths are unreadable** *by mrkrsl • Jun 15, 2025 • `bug`* 9. [#15855](https://github.com/open-webui/open-webui/issues/15855) **issue:** *by richtong • Jul 19, 2025 • `bug`* 10. [#18975](https://github.com/open-webui/open-webui/issues/18975) **issue: 500: Internal Error** *by nurb2kea • Nov 06, 2025 • `bug`* </details> --- 💡 **Tips:** - If this is a duplicate, please consider closing this issue and adding any additional details to the existing one - If you found a solution in any of these issues, please share it here to help others *This comment was generated automatically by a bot.* Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
Author
Owner

@frenzybiscuit commented on GitHub (Dec 8, 2025):

Is this a OWUI issue or a windows issue, though?

Does this work if you use WSL2 in the Linux file system?

<!-- gh-comment-id:3624501892 --> @frenzybiscuit commented on GitHub (Dec 8, 2025): Is this a OWUI issue or a windows issue, though? Does this work if you use WSL2 in the Linux file system?
Author
Owner

@BubblePlayzTHEREAL commented on GitHub (Dec 8, 2025):

I'm not sure, I did fix it by setting an environment variable after looking through the code a bit thoroughly.

I set WHISPER_MODEL_DIR to C:/whisper and that has since fixed it.

<!-- gh-comment-id:3624518900 --> @BubblePlayzTHEREAL commented on GitHub (Dec 8, 2025): I'm not sure, I did fix it by setting an environment variable after looking through the code a bit thoroughly. I set `WHISPER_MODEL_DIR` to `C:/whisper` and that has since fixed it.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#19002