liamkillingback
Fly deploy release command failed
Hello,
So I’ve had no problems with deploying to fly.io up until now, where seemingly randomly I’m now having this error whilst trying to update a live site:
Running myapp release_command: /app/bin/migrate
-------
✖ release_command failed
-------
Error release_command failed running on machine e82d61dc769468 with exit code 127.
Check its logs: here's the last 100 lines below, or run 'fly logs -i e82d61dc769468':
Pulling container image registry.fly.io/fileai:deployment-01J2W788F91DZTJ292W5F7HX6Q
Successfully prepared image registry.fly.io/fileai:deployment-01J2W788F91DZTJ292W5F7HX6Q (10.04221721s)
Configuring firecracker
2024-07-15T22:14:49.949137306 [01J2W7CJGB768EZ8RWHC5TQQQT:main] Running Firecracker v1.7.0
[ 0.278833] PCI: Fatal: No config space access function found
INFO Starting init (commit: 0071a4c2)...
INFO Preparing to run: `/app/bin/migrate` as nobody
INFO [fly api proxy] listening at /.fly/api
2024/07/15 22:14:50 INFO SSH listening listen_address=[fdaa:5:8355:a7b:1b2:78ad:3fcd:2]:22 dns_server=[fdaa::3]:53
: not founduncher: 2: /app/releases/0.1.0/env.sh:
Machine created and started in 12.282s
INFO Main child exited normally with code: 127
INFO Starting clean up.
WARN could not unmount /rootfs: EINVAL: Invalid argument
[ 1.622447] reboot: Restarting system
machine restart policy set to 'no', not restarting
-------
Error: release command failed - aborting deployment. error release_command machine e82d61dc769468 exited with non-zero status of 127
Before this I had a file not found error.
So far I’ve tried:
- Completely deleting the app, builder and database
- Cloned to my linux laptop and tried to deploy - same error except the error status is 1 not 127
I’ve seen a related post or two but none that helped me..
Any insight would be much appreciated. Cheers!
Popular in Questions
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
Hello!
Sorry for this astonishing simple question, but I’m really stuck. I try to set up the intellij-elixir plugin, but I don’t know ho...
New
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
Hi,
I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
Other popular topics
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
I would like to know what is the best IDE for elixir development?
New
What is the idiomatic way of matching for not nil in Elixir?
E.g.,
First way:
defp halt_if_not_signed_in(conn, signed_in_account) when...
New
I asked this very same question on twitter and got some interesting feedback, but I thought it would be a good question to ask here as we...
New
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
New
Latest Phoenix Threads
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #hex
- #security









