Error Description:
fatal: detected dubious ownership in repository at '
RuntimeError: Couldn't fetch Stable Diffusion.
Command: "git" -C "/media/vamzi/ssd/stable-diffusion-webui-master/stable-diffusion-webui/repositories/stable-diffusion-stability-ai" fetch --refetch --no-auto-gc
Error code: 128
solution:
mount the partition with proper permissions
Edit fstab file,
use the following mount partition location and permissions,
/dev/nvme0n1p1 /media/vamzi/ssd ntfs-3g nosuid,nodev,nofail,uid=1000,gid=1000,x-gvfs-show,x-gvfs-name=Data-drive 0 0
Create mount location using
sudo mkdir /media/vamzi/ssd
mount the partition using
mount /dev/nvme0n1p1
and once you rerun webui.sh,
the problem shouldnt persist and the error should be gone :)