Replies: 4 comments 2 replies
-
Are you working with different users on that machine? Or is that a network drive? |
Beta Was this translation helpful? Give feedback.
-
I also encountered the same problem. I installed it on a mobile hard disk. I saw a saying that it might be related to the storage format of the hard disk. I am not sure. |
Beta Was this translation helpful? Give feedback.
-
Here's what worked for me:
|
Beta Was this translation helpful? Give feedback.
-
Question was bumped from a year ago, but if anyone else runs into it, the problem was just that he needed to use double-quotes instead of single-quotes. The error message was formatted for Linux, but Windows cmd.exe only takes double quotes, so the path with a space in it was turning into two arguments. Or just disable this misfeature entirely. It doesn't make any sense on single-user Windows machines, and it's questionable in Linux too--my directory permissions are none of git's business: git config --global --add safe.directory "*" (Maybe this happens if you're on an old FAT32 filesystem, though those should be really rare these days unless you're installing on something like a USB thumb drive..) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
fatal: detected dubious ownership in repository at 'D:/AI/SuperSD 2.1/stable-diffusion-webui'
'D:/AI/SuperSD 2.1/stable-diffusion-webui' is on a file system that doesnot record ownership
To add an exception for this directory, call:
venv "D:\AI\SuperSD 2.1\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
Commit hash:
Traceback (most recent call last):
File "D:\AI\SuperSD 2.1\stable-diffusion-webui\launch.py", line 315, in
prepare_environment()
File "D:\AI\SuperSD 2.1\stable-diffusion-webui\launch.py", line 255, in prepare_environment
git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
File "D:\AI\SuperSD 2.1\stable-diffusion-webui\launch.py", line 111, in git_clone
current_hash = run(f'"{git}" -C {dir} rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
File "D:\AI\SuperSD 2.1\stable-diffusion-webui\launch.py", line 65, in run
raise RuntimeError(message)
RuntimeError: Couldn't determine Stable Diffusion's hash: 47b6b60.
Command: "git" -C repositories\stable-diffusion-stability-ai rev-parse HEAD
Error code: 128
stdout:
stderr: fatal: detected dubious ownership in repository at 'D:/AI/SuperSD 2.1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai'
'D:/AI/SuperSD 2.1/stable-diffusion-webui/repositories/stable-diffusion-stability-ai' is on a file system that doesnot record ownership
To add an exception for this directory, call:
Press any key to continue . . .
and it close when i press. so i try to do what it say, like run cmd and paste:
cmd show:
error: wrong number of arguments, should be 2
usage: git config []
Config file location
--global use global config file
--system use system config file
--local use repository config file
--worktree use per-worktree config file
-f, --file use given config file
--blob read config from given blob object
Action
--get get value: name [value-pattern]
--get-all get all values: key [value-pattern]
--get-regexp get values for regexp: name-regex [value-pattern]
--get-urlmatch get value specific for the URL: section[.var] URL
--replace-all replace all matching variables: name value [value-pattern]
--add add a new variable: name value
--unset remove a variable: name [value-pattern]
--unset-all remove all matches: name [value-pattern]
--rename-section rename section: old-name new-name
--remove-section remove a section: name
-l, --list list all
--fixed-value use string equality when comparing values to 'value-pattern'
-e, --edit open an editor
--get-color find the color configured: slot [default]
--get-colorbool find the color setting: slot [stdout-is-tty]
Type
-t, --type value is given this type
--bool value is "true" or "false"
--int value is decimal number
--bool-or-int value is --bool or --int
--bool-or-str value is --bool or string
--path value is a path (file or directory name)
--expiry-date value is an expiry date
Other
-z, --null terminate values with NUL byte
--name-only show variable names only
--includes respect include directives on lookup
--show-origin show origin of config (file, standard input, blob, command line)
--show-scope show scope of config (worktree, local, global, system, command)
--default with --get, use default value when missing entry
forgive my stupid head, please help.
Beta Was this translation helpful? Give feedback.
All reactions