invoke-ai / InvokeAI

Invoke is a leading creative engine for Stable Diffusion models, empowering professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry leading WebUI, and serves as the foundation for multiple commercial products.
https://invoke-ai.github.io/InvokeAI/
Apache License 2.0
23.84k stars 2.45k forks source link

[bug]: v5.4.3 fails to install (docker) #7430

Open jozzo402 opened 1 day ago

jozzo402 commented 1 day ago

Is there an existing issue for this problem?

Operating system

Linux

GPU vendor

Nvidia (CUDA)

GPU model

No response

GPU VRAM

No response

Version number

5.4.3

Browser

Waterfox G6.0.16

Python dependencies

No response

What happened

I ran git pull and docker compose build, which failed with the following output:

[+] Building 4.9s (11/31)                                                            docker:default
 => [invokeai internal] load build definition from Dockerfile                                  0.0s
 => => transferring dockerfile: 3.88kB                                                         0.0s
 => [invokeai] resolve image config for docker-image://docker.io/docker/dockerfile:1.4         0.8s
 => CACHED [invokeai] docker-image://docker.io/docker/dockerfile:1.4@sha256:9ba7531bd80fb0a85  0.0s
 => [invokeai internal] load .dockerignore                                                     0.0s
 => => transferring context: 151B                                                              0.0s
 => [invokeai internal] load metadata for docker.io/library/ubuntu:23.04                       0.8s
 => [invokeai internal] load metadata for docker.io/library/node:20-slim                       0.8s
 => CANCELED [invokeai web-builder 1/7] FROM docker.io/library/node:20-slim@sha256:f44fa8d6d0  3.0s
 => => resolve docker.io/library/node:20-slim@sha256:f44fa8d6d0ef15fe252459ac5d3d178362231a79  0.0s
 => => sha256:f44fa8d6d0ef15fe252459ac5d3d178362231a7948d7d07e147bae891006e2e 6.49kB / 6.49kB  0.0s
 => => sha256:a00f52b0d81a8118b988064247cf08a0817e07a8be0c523d4a114fd408350e5 1.93kB / 1.93kB  0.0s
 => => sha256:ff30d51c776500c259086f694a2d727b5402e2eb59bedaee70eb6facd3389a9 6.54kB / 6.54kB  0.0s
 => => sha256:bc0965b23a04fe7f2d9fb20f597008fcf89891de1c705ffc1c80483a1f098e 6.29MB / 28.23MB  3.0s
 => => sha256:2b66e39f703ce99cb1161558a62d269dce0e1d78300478d311ba7bf91faf5d3 3.31kB / 3.31kB  0.7s
 => => sha256:c18500529dd94e996f970ce50b95467185aa80006641ce99646b25e7662483 8.39MB / 40.76MB  3.0s
 => => sha256:d88d6eb6a978b65e80d84319f6b2dff8c301fcdc25280fd6c33c30ba3c086e7 1.71MB / 1.71MB  1.8s
 => => sha256:897232d861cba58f428f9fddd07a55e5cb328ad58c78dcf446e2fc6724cb7003 450B / 450B     2.1s
 => [invokeai builder 1/7] FROM docker.io/library/ubuntu:23.04@sha256:5a828e28de105c3d7821c44  0.0s
 => [invokeai internal] load build context                                                     0.1s
 => => transferring context: 187.03kB                                                          0.1s
 => CACHED [invokeai builder 2/7] RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::a  0.0s
 => ERROR [invokeai builder 3/7] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked   2.8s
------                                                                                              
 > [invokeai builder 3/7] RUN --mount=type=cache,target=/var/cache/apt,sharing=locked     --mount=type=cache,target=/var/lib/apt,sharing=locked     apt update && apt-get install -y         git         python3-venv         python3-pip         build-essential:                                          
0.254                                                                                               
0.254 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.               
0.254 
1.015 Ign:1 http://archive.ubuntu.com/ubuntu lunar InRelease
1.028 Ign:2 http://security.ubuntu.com/ubuntu lunar-security InRelease
1.401 Ign:3 http://archive.ubuntu.com/ubuntu lunar-updates InRelease
1.417 Err:4 http://security.ubuntu.com/ubuntu lunar-security Release
1.417   404  Not Found [IP: 185.125.190.83 80]
1.735 Ign:5 http://archive.ubuntu.com/ubuntu lunar-backports InRelease
2.051 Err:6 http://archive.ubuntu.com/ubuntu lunar Release
2.051   404  Not Found [IP: 185.125.190.81 80]
2.371 Err:7 http://archive.ubuntu.com/ubuntu lunar-updates Release
2.371   404  Not Found [IP: 185.125.190.81 80]
2.678 Err:8 http://archive.ubuntu.com/ubuntu lunar-backports Release
2.678   404  Not Found [IP: 185.125.190.81 80]
2.681 Reading package lists...
2.701 E: The repository 'http://security.ubuntu.com/ubuntu lunar-security Release' does not have a Release file.
2.701 E: The repository 'http://archive.ubuntu.com/ubuntu lunar Release' does not have a Release file.
2.701 E: The repository 'http://archive.ubuntu.com/ubuntu lunar-updates Release' does not have a Release file.
2.701 E: The repository 'http://archive.ubuntu.com/ubuntu lunar-backports Release' does not have a Release file.
------
failed to solve: process "/bin/sh -c apt update && apt-get install -y         git         python3-venv         python3-pip         build-essential" did not complete successfully: exit code: 100

What you expected to happen

These commands should build the latest image succesfully. All versions up to v5.4.3 have built the new image without issue. v5.4.3 cannot build.

How to reproduce the problem

(on linux) Run git pull Set up a docker compose file with the following at the top:

  invokeai:
    build:
      dockerfile: docker/Dockerfile # point this to the Dockerfile on your machine

Run docker compose build

Additional context

No response

Discord username

No response

ebr commented 21 hours ago

@jozzo402 we have a PR open for this, but it needs more testers. could you please try it out? #7401