mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[GH-ISSUE #19807] issue: Filepath too long #19002
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @BubblePlayzTHEREAL on GitHub (Dec 8, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19807
Check Existing Issues
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
README.md.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
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>
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
@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:
#19777 issue:
by Yaute7 • Dec 05, 2025 •
bug#19740 issue: How to pass a file or a file URL when invoking MCP?
by gongshaojie12 • Dec 04, 2025 •
bug#19563 issue:
by naruto7g • Nov 28, 2025 •
bug#19211 issue:
by Byrnes9 • Nov 16, 2025 •
bug#14767 issue:
by TheMoye • Jun 07, 2025 •
bugShow 5 more related issues
#19062 issue: Attach File From Knowledge Suggestion Window size must increased to properly display filenames
by athoik • Nov 09, 2025 •
bug#19496 issue: 500 internal server error appears in v0.6.40
by cloudtuotuo • Nov 26, 2025 •
bug#14997 issue: Long model names and paths are unreadable
by mrkrsl • Jun 15, 2025 •
bug#15855 issue:
by richtong • Jul 19, 2025 •
bug#18975 issue: 500: Internal Error
by nurb2kea • Nov 06, 2025 •
bug💡 Tips:
This comment was generated automatically by a bot. Please react with a 👍 if this comment was helpful, or a 👎 if it was not.
@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?
@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_DIRtoC:/whisperand that has since fixed it.