How do I uninstall an extension? #8052
-
I installed https://github.com/lllyasviel/ControlNet when it first came out using the install from URL option. This was probably a bad idea as it was not capable or at least wasn't at the time. Now I have the correct version installed. I think the old version is conflicting. How can I get rid of ControlNET. There is no uninstall option |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 11 replies
-
Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
-
I get this error when I try to use the ControlNet option in img2img. |
Beta Was this translation helpful? Give feedback.
-
I'm pretty sure you can just go into the "extensions" folder and delete the directory manually. |
Beta Was this translation helpful? Give feedback.
-
Sometimes when deleting extensions, I notice stuff gets left behind in the venv file that can cause issues. You can try to dig in there to find the cause, but personally I just delete the whole venv folder and let Web UI remake it. |
Beta Was this translation helpful? Give feedback.
-
Wow, so finally this is the answer; to reinstall everything for removing a single extension (Bing AI also reference to this post). |
Beta Was this translation helpful? Give feedback.
-
Delete the extension from the Extensions folder In case an extension installed dependencies that are causing issues, delete the venv folder and let the webui-user.bat remake it Sometimes extensions can leave behind additional stuff inside the models folder, it usually doesn't cause issues but it can leave behind unused models that will just take up space. Since extensions can add their own entries to the Settings page, sometimes they could also be causing issues, so deleting their entries in both config.json and ui-config.json could also help. You can also just delete those files altogether and let the UI remake them, though that will reset all settings to default. If issues are still present, then a full reinstall might be better |
Beta Was this translation helpful? Give feedback.
-
This is a ridiculous and unacceptable limitation, these bloated, half baked applications are buggy, unpredictable and unreliable and are always ready to be rendered unusable when installing an extension, it's a risky roll of the dice every time you do. And no way to remove extensions? Especially after one breaks the entire UI? Instead of using the app to produce barely usable assets, which is very time consuming, if the app breaks, all you can do is spend hours reinstall the entire thing hopefully to the last working state you remember? |
Beta Was this translation helpful? Give feedback.
-
I mean to be honest I haven't seen something open source blow up this big since p2p in the 90's this even eclipses docker numbers . Everyday there are new models improved models new tools improved tools. It use to take me days to make 12 pictures that resembled each other enough to make a gif. now in a mater of hours I can have 2 min clip at 30 Fps and with a little post processing it looks great. Soon I might be able to make a short 3 min clip at 60 fps with a prompt with no post processing . Honestly what ever they are doing its working everyday a new paper pushing the envelope and its all free . |
Beta Was this translation helpful? Give feedback.
-
A +1 to the recommendation to simply delete the desired folder for the given extension from the Extensions folder. I've done this a couple of times without incident. But I also take an additional step to identify and remove any other possible changes/modifications that might have been made during the installation of the no longer desired extension. I make a backup copy of the entire sd.webui folder on another drive which I routinely update with the free file copy/synchronization program 'FreeFileSync.' The great thing about FreeFileSync is that it utilizes a two step process in syncing up the active and backup copies. The first step is simply to generate a complete folder by folder and file by file comparison of the two copies. The vast majority of the time my objective is to update the backup copy to the same exact state as the active copy, So in that case I mirror the backup to the active copy. But on the very infrequent occasions when I might want to revert to the prior version, I simply reverse the process and mirror the active to the backup. That approach has worked for me for a variety of applications. |
Beta Was this translation helpful? Give feedback.
Delete the extension from the Extensions folder
In case an extension installed dependencies that are causing issues, delete the venv folder and let the webui-user.bat remake it
Sometimes extensions can leave behind additional stuff inside the models folder, it usually doesn't cause issues but it can leave behind unused models that will just take up space.
Since extensions can add their own entries to the Settings page, sometimes they could also be causing issues, so deleting their entries in both config.json and ui-config.json could also help. You can also just delete those files altogether and let the UI remake them, though that will reset all settings to default.
If issues are still pre…