AUTOMATIC1111 / stable-diffusion-webui

Stable Diffusion web UI
GNU Affero General Public License v3.0
143.31k stars 26.99k forks source link

[Bug]: cannot start portable #16019

Open jonnytracker opened 5 months ago

jonnytracker commented 5 months ago

Checklist

What happened?

portable package instruction missing

Steps to reproduce the problem

  1. download portable
  2. extract
  3. run.bat

What should have happened?

load engine and web ui

What browsers do you use to access the UI ?

Google Chrome

Sysinfo

cannot load at all

Console logs

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Commit hash: <none>
Traceback (most recent call last):
  File "G:\AI\Stable Diffusion\webui\launch.py", line 324, in <module>
    prepare_environment()
  File "G:\AI\Stable Diffusion\webui\launch.py", line 264, in prepare_environment
    git_clone(stable_diffusion_repo, repo_dir('stable-diffusion-stability-ai'), "Stable Diffusion", stable_diffusion_commit_hash)
  File "G:\AI\Stable Diffusion\webui\launch.py", line 120, in git_clone
    current_hash = run(f'"{git}" -C "{dir}" rev-parse HEAD', None, f"Couldn't determine {name}'s hash: {commithash}").strip()
  File "G:\AI\Stable Diffusion\webui\launch.py", line 74, in run
    raise RuntimeError(message)
RuntimeError: Couldn't determine Stable Diffusion's hash: 47b6b607fdd31875c9279cd2f4f16b92e4ea958e.
Command: "git" -C "repositories\stable-diffusion-stability-ai" rev-parse HEAD
Error code: 128
stdout: <empty>
stderr: fatal: detected dubious ownership in repository at 'G:/AI/Stable Diffusion/webui/repositories/stable-diffusion-stability-ai'
'G:/AI/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:

        git config --global --add safe.directory 'G:/AI/Stable Diffusion/webui/repositories/stable-diffusion-stability-ai'

Press any key to continue . . .

Additional information

No response

light-and-ray commented 5 months ago

Which filesystem disk G uses