mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-11 00:13:40 -05:00
[GH-ISSUE #14496] issue: Error: 'NoneType' object is not subscriptable #17276
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 @iyogeshjoshi on GitHub (May 29, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/14496
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.12
Ollama Version (if applicable)
0.8.0
Operating System
macOS Sequoia
Browser (if applicable)
Brave 1.78.97, Arc 1.95.0, Safari 18.5
Confirmation
README.md.Expected Behavior
Whenever I'm chatting with any of the models, they should respond properly without throwing an error
Actual Behavior
Whenever I send a message to any of the models, be it OpenAI or Ollama, it throws the same error, which is
'NoneType' object is not subscriptableSteps to Reproduce
Have a setup up and running a previous version of the open-webui image using Docker, which is using a local (not Docker) version of ollama created previously using the following command:
Now, update the image using the following command :
Everything will work fine, but the following are the few things that are not working. Immediately, I lost access to all my ollama models, it's not listing any of the model anymore. I added OpenAI key, the listing seems to be working fine with it.
Logs & Screenshots
Browser logs:
Docker logs
Docker env vars
Additional Information
Even with the complete new installation of open-webui, be it on
mainbranch ordevbranch, I'm getting the same error; the only thing that remains common is the volume used previously. Although I was previously able to obtain the list of Ollama models, after attempting to fix the broken functionality, that also stopped happening. I have been and still am very fond of open-webui, I use it primarily for everything, but some post-upgrading to the latest image has broken the functionality. Still keep up the good work, team. Let me know if anything more is required for debugging. Happy to help.PS: I have gone through the troubleshoot page and have tried updating the Ollama URL, tried both
localhostand127.0.0.1, still nothing works. Though I can confirm the local ollama APIs are working fine, I have confirmed.UPDATE:
After changing a few Docker configs, I was able to resolve the issue of models not listing, but the main issue, where it throws the above-specified error, still persists.
@rgaricano commented on GitHub (May 29, 2025):
Is alredy addressed, same as in https://github.com/open-webui/open-webui/issues/14421
@tjbck commented on GitHub (May 29, 2025):
Addressed with
be989f3645