Stable-Diffusion-webui-dockerが動かなかったときのメモ

docker compose --profile auto up --buildをしてもなんも出ない

原因

dockerが吹き飛んでいるかも。

対処
  1. 再起動
  2. DockerDesktopの再インストール

TypeError: AsyncConnectionPool.__init__() got an unexpected keyword argument 'socket_options'

原因

httpxのバージョンに問題がある。

対処
  1. SD-webui-docker > services > AUTOMATIC1111 > Dockerfile を開く
  2. pip install requirements.txt より後に、>||RUN --mount=type=cache,target=/root/.cache/pip \

pip install httpx==0.24.1||< を追記。

AttributeError: module 'modules.ui_components' has no attribute 'InputAccordion'

対処

アップデート
>||git pull|