stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: cannot start portable

Open ApexArtist opened this issue 1 year ago • 1 comments

Checklist

  • [ ] The issue exists after disabling all extensions
  • [X] The issue exists on a clean installation of webui
  • [ ] The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • [ ] The issue exists in the current version of the webui
  • [ ] The issue has not been reported before recently
  • [ ] The issue has been reported before but has not been fixed yet

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

ApexArtist avatar Jun 14 '24 08:06 ApexArtist

Which filesystem disk G uses

light-and-ray avatar Jun 24 '24 09:06 light-and-ray