2026-10-23 08:45:00AM UTC

failed

flyctl v0.4.121

==> 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 done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bookworm-20260610-slim
#2 DONE 0.3s

#3 [internal] load metadata for docker.io/library/debian:bookworm-20260610-slim
#3 DONE 0.3s
#4 [internal] load .dockerignore
#4 transferring context: 1.31kB done
#4 DONE 0.0s
#5 [builder  1/17] FROM docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bookworm-20260610-slim@sha256:1bc3737a641f5b81ca766331e97a49106787d631d92d503bb2f0aab565274453
#5 resolve docker.io/hexpm/elixir:1.15.7-erlang-26.1.1-debian-bookworm-20260610-slim@sha256:1bc3737a641f5b81ca766331e97a49106787d631d92d503bb2f0aab565274453 done
#5 DONE 0.0s
#6 [stage-1 1/6] FROM docker.io/library/debian:bookworm-20260610-slim@sha256:96e378d7e6531ac9a15ad505478fcc2e69f371b10f5cdf87857c4b8188404716
#6 resolve docker.io/library/debian:bookworm-20260610-slim@sha256:96e378d7e6531ac9a15ad505478fcc2e69f371b10f5cdf87857c4b8188404716 done
#6 DONE 0.0s
#7 [internal] load build context
#7 transferring context: 10.60kB 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 [builder  9/17] RUN mix deps.compile
#9 CACHED
#10 [builder  6/17] RUN mix deps.get --only prod
#10 CACHED
#11 [builder  3/17] WORKDIR /app
#11 CACHED
#12 [builder  4/17] RUN mix local.hex --force &&     mix local.rebar --force
#12 CACHED
#13 [builder  5/17] COPY mix.exs mix.lock ./
#13 CACHED
#14 [builder  8/17] COPY config/config.exs config/prod.exs config/
#14 CACHED
#15 [builder  7/17] RUN mkdir config
#15 CACHED
#16 [builder 10/17] COPY priv priv
#16 CACHED
#17 [builder 11/17] COPY lib lib
#17 DONE 0.0s

#18 [builder 12/17] COPY assets assets
#18 DONE 0.0s

#19 [builder 13/17] RUN mix assets.deploy
#19 0.951 
#19 0.951 08:45:22.273 [debug] Downloading tailwind from https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.3/tailwindcss-linux-x64
#19 3.462 
#19 3.462 Rebuilding...#19 4.068 #19 4.068 Done in 670ms.#19 4.128 #19 4.128 08:45:25.452 [debug] Downloading esbuild from https://registry.npmjs.org/@esbuild/linux-x64/0.17.11#19 4.502 
#19 4.502   ../priv/static/assets/app.js  122.8kb
#19 4.502 
#19 4.502 ⚡ Done in 24ms
#19 4.538 Compiling 18 files (.ex)
#19 4.646 warning: defining a Gettext backend by calling
#19 4.646 
#19 4.646     use Gettext, otp_app: ...
#19 4.646 
#19 4.646 is deprecated. To define a backend, call:
#19 4.646 
#19 4.646     use Gettext.Backend, otp_app: :my_app
#19 4.646 
#19 4.646 Then, instead of importing your backend, call this in your module:
#19 4.646 
#19 4.646     use Gettext, backend: MyApp.Gettext
#19 4.646 
#19 4.646   lib/bluegreen_web/gettext.ex:23: BluegreenWeb.Gettext (module)
#19 4.646 
#19 5.434 Generated bluegreen app#19 5.910 Check your digested files at "priv/static"
#19 DONE 6.0s
#20 [builder 14/17] RUN mix compile
#20 0.698 warning: defining a Gettext backend by calling
#20 0.698 
#20 0.698     use Gettext, otp_app: ...
#20 0.698 
#20 0.698 is deprecated. To define a backend, call:
#20 0.698 
#20 0.698     use Gettext.Backend, otp_app: :my_app
#20 0.698 
#20 0.698 Then, instead of importing your backend, call this in your module:
#20 0.698 
#20 0.698     use Gettext, backend: MyApp.Gettext
#20 0.698 
#20 0.698   lib/bluegreen_web/gettext.ex:23
#20 0.698 
#20 DONE 0.7s
#21 [builder 15/17] COPY config/runtime.exs config/
#21 DONE 0.0s

#22 [builder 16/17] COPY rel rel
#22 DONE 0.0s

#23 [builder 17/17] RUN mix release
#23 0.712 warning: defining a Gettext backend by calling
#23 0.712 
#23 0.712     use Gettext, otp_app: ...
#23 0.712 
#23 0.712 is deprecated. To define a backend, call:
#23 0.712 
#23 0.712     use Gettext.Backend, otp_app: :my_app
#23 0.712 
#23 0.712 Then, instead of importing your backend, call this in your module:
#23 0.712 
#23 0.712     use Gettext, backend: MyApp.Gettext
#23 0.712 
#23 0.712   lib/bluegreen_web/gettext.ex:23
#23 0.712 
#23 0.739 * assembling bluegreen-0.1.0 on MIX_ENV=prod#23 0.740 * using config/runtime.exs to configure the release at runtime#23 0.950 * creating _build/prod/rel/bluegreen/releases/0.1.0/env.sh
#23 0.961 * skipping elixir.bat for windows (bin/elixir.bat not found in the Elixir installation)#23 0.961 * skipping iex.bat for windows (bin/iex.bat not found in the Elixir installation)
#23 1.284 
#23 1.284 Release created at _build/prod/rel/bluegreen
#23 1.284 
#23 1.284     # To start your system
#23 1.284     _build/prod/rel/bluegreen/bin/bluegreen start
#23 1.284 
#23 1.284 Once the release is running:
#23 1.284 
#23 1.284     # To connect to it remotely
#23 1.284     _build/prod/rel/bluegreen/bin/bluegreen remote
#23 1.284 
#23 1.284     # To stop it gracefully (you may also send SIGINT/SIGTERM)
#23 1.284     _build/prod/rel/bluegreen/bin/bluegreen stop
#23 1.284 
#23 1.284 To list all commands:
#23 1.284 
#23 1.284     _build/prod/rel/bluegreen/bin/bluegreen
#23 1.284 
#23 DONE 1.4s
#24 [stage-1 3/6] RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
#24 CACHED
#25 [stage-1 4/6] WORKDIR /app
#25 CACHED

#26 [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/*_*
#26 CACHED

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

#28 [stage-1 6/6] COPY --from=builder --chown=nobody:root /app/_build/prod/rel/bluegreen ./
#28 DONE 0.3s
#29 exporting to image
#29 exporting layers
#29 exporting layers 0.4s done
#29 exporting manifest sha256:72a081b679667c7ed503054eebda28884efb6d41f96947bce869ab5c711b1820 done
#29 exporting config sha256:08f1b2df616090417dc888eb3f85ea0b98b28bb2a0d0b4085336a5d0eb81afe7 done
#29 pushing layers for registry.fly.io/flybg:deployment-01M5KYYP8VDNBQG1Q743TGNKCG@sha256:72a081b679667c7ed503054eebda28884efb6d41f96947bce869ab5c711b1820
#29 pushing layer sha256:08f1b2df616090417dc888eb3f85ea0b98b28bb2a0d0b4085336a5d0eb81afe7 0.2s done
#29 pushing layer sha256:48ebd4d0cd2688e4c5f897a26716f16b65ee2f460f72c4ad6b67aaf936a30fa3
#29 pushing layer sha256:38299ce4d604513116b6398adece01f5f01ecdee591ee8873e05fa9d6a7aeda7 0.0s done
#29 pushing layer sha256:7ae2ec20d4823b19cbf283a53aac078aad3de45a9efbc99a7b22c7724105b1f8 0.0s done
#29 pushing layer sha256:2898d09239365fd13494f032493500477c8db1473306f4a768c2c0f4cd9f89ec 0.0s done
#29 pushing layer sha256:9077323e12ee4e99b779db957718f157a38de15ac47f070424b3d9e8da0f8344 0.0s done
#29 pushing layer sha256:8fab94330d7b5a5d2e0d164f4d7b70bd0a5aa3b9d7b4594731e83d7033129797 0.0s done
#29 pushing layers for registry.fly.io/flybg:deployment-01M5KYYP8VDNBQG1Q743TGNKCG@sha256:72a081b679667c7ed503054eebda28884efb6d41f96947bce869ab5c711b1820 0.4s done
#29 pushing layer sha256:48ebd4d0cd2688e4c5f897a26716f16b65ee2f460f72c4ad6b67aaf936a30fa3 0.4s done
#29 pushing manifest for registry.fly.io/flybg:deployment-01M5KYYP8VDNBQG1Q743TGNKCG@sha256:72a081b679667c7ed503054eebda28884efb6d41f96947bce869ab5c711b1820
#29 pushing manifest for registry.fly.io/flybg:deployment-01M5KYYP8VDNBQG1Q743TGNKCG@sha256:72a081b679667c7ed503054eebda28884efb6d41f96947bce869ab5c711b1820 0.1s done
#29 DONE 0.9s
--> Build Summary:  (​)
--> Building image done
image: registry.fly.io/flybg:deployment-01M5KYYP8VDNBQG1Q743TGNKCG
image size: 41 MB

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

INFO Using wait timeout: 1m0s lease timeout: 13s delay between lease refreshes: 4s

Updating existing machines in 'flybg' with bluegreen strategy

Verifying if app can be safely deployed 

Creating green machines
  Created machine 2870644ae61148 [app]
  Created machine 8576149a556128 [app]
  Created machine d8d2590a490dd8 [app]
  Created machine d8d25e0a032e78 [app]
  Created machine 8206d0f725d678 [app]
  Created machine 81721da9710ed9 [app]
  Created machine 8407d5f2d0d998 [app]
  Created machine 811d494b5de9e8 [app]
  Created machine 8d40d9fe2e6478 [app]
  Created machine d8911092f76e38 [app]
  Created machine d894935b211158 [app]
  Created machine d8d1377f669968 [app]
  Created machine 82dd06b7712708 [app]
  Created machine 7815122bd54e28 [app]
  Created machine 8d10edbedd3368 [app]
  Created machine 891364b65e7ed8 [app]

Rolling back failed deployment
  Deleted machine 2870644ae61148 [app]
  Deleted machine 8576149a556128 [app]
  Deleted machine d8d2590a490dd8 [app]
  Deleted machine d8d25e0a032e78 [app]
  Deleted machine 8206d0f725d678 [app]
  Deleted machine 81721da9710ed9 [app]
  Deleted machine 8407d5f2d0d998 [app]
  Deleted machine 811d494b5de9e8 [app]
  Deleted machine 8d40d9fe2e6478 [app]
  Deleted machine d8911092f76e38 [app]
  Deleted machine d894935b211158 [app]
  Deleted machine d8d1377f669968 [app]
  Deleted machine 82dd06b7712708 [app]
  Deleted machine 7815122bd54e28 [app]
  Deleted machine 8d10edbedd3368 [app]
  Deleted machine 891364b65e7ed8 [app]
Error: failed to launch VM: no capacity available in lhr
failed to create green machines (Request ID: 01M5KYZR0ZJ8GGH3AAGTA5V5CQ-ord) (Trace ID: 63efd48f6f7e305198b90c1a99ced2e6)
Try choosing a different region for machine creation