2025-04-03 10:45:00PM UTC

failed

flyctl v0.3.89

==> Verifying app config
Validating /repos/bluegreen/fly.toml
✓ Configuration is valid
--> Verified app config
==> Building image
Waiting for depot builder...

==> Building image with Depot
--> build:  (​)
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.77kB 0.0s done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bullseye-20230612-slim
#2 ...
#3 [internal] load metadata for docker.io/library/debian:bullseye-20230612-slim
#3 DONE 0.5s

#2 [internal] load metadata for docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bullseye-20230612-slim
#2 DONE 0.5s

#4 [internal] load .dockerignore
#4 transferring context: 1.31kB 0.0s done
#4 DONE 0.0s

#5 [builder  1/17] FROM docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bullseye-20230612-slim@sha256:e7e2e55efdcdc2914f65b7e65ef82bbb47be654ec84bc7bfc5fa2cc3396fd9ec
#5 resolve docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bullseye-20230612-slim@sha256:e7e2e55efdcdc2914f65b7e65ef82bbb47be654ec84bc7bfc5fa2cc3396fd9ec done
#5 DONE 0.0s

#6 [stage-1 1/6] FROM docker.io/library/debian:bullseye-20230612-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5
#6 resolve docker.io/library/debian:bullseye-20230612-slim@sha256:924df86f8aad741a0134b2de7d8e70c5c6863f839caadef62609c1be1340daf5 done
#6 DONE 0.0s

#7 [internal] load build context
#7 transferring context: 2.46kB 0.0s done
#7 DONE 0.0s

#8 [builder  2/17] RUN apt-get update -y && apt-get install -y build-essential git     && apt-get clean && rm -f /var/lib/apt/lists/*_*
#8 CACHED

#9 [stage-1 2/6] RUN apt-get update -y &&   apt-get install -y libstdc++6 openssl libncurses5 locales ca-certificates   && apt-get clean && rm -f /var/lib/apt/lists/*_*
#9 CACHED

#10 [builder  6/17] RUN mix deps.get --only prod
#10 CACHED

#11 [builder  8/17] COPY config/config.exs config/prod.exs config/
#11 CACHED

#12 [builder 12/17] COPY assets assets
#12 CACHED

#13 [builder 17/17] RUN mix release
#13 CACHED

#14 [builder 11/17] COPY lib lib
#14 CACHED

#15 [builder 10/17] COPY priv priv
#15 CACHED

#16 [builder  5/17] COPY mix.exs mix.lock ./
#16 CACHED

#17 [builder 13/17] RUN mix assets.deploy
#17 CACHED

#18 [builder  9/17] RUN mix deps.compile
#18 CACHED

#19 [builder 14/17] RUN mix compile
#19 CACHED

#20 [builder  7/17] RUN mkdir config
#20 CACHED

#21 [stage-1 4/6] WORKDIR /app
#21 CACHED

#22 [builder 15/17] COPY config/runtime.exs config/
#22 CACHED

#23 [stage-1 5/6] RUN chown nobody /app
#23 CACHED

#24 [builder 16/17] COPY rel rel
#24 CACHED

#25 [builder  4/17] RUN mix local.hex --force &&     mix local.rebar --force
#25 CACHED

#26 [stage-1 3/6] RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
#26 CACHED

#27 [builder  3/17] WORKDIR /app
#27 CACHED

#28 [stage-1 6/6] COPY --from=builder --chown=nobody:root /app/_build/prod/rel/bluegreen ./
#28 CACHED

#29 exporting to image
#29 exporting layers done
#29 exporting manifest sha256:20eeca7b6a2c9c72d3a2aa934e6e85a1aeef208b1fd60d08b5db93ed57bdfb26 done
#29 exporting config sha256:6b85f701856419018644115bf8cbc74910bac5d5319805d6ea8baa35c99c833b done
#29 pushing layers for registry.fly.io/flybg:deployment-01JQYX8GHB6PQ1PNYCRAWZ00ZY@sha256:20eeca7b6a2c9c72d3a2aa934e6e85a1aeef208b1fd60d08b5db93ed57bdfb26
#29 pushing layer sha256:7f7dfd9b0ee352a7911fce5c3e3e4eb91a842661dcf806ca02b600378d2581b4
#29 pushing layer sha256:dbae92b1df9137c68ade1139e5592e79cc0637afd7632ef65631cd04dcb78b3c 0.1s done
#29 pushing layer sha256:6b85f701856419018644115bf8cbc74910bac5d5319805d6ea8baa35c99c833b
#29 pushing layer sha256:62a4d9905413293db759eee64490bc22547737701715621dafa8d746070e242b
#29 pushing layer sha256:759700526b7894aa9c150feb2ebfcd00cf06d2890df739e71555edcfd13669e3
#29 pushing layer sha256:52a2f17c6d8c9d8fb8212508fc3f77d4f71b475e0ed8f1079ac65dad3ad1c4ce
#29 pushing layer sha256:386f38e9e2d44123bfd974569e9b6e7989af13d79abb60807ac64766f8db4e43
#29 pushing layers for registry.fly.io/flybg:deployment-01JQYX8GHB6PQ1PNYCRAWZ00ZY@sha256:20eeca7b6a2c9c72d3a2aa934e6e85a1aeef208b1fd60d08b5db93ed57bdfb26 0.3s done
#29 pushing layer sha256:7f7dfd9b0ee352a7911fce5c3e3e4eb91a842661dcf806ca02b600378d2581b4 0.3s done
#29 pushing layer sha256:6b85f701856419018644115bf8cbc74910bac5d5319805d6ea8baa35c99c833b 0.1s done
#29 pushing layer sha256:62a4d9905413293db759eee64490bc22547737701715621dafa8d746070e242b 0.2s done
#29 pushing layer sha256:759700526b7894aa9c150feb2ebfcd00cf06d2890df739e71555edcfd13669e3 0.1s done
#29 pushing layer sha256:52a2f17c6d8c9d8fb8212508fc3f77d4f71b475e0ed8f1079ac65dad3ad1c4ce 0.1s done
#29 pushing layer sha256:386f38e9e2d44123bfd974569e9b6e7989af13d79abb60807ac64766f8db4e43 0.2s done
#29 pushing manifest for registry.fly.io/flybg:deployment-01JQYX8GHB6PQ1PNYCRAWZ00ZY@sha256:20eeca7b6a2c9c72d3a2aa934e6e85a1aeef208b1fd60d08b5db93ed57bdfb26
#29 pushing manifest for registry.fly.io/flybg:deployment-01JQYX8GHB6PQ1PNYCRAWZ00ZY@sha256:20eeca7b6a2c9c72d3a2aa934e6e85a1aeef208b1fd60d08b5db93ed57bdfb26 0.7s done
#29 DONE 0.9s
--> Build Summary:  (​)
--> Building image done
image: registry.fly.io/flybg:deployment-01JQYX8GHB6PQ1PNYCRAWZ00ZY
image size: 50 MB

Watch your deployment at https://fly.io/apps/flybg/monitoring

Updating existing machines in 'flybg' with bluegreen strategy

Verifying if app can be safely deployed 

  Found 2 different images in your app (for bluegreen to work, all machines need to run a single image)
    [x] flybg:deployment-01JQYWD1QCPCTV5NXSB3GR57MD - 34 machine(s) (0801539a197218,7328766e4bd285,784ee99a217318,6830d6db116138,908002ec5d0038,4d89660b951998,080eeddc69e768,0806dd6a0e0908,148e3555b24508,68321eef792148,5683dd25c09338,1857794b275468,784eee0c230e28,2867590ae27358,e286331ae47228,d8916e7cedd138,9185dd7c362e08,d891167ce36678,781166db250998,908021d6c66998,24d899946f0879,2871729c33e3e8,3d8d4d16c07258,e7840029b41458,2874913c11e028,185727eb662d98,1781034b40d008,d890457c6971e8,d89116ec2692d8,784e1deae52918,d891625a7e6628,91853e04a40958,287154ea091298,e82d370ae44998)
    [x] : - 1 machine(s) (48ed005cd72048)

  Here's how to fix your app so deployments can go through:
    1. Find all the unwanted image versions from the list above.
       Use 'fly machines list' and 'fly releases --image' to help determine unwanted images.
    2. For each unwanted image version, run 'fly machines destroy --force --image=<insert-image-version>'
    3. Retry the deployment with 'fly deploy'

Error: found multiple image versions