Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a switch or series of switches that can be used to prevent background components from updating? #2655

Open
BasesJs opened this issue Feb 14, 2025 · 3 comments

Comments

@BasesJs
Copy link

BasesJs commented Feb 14, 2025

Forgive me if that doesn't make sense. The problem that I'm having is this:

I have downloaded the last 'release' version of forge. It will run ok for a few days, but almost like clockwork at some point it will stop. Most times I have to delete the system directory, and drop it back in. After a few attempts of running the 'run.bat', and re-installing components, it will run.

Most of these failures to start seem to occur while checking for updates to components in the background, I've search many of them here and on the web at various times, been able to resolve some of them. I used to try to run the update regularly, but that made things more unstable.

I'd like to just be able to have the release version run stably and choose a more controlled method for updating, making sure the current directory is backed up, etc. Any insights would be appreciated, thank you.

@GlamoramaAttack
Copy link

Forge doesn't have a 'run.bat'. There is a 'webui.bat' and 'webui-user.bat'. You should use only the latter .bat file to start Forge.
Forge, components or extensions don't update in the background. You must update yourself per 'git pull' in a cmd window in your Forge folder. You should include an error message or your version number if you ask for help.

@BasesJs
Copy link
Author

BasesJs commented Feb 14, 2025

Forge doesn't have a 'run.bat'. There is a 'webui.bat' and 'webui-user.bat'. You should use only the latter .bat file to start Forge. Forge, components or extensions don't update in the background. You must update yourself per 'git pull' in a cmd window in your Forge folder. You should include an error message or your version number if you ask for help.

That is wrong, look under "releases" and in the readme. The file that is recommended to be downloaded:
https://github.com/lllyasviel/stable-diffusion-webui-forge/releases/download/latest/webui_forge_cu121_torch231.7z

Image

@GlamoramaAttack
Copy link

GlamoramaAttack commented Feb 14, 2025

I wasn't aware about the files in the installer package because I use git clone for installing where none of the three .bat files in your screenshot are used. Sorry for the confusion!

However: without error messages it's difficult to help you.

Your run.bat file does nothing else than calling the environment.bat (which is setting the paths and directories etc.). The run.bat file then calls the webui-user.bat file in your webui folder. The webui-user.bat file is the one that actually starts Forge. In your webui-user.bat file you can set command lines, for example ( --ad-no-huggingface ) to avoid downloads from Huggingface that can happen if you use certain extensions as Adetailer (for ControlNet) or Clip-Interrogator. Is that the case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants