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

Fix docker tmp/ and extensions/ handling for docker.

Open simcop2387 opened this issue 2 years ago • 1 comments

This should address #4485 and #4474

We try to do the rename first since it'll be faster and more reliable for setups where it works, but when it doesn't we fall back to using shutil.move() so that it can handle when there's multiple filesystems involved (usually docker, or symlinks involved).

simcop2387 avatar Nov 13 '22 18:11 simcop2387

Tested and working for me

simcop2387 avatar Nov 13 '22 21:11 simcop2387

the idea is to prevent a situation where a script is only copied halfway and the program stops working and you end up with incomplete copy of the repo. The solution I'd prefer is to make a temp dir inside extensions dir then.

AUTOMATIC1111 avatar Nov 19 '22 13:11 AUTOMATIC1111

Make it happen

yolofy avatar Dec 17 '22 23:12 yolofy