Hi Kaelyn,
This is the log using LOG_LEVEL=debug
as requested.
LOG_LEVEL=debug fly deploy -c fly.production.toml
DEBUG Loaded flyctl config from/Users/castulo/.fly/config.yml
DEBUG determined hostname: "Castulos-MBP"
DEBUG determined working directory: "/Users/castulo/workspace/petcom/petcom-api"
DEBUG determined user home directory: "/Users/castulo"
DEBUG determined config directory: "/Users/castulo/.fly"
DEBUG ensured config directory exists.
DEBUG ensured config directory perms.
DEBUG cache loaded.
DEBUG config initialized.
DEBUG skipped querying for new release
DEBUG client initialized.
DEBUG app config loaded from fly.production.toml
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug paidPlan } } }",
"variables": {
"appName": "petcom"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (205.39ms)
DEBUG {
"data": {
"appbasic": {
"id": "petcom",
"name": "petcom",
"platformVersion": "machines",
"organization": {
"id": "896mQD3oYX6ANTBln3aOD7GN5Oc1wVVZy",
"slug": "madcoyote",
"paidPlan": false
}
}
}
}
==> Verifying app config
DEBUG Starting task manager
DEBUG Config has metrics token
--> Verified app config
Validating fly.production.toml
Platform: machines
✓ Configuration is valid
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query ($appName: String!) { appcompact:app(name: $appName) { id name hostname deployed status appUrl platformVersion organization { id slug paidPlan } postgresAppRole: role { name } imageDetails { repository version } } }",
"variables": {
"appName": "petcom"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (192.98ms)
DEBUG {
"data": {
"appcompact": {
"id": "petcom",
"name": "petcom",
"hostname": "petcom.fly.dev",
"deployed": true,
"status": "suspended",
"appUrl": "https://2a09:8280:1::24:23c4",
"platformVersion": "machines",
"organization": {
"id": "896mQD3oYX6ANTBln3aOD7GN5Oc1wVVZy",
"slug": "madcoyote",
"paidPlan": false
},
"postgresAppRole": null,
"imageDetails": {
"repository": "unknown",
"version": "unknown"
}
}
}
}
==> Building image
DEBUG --> POST https://api.fly.io/graphql
DEBUG trying remote docker daemon
DEBUG {
"query": "mutation($input: EnsureMachineRemoteBuilderInput!) { ensureMachineRemoteBuilder(input: $input) { machine { id state ips { nodes { family kind ip } } }, app { name organization { id slug } } } }",
"variables": {
"input": {
"appName": "petcom",
"organizationId": null
}
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (334.76ms)
DEBUG {
"data": {
"ensureMachineRemoteBuilder": {
"machine": {
"id": "3d8d9296ce4e48",
"state": "started",
"ips": {
"nodes": [
{
"family": "v6",
"kind": "public",
"ip": "2605:4c40:93:b7a6:0:f3bb:494:1"
},
{
"family": "v4",
"kind": "private",
"ip": "172.19.1.242"
},
{
"family": "v6",
"kind": "privatenet",
"ip": "fdaa:2:4ac1:a7b:1a8:f3bb:494:2"
}
]
}
},
"app": {
"name": "fly-builder-young-wildflower-8362",
"organization": {
"id": "896mQD3oYX6ANTBln3aOD7GN5Oc1wVVZy",
"slug": "madcoyote"
}
}
}
}
}
Waiting for remote builder fly-builder-young-wildflower-8362...
DEBUG checking ip &{Family:v6 Kind:public IP:2605:4c40:93:b7a6:0:f3bb:494:1 MaskSize:0}
DEBUG checking ip &{Family:v4 Kind:private IP:172.19.1.242 MaskSize:0}
DEBUG checking ip &{Family:v6 Kind:privatenet IP:fdaa:2:4ac1:a7b:1a8:f3bb:494:2 MaskSize:0}
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "query ($appName: String!) { appbasic:app(name: $appName) { id name platformVersion organization { id slug paidPlan } } }",
"variables": {
"appName": "petcom"
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (139.83ms)
DEBUG {
"data": {
"appbasic": {
"id": "petcom",
"name": "petcom",
"platformVersion": "machines",
"organization": {
"id": "896mQD3oYX6ANTBln3aOD7GN5Oc1wVVZy",
"slug": "madcoyote",
"paidPlan": false
}
}
}
}
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "mutation($input: ValidateWireGuardPeersInput!) { validateWireGuardPeers(input: $input) { invalidPeerIps } }",
"variables": {
"input": {
"peerIps": [
"fdaa:2:4abb:a7b:177d:0:a:2",
"fdaa:0:e2d1:a7b:177d:0:a:202",
"fdaa:2:4ac1:a7b:177d:0:a:2"
]
}
}
}
DEBUG {}
DEBUG <-- 200 https://api.fly.io/graphql (135.43ms)
DEBUG {
"data": {
"validateWireGuardPeers": {
"invalidPeerIps": []
}
}
}
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
DEBUG Remote builder available, but pinging again in 50ms to be sure
Remote builder fly-builder-young-wildflower-8362 ready
DEBUG Remote builder is ready to build!
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG --> POST https://api.fly.io/graphql
DEBUG {
"query": "\n# @genqlient\nmutation ResolverCreateBuild ($input: CreateBuildInput!) {\n\tcreateBuild(input: $input) {\n\t\tid\n\t\tstatus\n\t}\n}\n",
"variables": {
"input": {
"appName": "petcom",
"builderType": "remote",
"clientMutationId": "",
"imageOpts": {
"buildArgs": {},
"buildPacks": null,
"builder": "",
"builtIn": "",
"builtInSettings": null,
"dockerfilePath": "",
"extraBuildArgs": null,
"imageLabel": "",
"imageRef": "",
"noCache": false,
"publish": true,
"tag": "registry.fly.io/petcom:deployment-01H972ND8ZTTXAE08M29ZPMJ4C",
"target": ""
},
"machineId": "",
"strategiesAvailable": [
"Buildpacks",
"Dockerfile",
"Builtin"
]
}
},
"operationName": "ResolverCreateBuild"
}
DEBUG {0x14000cbd020}
DEBUG <-- 200 https://api.fly.io/graphql (138.24ms)
DEBUG {
"data": {
"createBuild": {
"id": "3276978",
"status": "started"
}
}
}
DEBUG Trying 'Buildpacks' strategy
DEBUG no buildpack builder configured, skipping
DEBUG result image:<nil> error:<nil>
DEBUG Trying 'Dockerfile' strategy
DEBUG buildkitEnabled true
DEBUG fetching docker server info
==> Building image with Docker
--> docker host: 20.10.12 linux x86_64
[+] Building 29.5s (16/22)
=> [internal] load build definition from Dockerfile 0.1s
[+] Building 59.5s (20/22)
=> [internal] load build definition from Dockerfile 0.1s
[+] Building 89.5s (21/22)
=> [internal] load build definition from Dockerfile 0.1s
[+] Building 119.5s (22/23)
=> [internal] load build definition from Dockerfile 0.1s
[+] Building 136.6s (22/23)
=> [internal] load build definition from Dockerfile 0.1s
[+] Building 149.4s (23/23) FINISHED
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 69B 0.1s
=> [internal] load .dockerignore 0.1s
=> => transferring context: 72B 0.1s
=> resolve image config for docker.io/docker/dockerfile:1 0.8s
=> CACHED docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> [internal] load metadata for docker.io/library/ruby:2.7.6-slim 0.2s
=> [internal] load .dockerignore 0.0s
=> [base 1/5] FROM docker.io/library/ruby:2.7.6-slim@sha256:4ffb3fa8d4e1edbffa7ce27d57fd005d9b4f0730ea57aaaf50e0c557f5466454 0.0s
=> [internal] load build context 12.1s
=> => transferring context: 6.13MB 11.6s
=> CACHED [base 2/5] WORKDIR /rails 0.0s
=> CACHED [base 3/5] RUN gem update --system --no-document && gem install -N bundler 0.0s
=> CACHED [base 4/5] RUN apt-get update -qq && apt-get install --no-install-recommends -y curl && rm -rf /var/lib/apt/ 0.0s
=> CACHED [base 5/5] RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz -C /tmp/ && /tmp/nod 0.0s
=> CACHED [build 1/5] RUN apt-get update -qq && apt-get install --no-install-recommends -y build-essential libpq-dev 0.0s
=> CACHED [build 2/5] COPY --link Gemfile Gemfile.lock ./ 0.0s
=> CACHED [build 3/5] RUN bundle install && bundle exec bootsnap precompile --gemfile && rm -rf ~/.bundle/ $BUNDLE_PAT 0.0s
=> [build 4/5] COPY --link . . 20.3s
=> [build 5/5] RUN bundle exec bootsnap precompile app/ lib/ 0.9s
=> CACHED [stage-2 1/4] RUN apt-get update -qq && apt-get install --no-install-recommends -y postgresql-client && rm - 0.0s
=> CACHED [stage-2 2/4] COPY --from=build /usr/local/bundle /usr/local/bundle 0.0s
=> [stage-2 3/4] COPY --from=build /rails /rails 18.1s
=> [stage-2 4/4] RUN useradd rails --create-home --shell /bin/bash && chown -R rails:rails db log storage tmp 39.7s
=> exporting to image 33.1s
=> => exporting layers 33.1s
=> => writing image sha256:1f3816299a88ac919a7d141677cf29cef6b4315c9584351aed7b6542f868702b 0.0s
=> => naming to registry.fly.io/petcom:deployment-01H972ND8ZTTXAE08M29ZPMJ4C 0.0s
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/petcom]
DEBUG metrics error: write tcp [2600:100f:a102:8a14:701e:8aa4:7369:ea2e]:64802->[2a09:8280:1::1c:3475]:443: write: broken pipe
DEBUG metrics error: write tcp [2600:100f:a102:8a14:701e:8aa4:7369:ea2e]:64802->[2a09:8280:1::1c:3475]:443: write: broken pipe
f063e4bccc6f: Preparing
5157e617f8e6: Preparing
f063e4bccc6f: Pushing [===> ] 380.8MB/5.555GB
5157e617f8e6: Pushing [===> ] 379.1MB/5.631GB
f063e4bccc6f: Pushing [======> ] 705.8MB/5.555GB
5157e617f8e6: Pushing [======> ] 704.7MB/5.631GB
f063e4bccc6f: Pushing [=========> ] 1.029GB/5.555GB
5157e617f8e6: Pushing [=========> ] 1.019GB/5.631GB
f063e4bccc6f: Pushing [============> ] 1.396GB/5.555GB
5157e617f8e6: Pushing [===========> ] 1.347GB/5.631GB
f063e4bccc6f: Pushing [===============> ] 1.732GB/5.555GB
5157e617f8e6: Pushing [===============> ] 1.694GB/5.631GB
f063e4bccc6f: Pushing [==================> ] 2.071GB/5.555GB
5157e617f8e6: Pushing [==================> ] 2.034GB/5.631GB
f063e4bccc6f: Pushing [=====================> ] 2.408GB/5.555GB
5157e617f8e6: Pushing [=====================> ] 2.392GB/5.631GB
f063e4bccc6f: Pushing [========================> ] 2.758GB/5.555GB
5157e617f8e6: Pushing [========================> ] 2.744GB/5.631GB
f063e4bccc6f: Pushing [===========================> ] 3.096GB/5.555GB
5157e617f8e6: Pushing [===========================> ] 3.055GB/5.631GB
f063e4bccc6f: Pushing [==============================> ] 3.419GB/5.555GB
5157e617f8e6: Pushing [==============================> ] 3.409GB/5.631GB
f063e4bccc6f: Pushing [==> ] 247.5MB/5.555GB
5157e617f8e6: Pushing [==> ] 243.1MB/5.631GB
f063e4bccc6f: Pushing [=====> ] 583.4MB/5.555GB
5157e617f8e6: Pushing [====> ] 541.3MB/5.631GB
f063e4bccc6f: Pushing [========> ] 920.4MB/5.555GB
5157e617f8e6: Pushing [=======> ] 871.8MB/5.631GB
f063e4bccc6f: Pushing [===========> ] 1.258GB/5.555GB
5157e617f8e6: Pushing [==========> ] 1.191GB/5.631GB
f063e4bccc6f: Pushing [==============> ] 1.569GB/5.555GB
5157e617f8e6: Pushing [=============> ] 1.528GB/5.631GB
f063e4bccc6f: Pushing [=================> ] 1.914GB/5.555GB
5157e617f8e6: Pushing [================> ] 1.865GB/5.631GB
f063e4bccc6f: Pushing [====================> ] 2.286GB/5.555GB
5157e617f8e6: Pushing [====================> ] 2.271GB/5.631GB
f063e4bccc6f: Pushing [=======================> ] 2.612GB/5.555GB
5157e617f8e6: Pushing [=======================> ] 2.607GB/5.631GB
f063e4bccc6f: Pushing [==========================> ] 2.956GB/5.555GB
5157e617f8e6: Pushing [==========================> ] 2.943GB/5.631GB
f063e4bccc6f: Pushing [=============================> ] 3.296GB/5.555GB
5157e617f8e6: Pushing [=============================> ] 3.281GB/5.631GB
f063e4bccc6f: Pushing [> ] 55.25MB/5.555GB
5157e617f8e6: Pushing [> ] 88.02MB/5.631GB
f063e4bccc6f: Pushing [====> ] 449.6MB/5.555GB
5157e617f8e6: Pushing [===> ] 447.9MB/5.631GB
f063e4bccc6f: Pushing [=======> ] 789.9MB/5.555GB
5157e617f8e6: Pushing [======> ] 785.5MB/5.631GB
f063e4bccc6f: Pushing [==========> ] 1.129GB/5.555GB
5157e617f8e6: Pushing [=========> ] 1.124GB/5.631GB
f063e4bccc6f: Pushing [=============> ] 1.465GB/5.555GB
5157e617f8e6: Pushing [============> ] 1.459GB/5.631GB
f063e4bccc6f: Pushing [================> ] 1.821GB/5.555GB
5157e617f8e6: Pushing [===============> ] 1.799GB/5.631GB
f063e4bccc6f: Pushing [===================> ] 2.172GB/5.555GB
5157e617f8e6: Pushing [==================> ] 2.135GB/5.631GB
f063e4bccc6f: Pushing [======================> ] 2.543GB/5.555GB
5157e617f8e6: Pushing [=====================> ] 2.471GB/5.631GB
f063e4bccc6f: Pushing [=========================> ] 2.814GB/5.555GB
5157e617f8e6: Pushing [========================> ] 2.809GB/5.631GB
f063e4bccc6f: Pushing [============================> ] 3.183GB/5.555GB
5157e617f8e6: Pushing [===========================> ] 3.147GB/5.631GB
f063e4bccc6f: Pushing [===============================> ] 3.49GB/5.555GB
5157e617f8e6: Retrying in 15 seconds
f063e4bccc6f: Pushing [=> ] 178.1MB/5.555GB
5157e617f8e6: Pushing [=> ] 213.1MB/5.631GB
f063e4bccc6f: Pushing [====> ] 515.1MB/5.555GB
5157e617f8e6: Pushing [====> ] 547.9MB/5.631GB
f063e4bccc6f: Pushing [=======> ] 852.7MB/5.555GB
5157e617f8e6: Pushing [=======> ] 886.6MB/5.631GB
f063e4bccc6f: Pushing [==========> ] 1.19GB/5.555GB
5157e617f8e6: Pushing [==========> ] 1.232GB/5.631GB
f063e4bccc6f: Pushing [=============> ] 1.539GB/5.555GB
5157e617f8e6: Pushing [==============> ] 1.578GB/5.631GB
f063e4bccc6f: Pushing [================> ] 1.873GB/5.555GB
5157e617f8e6: Pushing [================> ] 1.901GB/5.631GB
f063e4bccc6f: Pushing [===================> ] 2.216GB/5.555GB
5157e617f8e6: Pushing [====================> ] 2.266GB/5.631GB
f063e4bccc6f: Pushing [======================> ] 2.54GB/5.555GB
5157e617f8e6: Pushing [=======================> ] 2.608GB/5.631GB
f063e4bccc6f: Pushing [=========================> ] 2.88GB/5.555GB
5157e617f8e6: Pushing [==========================> ] 2.943GB/5.631GB
f063e4bccc6f: Pushing [============================> ] 3.174GB/5.555GB
5157e617f8e6: Pushing [=============================> ] 3.282GB/5.631GB
f063e4bccc6f: Retrying in 13 seconds
5157e617f8e6: Retrying in 11 seconds
f063e4bccc6f: Pushing [==> ] 243.1MB/5.555GB
5157e617f8e6: Pushing [==> ] 242MB/5.631GB
f063e4bccc6f: Pushing [====> ] 554.5MB/5.555GB
5157e617f8e6: Pushing [====> ] 553.9MB/5.631GB
f063e4bccc6f: Pushing [=======> ] 869.6MB/5.555GB
5157e617f8e6: Pushing [=======> ] 868.5MB/5.631GB
f063e4bccc6f: Pushing [==========> ] 1.192GB/5.555GB
5157e617f8e6: Pushing [==========> ] 1.191GB/5.631GB
f063e4bccc6f: Pushing [=============> ] 1.529GB/5.555GB
5157e617f8e6: Pushing [=============> ] 1.528GB/5.631GB
f063e4bccc6f: Pushing [================> ] 1.866GB/5.555GB
5157e617f8e6: Pushing [================> ] 1.866GB/5.631GB
f063e4bccc6f: Pushing [===================> ] 2.193GB/5.555GB
5157e617f8e6: Pushing [===================> ] 2.185GB/5.631GB
f063e4bccc6f: Pushing [======================> ] 2.541GB/5.555GB
5157e617f8e6: Pushing [======================> ] 2.525GB/5.631GB
f063e4bccc6f: Pushing [=========================> ] 2.877GB/5.555GB
5157e617f8e6: Pushing [=========================> ] 2.848GB/5.631GB
f063e4bccc6f: Pushing [============================> ] 3.185GB/5.555GB
5157e617f8e6: Pushing [============================> ] 3.176GB/5.631GB
f063e4bccc6f: Pushing [==================================================>] 5.555GB/5.555GB
5157e617f8e6: Pushing [==================================================>] 5.631GB/5.631GB
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG Sending remote builder heartbeat pulse to http://fdaa:2:4ac1:a7b:1a8:f3bb:494:2:8080/flyio/v1/extendDeadline...
DEBUG --> POST https://api.fly.io/graphql
DEBUG result image:<nil> error:error rendering push status stream: unknown: unknown error
DEBUG {
"query": "\n# @genqlient\nmutation ResolverFinishBuild ($input: FinishBuildInput!) {\n\tfinishBuild(input: $input) {\n\t\tid\n\t\tstatus\n\t\twallclockTimeMs\n\t}\n}\n",
"variables": {
"input": {
"appName": "petcom",
"buildId": "3276978",
"builderMeta": {
"builderType": "",
"buildkitEnabled": true,
"dockerVersion": "20.10.12",
"platform": "linux/x86_64/3.15.0",
"remoteAppName": "",
"remoteMachineId": ""
},
"clientMutationId": "",
"finalImage": {
"id": "",
"sizeBytes": 0,
"tag": ""
},
"logs": "error rendering push status stream: unknown: unknown error",
"machineId": "",
"status": "failed",
"strategiesAttempted": [
{
"error": "",
"note": "no buildpack builder configured, skipping",
"result": "failed",
"strategy": "Buildpacks"
},
{
"error": "error rendering push status stream: unknown: unknown error",
"note": "",
"result": "failed",
"strategy": "Dockerfile"
}
],
"timings": {
"buildAndPushMs": 1734586,
"buildMs": 149675,
"builderInitMs": 37,
"contextBuildMs": -1,
"imageBuildMs": 149638,
"pushMs": 1584911
}
}
},
"operationName": "ResolverFinishBuild"
}
DEBUG {0x14001afcde0}
DEBUG <-- 200 https://api.fly.io/graphql (225.31ms)
DEBUG {
"data": {
"finishBuild": {
"id": "3276978",
"status": "failed",
"wallclockTimeMs": 1734821
}
}
}
DEBUG Task manager done
Error: failed to fetch an image or build from source: error rendering push status stream: unknown: unknown error
DEBUG metrics error: write tcp [2600:100f:a102:8a14:701e:8aa4:7369:ea2e]:64802->[2a09:8280:1::1c:3475]:443: write: broken pipe
DEBUG metrics error: write tcp [2600:100f:a102:8a14:701e:8aa4:7369:ea2e]:64802->[2a09:8280:1::1c:3475]:443: write: broken pipe