Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AUTOMATIC1111 web ui fails to start first time #600

Closed
2 tasks done
cococig opened this issue Oct 23, 2023 · 1 comment · Fixed by #601
Closed
2 tasks done

AUTOMATIC1111 web ui fails to start first time #600

cococig opened this issue Oct 23, 2023 · 1 comment · Fixed by #601
Labels
bug Something isn't working

Comments

@cococig
Copy link
Contributor

cococig commented Oct 23, 2023

Has this issue been opened before?

  • It is not in the FAQ, I checked.
  • It is not in the issues, I searched.

Describe the bug

When I run docker compose --profile auto up --build according to the Setup procedure in the Wiki, I get the following error.

...
206.2 Get:384 http://deb.debian.org/debian bullseye/main amd64 publicsuffix all 20220811.1734-0+deb11u1 [127 kB]
206.2 Get:385 http://deb.debian.org/debian bullseye/main amd64 va-driver-all amd64 2.10.0-1 [15.3 kB]
206.3 Get:386 http://deb.debian.org/debian bullseye/main amd64 vdpau-driver-all amd64 1.4-3 [8540 B]
206.3 Get:387 http://deb.debian.org/debian bullseye/main amd64 xauth amd64 1:1.1-1 [40.5 kB]
206.3 Get:388 http://deb.debian.org/debian bullseye/main amd64 xdg-user-dirs amd64 0.17-2 [53.8 kB]
206.3 Fetched 264 MB in 3min 23s (1302 kB/s)
206.3 E: Failed to fetch http://deb.debian.org/debian-security/pool/updates/main/g/glibc/libc6_2.31-13%2bdeb11u7_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python3.9/libpython3.9-minimal_3.9.2-1_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/p/python3-defaults/libpython3-stdlib_3.9.2-3_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/r/rubberband/librubberband2_1.9.0-1_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/libv/libvidstab/libvidstab1.1_1.1.0-2%2bb1_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/libc/libcdio-paranoia/libcdio-paranoia2_10.2%2b2.0.0-1%2bb2_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/libx/libxcb/libxcb-sync1_1.14-3_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Failed to fetch http://deb.debian.org/debian/pool/main/libd/libdrm/libdrm-radeon1_2.4.104-1_amd64.deb  403  connecting to deb.debian.org:80: connecting to 151.101.110.132:80: dial tcp 151.101.110.132:80: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. [IP: 151.101.110.132 80]
206.3 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
failed to solve: process "/bin/sh -c apt-get update &&   apt-get install -y fonts-dejavu-core rsync git jq moreutils aria2   ffmpeg libglfw3-dev libgles2-mesa-dev pkg-config libcairo2 libcairo2-dev build-essential" did not complete successfully: exit code: 100

This is likely due to an outdated version of Debian used in the base image python:3.10.9-slim, which results in outdated information in /etc/apt/sources.list. To resolve this error, the easiest and least impactful way is to update the base image to the latest version of 3.10.x, which is python:3.10.13-slim.

Which UI

auto

Hardware / Software

  • OS: Windows 11 (WSL Ubuntu 20.04.6 LTS)
  • OS version: Windows 11 22H2 (Build 22621.2428) / Ubuntu 20.04.6 LTS
  • WSL version (if applicable): 2
  • Docker Version: 24.0.6
  • Docker compose version: v2.22.0-desktop.2
  • Repo version: from master
  • RAM: 32G
  • GPU/VRAM: NVIDIA GeForce RTX 3060 / 12GB

Steps to Reproduce

  1. docker compose --profile download up --build
  2. docker compose --profile [ui] up --build
  3. See error
@cococig cococig added the bug Something isn't working label Oct 23, 2023
@CarlosLopezES
Copy link

Perfect fix for a real problem :)

@AbdBarho AbdBarho linked a pull request Nov 13, 2023 that will close this issue
AbdBarho pushed a commit that referenced this issue Nov 13, 2023
Update the minor version of Python in the base image for AUTOMATIC1111
web UI.

Closes issue #600
yarmand pushed a commit to yarmand/stable-diffusion-webui-docker that referenced this issue Feb 15, 2024
Update the minor version of Python in the base image for AUTOMATIC1111
web UI.

Closes issue AbdBarho#600
torun225 added a commit to torun225/stable-diffusion-webui-docker that referenced this issue Aug 2, 2024
commit 3e67f55
Author: AbdBarho <[email protected]>
Date:   Mon Nov 13 21:12:07 2023 +0100

    Update Auto (AbdBarho#610)

    Closes AbdBarho#609

    AUTOMATIC1111/stable-diffusion-webui@4afaaf8

commit a2561f2
Author: cococig <[email protected]>
Date:   Tue Nov 14 03:35:24 2023 +0900

    Update automatic1111 webui base image (AbdBarho#601)

    Update the minor version of Python in the base image for AUTOMATIC1111
    web UI.

    Closes issue AbdBarho#600

commit 6a34739
Author: cloudaxes <[email protected]>
Date:   Sat Sep 9 23:10:05 2023 +0900

    Update Automatic1111 to v1.6.0 (AbdBarho#585)

    Update Automatic1111 Stable Diffusion Webui to v1.6.0.

    Closes AbdBarho#583

    ---------

    Co-authored-by: AbdBarho <[email protected]>

commit 630980b
Author: Sebastian Piechowiak <[email protected]>
Date:   Sat Sep 9 15:34:06 2023 +0200

    Skipping installation of requirements for disabled extensions (AbdBarho#582)

    Closes AbdBarho#563

commit 8474059
Author: 66li <[email protected]>
Date:   Fri Sep 1 02:04:32 2023 +0800

    Update generative-models version (AbdBarho#581)

    Upgrade a dependent library

    https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/v1.5.2/modules/launch_utils.py#L288C90-L288C130

    ---------

    Co-authored-by: AbdBarho <[email protected]>

commit 59b9762
Author: AbdBarho <[email protected]>
Date:   Wed Aug 30 20:00:48 2023 +0200

    Update Comfy (AbdBarho#580)

    comfyanonymous/ComfyUI@7e941f9

commit 70357bf
Author: AbdBarho <[email protected]>
Date:   Wed Aug 30 19:55:06 2023 +0200

    Auto 1.5.2 (AbdBarho#579)

    AUTOMATIC1111/stable-diffusion-webui@c9c8485
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants