Open pto199 opened 1 year ago
I had the same problem just today: I first installed the webui with one pc on a portable HDD, then went to use it on another one (new venv) and this happened.
Anyways, the reason for error: wrong number of arguments, should be 2 usage: git config []
on Git for Windows is that for some reason it still doesn't support that command. You just need to run it through Git Bash (which should be included with the Git installer)
You can either run it:
Then just copy-paste that same command once per each repository (just make sure you know the security implications of doing it on a shared drive!)
I ran into this issue as well and the above worked for me but needed to be implemented differently since I was using the docker implementation from https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/7946
I changed the docker compose file to use the following "command".
command:
- /bin/bash
- -c
- |
git config --global --add safe.directory '/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
git config --global --add safe.directory '/stable-diffusion-webui/repositories/taming-transformers'
git config --global --add safe.directory '/stable-diffusion-webui/repositories/k-diffusion'
git config --global --add safe.directory '/stable-diffusion-webui/repositories/CodeFormer'
git config --global --add safe.directory '/stable-diffusion-webui/repositories/BLIP'
python3 launch.py --listen
After applying the changes to my stack, the above errors went away and the site launched successfully in Portainer as expected.
I'm not getting it. Since I downloaded a lot of models, and it's now 80 GB in size, I'd like to know how to run [AUTOMATIC1111] from a network drive, which is probably faster than my HD (2.5 Gigabit Ethernet Raid0 NAS). It won't run. Any help appreciated.
EDIT: This is all locally installed on a windows 11 machine. It runs fine there, it just wont run from a network drive. Loads up okay, Gui is avail, does nothing
Is there an existing issue for this?
What happened?
I cant open this when launching from a network drive. I get the following when I open webui-user.bat
So I try entering in a command prompt
git config --global --add safe.directory '%(prefix)///Unraid/Stable Difussion/ai/repositories/stable-diffusion-stability-ai'
But it doesnt work. just says "error: wrong number of arguments, should be 2 usage: git config []
"
If I run this locally from somewhere like c:\Stable Diffusion, it all works without issue.
What should have happened?
It should have worked like when launching if the files are stored locally
Commit where the problem happens
bb11bee22ab02aa2fb5b96baa9be8103fff19e6a
What platforms do you use to access UI ?
Windows