Git Product home page Git Product logo

Comments (7)

nelsonic avatar nelsonic commented on July 22, 2024

Got error when attempting to deploy from localhost:

WARN Failed to start remote builder heartbeat: failed building options: failed probing "dwyl-image-uploads": context deadline exceeded
Error: failed to fetch an image or build from source: error connecting to docker: failed building options: failed probing "dwyl-image-uploads": context deadline exceeded

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024

Read: https://community.fly.io/t/eror-failed-to-start-remote-builder-heartbeat-failed-building-options-failed-probing-personal-context-deadline-exceeded/10708

Solution:

fly wireguard reset

Then deploy appears to work ... ⏳

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024

Added the init to check environment variables are defined:
imgup-init-env-vars

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024

The variables appear to be all set on: https://imgup.fly.dev/
image

This is a real head-scratcher ... 🤷‍♂️

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024

Tried to deploy, got:

Running imgup release_command: /app/bin/migrate
  Waiting for 9080142b631958 to get exit event
Error release_command failed running on machine 9080142b631958 with exit code 1.
Check its logs: here's the last 100 lines below, or run 'fly logs -i 9080142b631958':
  Pulling container image registry.fly.io/imgup:deployment-01H2WND6FRX86NKA0WKC1SEC1J
  Successfully prepared image registry.fly.io/imgup:deployment-01H2WND6FRX86NKA0WKC1SEC1J (4.544811912s)
   INFO Starting init (commit: 0b28cec)...
   INFO Preparing to run: `/app/bin/migrate` as nobody
   INFO [fly api proxy] listening at /.fly/api
  2023/06/14 09:59:36 listening on [fdaa:2:4078:a7b:2808:e1c4:85a5:2]:22 (DNS: [fdaa::3]:53)
  ERROR! the application :ex_aws has a different value set for key :region during runtime compared to compile time. Since this application environment entry was marked as compile time, this difference can lead to different behaviour than expected:
    * Compile time value was set to: nil
    * Runtime value was set to: "eu-west-3"
  To fix this error, you might:
    * Make the runtime value match the compile time one
    * Recompile your project. If the misconfigured application is a dependency, you may need to run "mix deps.compile ex_aws --force"
    * Alternatively, you can disable this check. If you are using releases, you can set :validate_compile_env to false in your release configuration. If you are using Mix to start your system, you can pass the --no-validate-compile-env flag
  {"init terminating in do_boot",{<<"aborting boot">>,[{'Elixir.Config.Provider',boot,2,[]}]}}
  init terminating in do_boot ({,[{Elixir.Config.Provider,boot,2,[]}]})
  Crash dump is being written to: erl_crash.dump...done
   INFO Main child exited normally with code: 1
   INFO Starting clean up.
   WARN hallpass exited, pid: 515, status: signal: 15 (SIGTERM)
  2023/06/14 09:59:39 listening on [fdaa:2:4078:a7b:2808:e1c4:85a5:2]:22 (DNS: [fdaa::3]:53)
  [    4.346481] reboot: Restarting system
  machine restart policy set to 'no', not restarting
Error: release command failed - aborting deployment. error release_command machine 9080142b631958 exited with non-zero status of 1

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024
--> Building image done
==> Pushing image to fly
The push refers to repository [registry.fly.io/imgup]
ef9b7d0efc36: Pushed
7ab4a3474c89: Layer already exists
cc33c43453df: Layer already exists
e8d208546010: Layer already exists
75af88e21fd1: Layer already exists
67a4178b7d47: Layer already exists
deployment-01H2WNRFE8M9B09BFH2K1F32B2: digest: sha256:29ed8315ed5a732f2bcc8f2cde9388bfe21537b866c8dba66884e6bdf16ffe8b size: 1575
--> Pushing image done
image: registry.fly.io/imgup:deployment-01H2WNRFE8M9B09BFH2K1F32B2
image size: 123 MB

Watch your app at https://fly.io/apps/imgup/monitoring

Running imgup release_command: /app/bin/migrate
  Waiting for 6e82977a760958 to get exit event
Error release_command failed running on machine 6e82977a760958 with exit code 1.
Check its logs: here's the last 100 lines below, or run 'fly logs -i 6e82977a760958':
  Pulling container image registry.fly.io/imgup:deployment-01H2WNRFE8M9B09BFH2K1F32B2
  Successfully prepared image registry.fly.io/imgup:deployment-01H2WNRFE8M9B09BFH2K1F32B2 (4.885829421s)
  Configuring firecracker
   INFO Starting init (commit: 0b28cec)...
   INFO Preparing to run: `/app/bin/migrate` as nobody
   INFO [fly api proxy] listening at /.fly/api
  2023/06/14 10:07:20 listening on [fdaa:2:4078:a7b:be65:8d8e:61e7:2]:22 (DNS: [fdaa::3]:53)
  ERROR! the application :ex_aws has a different value set for key :region during runtime compared to compile time. Since this application environment entry was marked as compile time, this difference can lead to different behaviour than expected:
    * Compile time value was set to: nil
    * Runtime value was set to: "eu-west-3"
  To fix this error, you might:
    * Make the runtime value match the compile time one
    * Recompile your project. If the misconfigured application is a dependency, you may need to run "mix deps.compile ex_aws --force"
    * Alternatively, you can disable this check. If you are using releases, you can set :validate_compile_env to false in your release configuration. If you are using Mix to start your system, you can pass the --no-validate-compile-env flag
  {"init terminating in do_boot",{<<"aborting boot">>,[{'Elixir.Config.Provider',boot,2,[]}]}}
  init terminating in do_boot ({,[{Elixir.Config.Provider,boot,2,[]}]})
  Crash dump is being written to: erl_crash.dump...done
   INFO Main child exited normally with code: 1
   INFO Starting clean up.
   WARN hallpass exited, pid: 514, status: signal: 15 (SIGTERM)
  2023/06/14 10:07:21 listening on [fdaa:2:4078:a7b:be65:8d8e:61e7:2]:22 (DNS: [fdaa::3]:53)
  [    2.124423] reboot: Restarting system
  machine restart policy set to 'no', not restarting
Error: release command failed - aborting deployment. error release_command machine 6e82977a760958 exited with non-zero status of 1

from imgup.

nelsonic avatar nelsonic commented on July 22, 2024

Environment variables are now accessible on the Fly.io instance. ✅
Sadly we're getting a different error ... #71

from imgup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.