Some tips in case of broken webui. #16645
Unanswered
espritdautomne
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here, some tips I'd like to share from personal experience and problems when stable diffusion broke itself that i came across and solutions that works for me. Hope it help.
No need to do it all in this order, there are tips for specific problems and worth trying.
Backup when it's working
make sure to set these environment
PY_LIBS = (portable webui folder)\python\Scripts\Lib; (portable webui folder)\python\Scripts\Lib\site-packages;
PY_PIP = (portable webui folder)\python\Scripts
IP_INSTALLER_LOCATION=(portable webui folder)\python\get-pip.py
SKIP_VENV=1 (i dont use venv when it is possible)
these can be a bit different on you side so try to locate these folder to make sure.
pip can be often broken in many portable version of stable diffusion. Make sure those environment variables are correctly set then do this:
python -m pip install --force-reinstall --upgrade pip
download and decompress a portable version of git and set it to you path or many plugins will not work or update. This also prevent install manager to work properly in comfyui if git does not exist in path
If a plugins or module broke you stable diffusion and you didn't make any backup, you can just delete it's folder from the folder webui\extensions or from nodes extensions in comfyui, restart and it should work.
in webui-user.bat , add --skip-instal (yes, with one l only) to COMMANDLINE_ARGS. this will prevent errors while working completely offline or having later update that might broke something that work.
if you use reactor, download GFPGANv1.4.pth ( https://huggingface.co/gmk123/GFPGAN/blob/main/GFPGANv1.4.pth ) , move it to \webui\models\GFPGAN folder then use GFPGAN instead of codeformer for better result.
open cmd with admin right then do this:
takeown /F "my drive:\my webui folder" /A /R /D Y
On my side, running run.bat from clicking on it wont work properly so i need to open a cmd with admin right and run it with run.bat from webui folder instead and it work.
Beta Was this translation helpful? Give feedback.
All reactions