Hi everyone
We intstalled the AI-Visualizer add-on on a machine that fits all the hardware requirements. The add-on did work initially. Sadly when we log in with a different users, the add-on ist not working. The following error occoures:
fatal: detected dubious ownership in repository at 'C:/sd.webui/webui'
'C:/sd.webui/webui' is owned by:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1367'
but the current user is:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1809'
To add an exception for this directory, call:
git config --global --add safe.directory C:/sd.webui/webui
fatal: detected dubious ownership in repository at 'C:/sd.webui/webui'
'C:/sd.webui/webui' is owned by:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1367'
but the current user is:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1809'
To add an exception for this directory, call:
git config --global --add safe.directory C:/sd.webui/webui
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.6.0
Commit hash: <none>
Couldn't determine Stable Diffusion's hash: cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf, attempting autofix...
Fetching all contents for Stable Diffusion
fatal: detected dubious ownership in repository at 'C:/sd.webui/webui/repositories/stable-diffusion-stability-ai'
'C:/sd.webui/webui/repositories/stable-diffusion-stability-ai' is owned by:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1367'
but the current user is:
'X-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1809'
To add an exception for this directory, call:
git config --global --add safe.directory C:/sd.webui/webui/repositories/stable-diffusion-stability-ai
Traceback (most recent call last):
File "C:\sd.webui\webui\launch.py", line 48, in <module>
main()
File "C:\sd.webui\webui\launch.py", line 39, in main
prepare_environment()
File "C:\sd.webui\webui\modules\launch_utils.py", line 380, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
File "C:\sd.webui\webui\modules\launch_utils.py", line 172, in git_clone
current_hash = run_git(dir, name, 'rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}", live=False).strip()
File "C:\sd.webui\webui\modules\launch_utils.py", line 160, in run_git
git_fix_workspace(dir, name)
File "C:\sd.webui\webui\modules\launch_utils.py", line 147, in git_fix_workspace
run(f'"{git}" -C "{dir}" fetch --refetch --no-auto-gc', f"Fetching all contents for {name}", f"Couldn't fetch {name}", live=True)
File "C:\sd.webui\webui\modules\launch_utils.py", line 115, in run
raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't fetch Stable Diffusion.
Command: "git" -C "C:\sd.webui\webui\repositories\stable-diffusion-stability-ai" fetch --refetch --no-auto-gc
Error code: 128
Drücken Sie eine beliebige Taste . . .
I tried running git config --global --add safe.directory C:/sd.webui/webui but that isn't working because I have no funtion called "git". Doas anyone know how to fix this?
Cheers, Lucien
Operating system used: Windows 4060
... View more