-
Notifications
You must be signed in to change notification settings - Fork 27.1k
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
[Bug]: Can't start when I'm offline, only works when I have internet #4648
Comments
Update, problem appears after I install dreambooth extension |
Shouldn't you report this to the dreambooth extension rather than the webui then? |
Launch webui while online, let the Dreambooth extension install it's requirements. After successful launch, Go to: Create models using desired Source Checkpoints... Close it all down. Go to: Text Edit/Save: Find: Replace with: Launch webui while offline Go to: Select desired Model... |
Thank you |
Just tried, it's stil not working without internet |
see here: d8ahazard/sd_dreambooth_extension#140 |
#NOTE the below will obviously break any new requirements... Launch webui while online, let the Dreambooth extension install it's requirements. After successful launch, Go to: Create models using desired Source Checkpoints... Close it all down. Go to: Backup/Text Edit/Save: Select Everything/Delete requirements.txt and requirements_versions.txt should each have the size of 0kb. Launch webui while offline Go to: Select desired Model... |
We had no internet for two days. I was able to bypass the startup by commenting the launch.py file with the line: So it would be nice to have a --offline command to bypass this line, maybe download all modules from the net in advance, so that it doesn't look for them when there is no net. |
dreambooth issue |
No, it's not a dreambooth issue, I got it earlier when I didn't have internet, please open back this issue!
|
This exact issue was for DB, yours is not. It could be skipped by adding |
This would be good, and it seems to be enough to set the condition on this one line and then running. |
Maybe I should have made a new issue for this, but this one has a very generic title, and is still open, so here I am. Trying to launch without active internet (on Linux) causes webui.sh to try and clone the repo again, when it's already cloned. This causes a failure and abort. Same story when using Launching with internet, the typical "Repo already cloned, using it as install directory" is logged, but without:
Edit: My fault, was an issue with modifications made to webui-user.sh. Nevermind. |
Is there an existing issue for this?
What happened?
When I'm offline, it's not starting
Steps to reproduce the problem
Commit hash:
Installing requirements for Web UI
Traceback (most recent call last):
File "F:\Softwares\stable-diffusion-webui-master\launch.py", line 255, in
prepare_enviroment()
File "F:\Softwares\stable-diffusion-webui-master\launch.py", line 213, in prepare_enviroment
run_pip(f"install -r {requirements_file}", "requirements for Web UI")
File "F:\Softwares\stable-diffusion-webui-master\launch.py", line 63, in run_pip
return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
File "F:\Softwares\stable-diffusion-webui-master\launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Couldn't install requirements for Web UI.
Command: "F:\Softwares\stable-diffusion-webui-master\venv\Scripts\python.exe" -m pip install -r requirements_versions.txt --prefer-binary
Error code: 1
stdout:
stderr: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001AE5E0F5600>: Failed to establish a new connection: [WinError 10013] Eriim izinlerince izin verilmeyen bir ekilde bir yuvaya eriilmeye alld')': /simple/transformers/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001AE5E0F5930>: Failed to establish a new connection: [WinError 10013] Eriim izinlerince izin verilmeyen bir ekilde bir yuvaya eriilmeye alld')': /simple/transformers/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001AE5E0F5C60>: Failed to establish a new connection: [WinError 10013] Eriim izinlerince izin verilmeyen bir ekilde bir yuvaya eriilmeye alld')': /simple/transformers/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001AE5E0F5E10>: Failed to establish a new connection: [WinError 10013] Eriim izinlerince izin verilmeyen bir ekilde bir yuvaya eriilmeye alld')': /simple/transformers/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x000001AE5E0F5FC0>: Failed to establish a new connection: [WinError 10013] Eriim izinlerince izin verilmeyen bir ekilde bir yuvaya eriilmeye alld')': /simple/transformers/
ERROR: Could not find a version that satisfies the requirement transformers==4.19.2 (from versions: none)
ERROR: No matching distribution found for transformers==4.19.2
[notice] A new release of pip available: 22.2.1 -> 22.3.1
[notice] To update, run: F:\Softwares\stable-diffusion-webui-master\venv\Scripts\python.exe -m pip install --upgrade pip
Press any key to continue .
What should have happened?
It should start without internet connection
Commit where the problem happens
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
No response
The text was updated successfully, but these errors were encountered: