Hi,
I am trying to deploy a Phoenix/Elixir app and keep getting this error:
Error: release command failed - aborting deployment. error release_command machine e2865129a7de68 exited with non-zero status of 1
Nothing in the logs gives me a hint about what is going on.
I am not sure if it is the problem, but this application has two databases attached.
Other info, this is the TOML file (It was autogenerated using fly launch
:
app = "po2-sandbox"
primary_region = "mia"
kill_signal = "SIGTERM"
swap_size_mb = 512
[build]
[deploy]
release_command = "/app/bin/migrate"
[env]
PHX_HOST = "po2-sandbox.fly.dev"
PORT = "8080"
[http_service]
internal_port = 8080
force_https = true
auto_stop_machines = true
auto_start_machines = true
min_machines_running = 0
processes = ["app"]
[http_service.concurrency]
type = "connections"
hard_limit = 1000
soft_limit = 1000
Logs:
2023-09-25T01:44:29Z runner[918575d1c12548] mia [info]Pulling container image registry.fly.io/po2-sandbox:deployment-01HB500JH9FVFEKNM9H58AJSBX
2023-09-25T01:44:47Z runner[918575d1c12548] mia [info]Successfully prepared image registry.fly.io/po2-sandbox:deployment-01HB500JH9FVFEKNM9H58AJSBX (17.657012738s)
2023-09-25T01:44:48Z runner[918575d1c12548] mia [info]Configuring firecracker
2023-09-25T01:44:48Z app[918575d1c12548] mia [info][ 0.041546] PCI: Fatal: No config space access function found
2023-09-25T01:44:48Z app[918575d1c12548] mia [info] INFO Starting init (commit: 9fc6a62)...
2023-09-25T01:44:48Z app[918575d1c12548] mia [info] INFO Preparing to run: `/app/bin/migrate` as nobody
2023-09-25T01:44:48Z app[918575d1c12548] mia [info] INFO [fly api proxy] listening at /.fly/api
2023-09-25T01:44:48Z app[918575d1c12548] mia [info]2023/09/25 01:44:48 listening on [fdaa:0:ac7d:a7b:184:f13:ea21:2]:22 (DNS: [fdaa::3]:53)
2023-09-25T01:44:49Z app[918575d1c12548] mia [info]** (EXIT from #PID<0.95.0>) shutdown
2023-09-25T01:44:49Z app[918575d1c12548] mia [info] INFO Main child exited normally with code: 1
2023-09-25T01:44:49Z app[918575d1c12548] mia [info] INFO Starting clean up.
2023-09-25T01:44:49Z app[918575d1c12548] mia [info] WARN hallpass exited, pid: 315, status: signal: 15 (SIGTERM)
2023-09-25T01:44:49Z app[918575d1c12548] mia [info]2023/09/25 01:44:49 listening on [fdaa:0:ac7d:a7b:184:f13:ea21:2]:22 (DNS: [fdaa::3]:53)
2023-09-25T01:44:50Z app[918575d1c12548] mia [info][ 2.321652] reboot: Restarting system
2023-09-25T01:44:50Z runner[918575d1c12548] mia [info]machine restart policy set to 'no', not restarting
Any help finding better info in logs will be greatly appreciated.
Andrew