stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Cannot start web ui, is stuck a installing requierements

Open githubartman opened this issue 2 years ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

I updated to commit "c5334fc56b3d44976425da2e6d0a303ae96836a1" (is this the right format?!) and it went pretty well I installed 2 extensions, but deactivated them (tokenizer and some other).

The I went on to write a custom script, added the script to the folder, wanted to test the script and now its stuck at the installing requirements.

Steps to reproduce the problem

I have no idea how to reproduce it or what is going on

What should have happened?

A regular program start

Commit where the problem happens

c5334fc56b3d44976425da2e6d0a303ae96836a1

What platforms do you use to access UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--api --xformers

Additional information, context and logs

No response

githubartman avatar Nov 08 '22 11:11 githubartman

Now after deleting the extensions manually from the folder it works again. The bugged out (and via UI deactivated extensions) were tokenizer and sd_dreambooth_extension (that didnt work in the first place).

I dont close it just in case a lost and frustrated user is in the same place as me after dabbling into extensions

ghost avatar Nov 08 '22 12:11 ghost

hey i broke my local with tokenizer and sd-dreambooth extensions too!! how do i manually remove them?! NVM, i wiped dreambooth and am up again

spinferno avatar Nov 08 '22 12:11 spinferno

Same things with dreambooth extension, SD web ui stuck on installing requierements.

exsorde avatar Nov 09 '22 19:11 exsorde

hey i broke my local with tokenizer and sd-dreambooth extensions too!! how do i manually remove them?! NVM, i wiped dreambooth and am up again

You could just move the folder with the problematic extension from the folder "extensions" in the root folder SD

exsorde avatar Nov 09 '22 19:11 exsorde

I got the same issue with the dreambooth extension. Deleting the folder extensions/sd_dreambooth_extension makes web UI work again. No dreambooth for now :-(

simonwinkelbach avatar Nov 09 '22 20:11 simonwinkelbach

Wait! I might have found a fix! If you have any spaces in your directory leading so sd webui, then it messes it up! for example: my directory used to be called "D:\AI Stuff\SSD 2.0\stable-diffusion-webui" and it didn't work, but when i renamed it to "D:\AIStuff\SSD2.0\stable-diffusion-webui" after uninstalling then reinstalling, it started to work! if you dont have spaces already then i dont have a fix but otherwise, i think that's the fix! :D

Bookie28 avatar Nov 09 '22 20:11 Bookie28

Adding to this thread. I've found that when any extension fails to load this can occur. Because the message doesn't show up when restarting, there's no hint as to what is wrong. I was only able to determine this after noticing error messages in my logs upon adding them when webui was running that some modules were missing. I'm not entirely certain why the extensions cannot find modules, but the errorless failure seemed to reproduce when the extensions bugged out.

GarbageHaus avatar Dec 20 '22 04:12 GarbageHaus

For me restarting my pc helped.

apinanaivot avatar May 24 '23 11:05 apinanaivot

We should report more context log for this bug.

Currently, the run.bat will stuck at Installing requirements forever.

JuniorTour avatar Jul 18 '23 16:07 JuniorTour