Update using the following command line pip install --upgrade open-webui
Originally created by @a506488043 on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9901
# Bug Report

Update using the following command line
`pip install --upgrade open-webui
`
Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
<!-- gh-comment-id:2656578901 -->
@beastech commented on GitHub (Feb 13, 2025):
Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
Hello, how do I clear the cache of openwebui?
<!-- gh-comment-id:2656606810 -->
@a506488043 commented on GitHub (Feb 13, 2025):
> Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
Hello, how do I clear the cache of openwebui?
Please look into this ASAP, i know the image generation was definitly broken by the update to 0.5.11 as i was using just now before upddating.
now when i click image generation i get 👍
[ERROR: HTTPConnectionPool(host='127.0.0.1', port=7860): Max retries exceeded with url: /sdapi/v1/txt2img (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f18750b7690>: Failed to establish a new connection: [Errno 111] Connection refused'))]
<!-- gh-comment-id:2656607363 -->
@chaosnature commented on GitHub (Feb 13, 2025):
Please look into this ASAP, i know the image generation was definitly broken by the update to 0.5.11 as i was using just now before upddating.
now when i click image generation i get 👍
`[ERROR: HTTPConnectionPool(host='127.0.0.1', port=7860): Max retries exceeded with url: /sdapi/v1/txt2img (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f18750b7690>: Failed to establish a new connection: [Errno 111] Connection refused'))]`
Look further into it, tunrs out its my stable diffusion integration that it broke, is there soemthing we have to to to the stable api integration to make sure it works with the new update?
(base) chaosnature@DESKTOP-JLBAIS0:/stablediff/stable-diffusion-webui$ ./webui.sh --listen --api
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################
################################################################
Running on chaosnature user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
glibc version is 2.40
Check TCMalloc: libtcmalloc_minimal.so.4
./webui.sh: line 258: bc: command not found
./webui.sh: line 258: [: -eq: unary operator expected
libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
Python 3.10.16 (main, Jan 2 2025, 15:28:52) [GCC 14.2.0]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Traceback (most recent call last):
File "/stablediff/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/stablediff/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/stablediff/stable-diffusion-webui/modules/launch_utils.py", line 387, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
(base) chaosnature@DESKTOP-JLBAIS0:/stablediff/stable-diffusion-webui$
<!-- gh-comment-id:2656639027 -->
@chaosnature commented on GitHub (Feb 13, 2025):
Look further into it, tunrs out its my stable diffusion integration that it broke, is there soemthing we have to to to the stable api integration to make sure it works with the new update?
```
(base) chaosnature@DESKTOP-JLBAIS0:/stablediff/stable-diffusion-webui$ ./webui.sh --listen --api
################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################
################################################################
Running on chaosnature user
################################################################
################################################################
Repo already cloned, using it as install directory
################################################################
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
glibc version is 2.40
Check TCMalloc: libtcmalloc_minimal.so.4
./webui.sh: line 258: bc: command not found
./webui.sh: line 258: [: -eq: unary operator expected
libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/lib/x86_64-linux-gnu/libtcmalloc_minimal.so.4
Python 3.10.16 (main, Jan 2 2025, 15:28:52) [GCC 14.2.0]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Traceback (most recent call last):
File "/stablediff/stable-diffusion-webui/launch.py", line 48, in <module>
main()
File "/stablediff/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/stablediff/stable-diffusion-webui/modules/launch_utils.py", line 387, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
(base) chaosnature@DESKTOP-JLBAIS0:/stablediff/stable-diffusion-webui$
```
./webui.sh --listen --api --skip-torch-cuda-test
does it mean the update is not compatible with my cuda version which is currently 12.8 the latest version?
<!-- gh-comment-id:2656667509 -->
@chaosnature commented on GitHub (Feb 13, 2025):
Update:
this fixed it after skipping cuda test :
`./webui.sh --listen --api --skip-torch-cuda-test `
does it mean the update is not compatible with my cuda version which is currently 12.8 the latest version?
Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
Hello, how do I clear the cache of openwebui?
Use this command:
sudo docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui
<!-- gh-comment-id:2657614887 -->
@chaosnature commented on GitHub (Feb 13, 2025):
> > Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
>
> Hello, how do I clear the cache of openwebui?
Use this command:
#
sudo docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @a506488043 on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/9901
Bug Report
Update using the following command line
pip install --upgrade open-webui@i-iooi-i commented on GitHub (Feb 13, 2025):
Same issue, can't get the latest version.
@beastech commented on GitHub (Feb 13, 2025):
Did you try clearing your cache after you updated? I've seen that MANY times when moving to new versions of Open WebUI.
@a506488043 commented on GitHub (Feb 13, 2025):
Hello, how do I clear the cache of openwebui?
@chaosnature commented on GitHub (Feb 13, 2025):
Please look into this ASAP, i know the image generation was definitly broken by the update to 0.5.11 as i was using just now before upddating.
now when i click image generation i get 👍
[ERROR: HTTPConnectionPool(host='127.0.0.1', port=7860): Max retries exceeded with url: /sdapi/v1/txt2img (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f18750b7690>: Failed to establish a new connection: [Errno 111] Connection refused'))]@chaosnature commented on GitHub (Feb 13, 2025):
Look further into it, tunrs out its my stable diffusion integration that it broke, is there soemthing we have to to to the stable api integration to make sure it works with the new update?
@chaosnature commented on GitHub (Feb 13, 2025):
Update:
this fixed it after skipping cuda test :
./webui.sh --listen --api --skip-torch-cuda-testdoes it mean the update is not compatible with my cuda version which is currently 12.8 the latest version?
@chaosnature commented on GitHub (Feb 13, 2025):
Use this command:
sudo docker run --rm --volume /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower --run-once open-webui