dwyl / phoenix-liveview-todo-list-tutorial

✅ Beginners tutorial building a Realtime Todo List in Phoenix 1.6.10 + LiveView 0.17.10 ⚡️ Feedback very welcome!
https://liveview-todo.herokuapp.com/
69 stars 11 forks source link

Chore: Migrate `LiveView Todo` App from Heroku to Fly.io #66

Open nelsonic opened 2 years ago

nelsonic commented 2 years ago

Sadly, all "free" Heroku Apps will be deleted this month ... ref: https://github.com/dwyl/learn-heroku/issues/52 🤦‍♂️

Todo

SimonLab commented 1 year ago

Is there a specific reason why you want to remove Postgres? Would the free allowance from Fly.io be enough to keep it? image

nelsonic commented 1 year ago

Yeah, we can easily keep the "free" postgres. But it costs Fly.io something ... so we shouldn't abuse it. 💭

nelsonic commented 1 year ago
0cc1f0165626: Pushed
deployment-01HF8FDG0NY6KEDK3KVJ5XS8FC: digest: sha256:7bb47d264216bf7d34c63a298c7813a54574ece3d2b26de2dc8af4a70a10d769 size: 1575
--> Pushing image done
image: registry.fly.io/liveviewtodo:deployment-01HF8FDG0NY6KEDK3KVJ5XS8FC
image size: 124 MB

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

Provisioning ips for liveviewtodo
  Dedicated ipv6: 2a09:8280:1::42:a732
  Shared ipv4: 66.241.125.211
  Add a dedicated ipv4 with: fly ips allocate-v4

Running liveviewtodo release_command: /app/bin/migrate

-------
 ✖ release_command failed
-------
Error release_command failed running on machine d8d9349b769e78 with exit code 1.
Check its logs: here's the last 100 lines below, or run 'fly logs -i d8d9349b769e78':
-------
Error: release command failed - aborting deployment. error getting release_command logs: 503 Service Unavailable
n@MBP phoenix-liveview-todo-list-tutorial %
n@MBP phoenix-liveview-todo-list-tutorial % fly logs -i d8d9349b769e78
nelsonic commented 1 year ago
$ fly logs -a liveviewtodo

Waiting for logs...

2023-11-15T03:54:15.995 app[683d92dce34dd8] lhr [info] 03:54:15.994 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:54:16.274 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:54:17.509 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:54:17.658 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:54:18.278 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:54:18.279 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:54:18.282 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:54:18.291 app[683d92dce34dd8] lhr [info] 2023/11/15 03:54:18 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:54:19.283 app[683d92dce34dd8] lhr [info] [ 19.583573] reboot: Restarting system

2023-11-15T03:54:20.304 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:54:29.487 app[683d92dce34dd8] lhr [info] [ 0.044213] PCI: Fatal: No config space access function found

2023-11-15T03:54:29.761 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:54:30.498 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:54:30.737 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:54:31.285 app[683d92dce34dd8] lhr [info] 2023/11/15 03:54:30 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:54:42.144 app[683d92dce34dd8] lhr [info] 03:54:42.143 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:54:42.753 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:54:43.659 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:54:43.809 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:54:44.757 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:54:44.758 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:54:44.761 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:54:44.768 app[683d92dce34dd8] lhr [info] 2023/11/15 03:54:44 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:54:45.761 app[683d92dce34dd8] lhr [info] [ 16.313462] reboot: Restarting system

2023-11-15T03:54:46.644 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:54:53.556 app[683d92dce34dd8] lhr [info] [ 0.046927] PCI: Fatal: No config space access function found

2023-11-15T03:54:53.825 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:54:53.968 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:54:54.087 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:54:54.273 app[683d92dce34dd8] lhr [info] 2023/11/15 03:54:54 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:55:09.489 app[683d92dce34dd8] lhr [info] 03:55:09.488 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:55:10.106 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:55:11.004 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:55:11.161 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:55:12.110 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:55:12.111 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:55:12.114 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:55:12.126 app[683d92dce34dd8] lhr [info] 2023/11/15 03:55:12 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:55:13.115 app[683d92dce34dd8] lhr [info] [ 19.601456] reboot: Restarting system

2023-11-15T03:55:13.879 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:55:15.760 app[683d92dce34dd8] lhr [info] [ 0.041897] PCI: Fatal: No config space access function found

2023-11-15T03:55:16.017 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:55:16.038 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:55:16.049 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:55:16.061 app[683d92dce34dd8] lhr [info] 2023/11/15 03:55:16 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:55:22.196 app[683d92dce34dd8] lhr [info] 03:55:22.195 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:55:23.061 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:55:23.711 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:55:23.857 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:55:24.063 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:55:24.064 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:55:24.067 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:55:24.075 app[683d92dce34dd8] lhr [info] 2023/11/15 03:55:24 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:55:25.067 app[683d92dce34dd8] lhr [info] [ 9.344808] reboot: Restarting system

2023-11-15T03:55:25.830 runner[683d92dce34dd8] lhr [info] machine has reached its max restart count (10)

2023-11-15T03:58:00.152 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:58:00.463 app[2874365a46e318] lhr [info] [ 0.036862] PCI: Fatal: No config space access function found

2023-11-15T03:58:00.683 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:00.705 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:00.715 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:00.727 proxy[2874365a46e318] lhr [info] machine started in 574.868683ms

2023-11-15T03:58:00.727 app[2874365a46e318] lhr [info] 2023/11/15 03:58:00 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:03.289 app[2874365a46e318] lhr [info] 03:58:03.289 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:03.719 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:04.801 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:04.944 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:05.722 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:05.722 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:05.724 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:05.730 app[2874365a46e318] lhr [info] 2023/11/15 03:58:05 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:06.327 proxy[2874365a46e318] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.600010734s so far)

2023-11-15T03:58:06.725 app[2874365a46e318] lhr [info] [ 6.295406] reboot: Restarting system

2023-11-15T03:58:07.251 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:08.107 app[2874365a46e318] lhr [info] [ 0.036012] PCI: Fatal: No config space access function found

2023-11-15T03:58:08.326 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:08.346 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:08.355 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:08.365 app[2874365a46e318] lhr [info] 2023/11/15 03:58:08 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:11.037 app[2874365a46e318] lhr [info] 03:58:11.036 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:11.333 proxy[2874365a46e318] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 10.605965456s so far)

2023-11-15T03:58:11.335 proxy[2874365a46e318] lhr [error] failed to connect to machine: gave up after 15 attempts (in 10.607338873s)

2023-11-15T03:58:11.358 proxy[683d92dce34dd8] lhr [info] Starting machine

2023-11-15T03:58:11.360 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:12.318 app[683d92dce34dd8] lhr [info] [ 0.043651] PCI: Fatal: No config space access function found

2023-11-15T03:58:12.549 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:12.580 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:12.692 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:12.956 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:13.240 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:13.315 app[683d92dce34dd8] lhr [info] 2023/11/15 03:58:13 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:13.317 proxy[683d92dce34dd8] lhr [info] machine started in 1.958512666s

2023-11-15T03:58:13.364 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:13.365 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:13.368 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:13.377 app[2874365a46e318] lhr [info] 2023/11/15 03:58:13 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:14.368 app[2874365a46e318] lhr [info] [ 6.294047] reboot: Restarting system

2023-11-15T03:58:14.936 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:15.670 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:15.695 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:15.712 app[2874365a46e318] lhr [info] 2023/11/15 03:58:15 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:22.244 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:22.261 app[683d92dce34dd8] lhr [info] [ 9.985498] reboot: Restarting system

2023-11-15T03:58:22.874 app[2874365a46e318] lhr [info] [ 0.036943] PCI: Fatal: No config space access function found

2023-11-15T03:58:22.998 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:23.089 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:23.108 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:23.114 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:23.126 app[2874365a46e318] lhr [info] 2023/11/15 03:58:23 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:24.297 proxy[683d92dce34dd8] lhr [error] failed to connect to machine: gave up after 15 attempts (in 10.9799889s)

2023-11-15T03:58:24.445 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:58:24.453 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:25.543 app[2874365a46e318] lhr [info] 03:58:25.543 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:26.117 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:26.215 app[683d92dce34dd8] lhr [info] [ 0.043445] PCI: Fatal: No config space access function found

2023-11-15T03:58:26.476 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:26.645 proxy[683d92dce34dd8] lhr [error] timed out while connecting to your instance. this indicates a problem with your app (hint: look at your logs and metrics)

2023-11-15T03:58:27.054 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:27.195 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:27.540 proxy[683d92dce34dd8] lhr [info] Starting machine

2023-11-15T03:58:27.542 proxy[683d92dce34dd8] lhr [error] machines API returned an error: "machine still attempting to start"

2023-11-15T03:58:27.659 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:27.986 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:28.121 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:28.121 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:28.124 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:28.130 app[2874365a46e318] lhr [info] 2023/11/15 03:58:28 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:28.348 app[683d92dce34dd8] lhr [info] 2023/11/15 03:58:27 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:29.124 app[2874365a46e318] lhr [info] [ 6.283461] reboot: Restarting system

2023-11-15T03:58:29.575 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:29.636 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:30.575 app[2874365a46e318] lhr [info] [ 0.035432] PCI: Fatal: No config space access function found

2023-11-15T03:58:30.791 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:30.812 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:30.819 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:30.830 app[2874365a46e318] lhr [info] 2023/11/15 03:58:30 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:33.267 app[2874365a46e318] lhr [info] 03:58:33.266 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:33.823 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:34.589 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:34.777 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:34.920 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:35.826 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:35.827 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:35.830 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:35.836 app[2874365a46e318] lhr [info] 2023/11/15 03:58:35 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:36.830 app[2874365a46e318] lhr [info] [ 6.287241] reboot: Restarting system

2023-11-15T03:58:37.414 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:38.624 app[2874365a46e318] lhr [info] [ 0.043928] PCI: Fatal: No config space access function found

2023-11-15T03:58:38.847 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:38.868 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:38.877 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:38.888 app[2874365a46e318] lhr [info] 2023/11/15 03:58:38 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:39.835 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:40.486 app[683d92dce34dd8] lhr [info] 03:58:40.485 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:41.012 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:41.428 app[2874365a46e318] lhr [info] 03:58:41.428 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:41.882 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:42.001 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:42.151 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:42.939 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:43.015 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:43.016 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:58:43.019 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:43.028 app[683d92dce34dd8] lhr [info] 2023/11/15 03:58:43 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:43.088 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:43.886 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:43.886 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:43.889 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:43.896 app[2874365a46e318] lhr [info] 2023/11/15 03:58:43 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:44.020 app[683d92dce34dd8] lhr [info] [ 17.844652] reboot: Restarting system

2023-11-15T03:58:44.771 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:44.890 app[2874365a46e318] lhr [info] [ 6.307558] reboot: Restarting system

2023-11-15T03:58:45.393 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:45.407 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:46.426 app[683d92dce34dd8] lhr [info] [ 0.041794] PCI: Fatal: No config space access function found

2023-11-15T03:58:46.708 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:47.002 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:47.088 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:47.438 app[683d92dce34dd8] lhr [info] 2023/11/15 03:58:47 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:49.236 app[2874365a46e318] lhr [info] [ 0.036807] PCI: Fatal: No config space access function found

2023-11-15T03:58:49.451 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:49.475 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:49.483 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:49.495 app[2874365a46e318] lhr [info] 2023/11/15 03:58:49 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:51.923 app[2874365a46e318] lhr [info] 03:58:51.922 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:52.487 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:53.433 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:53.576 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:58:54.490 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:58:54.491 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:58:54.493 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:58:54.499 app[2874365a46e318] lhr [info] 2023/11/15 03:58:54 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:54.789 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:55.493 app[2874365a46e318] lhr [info] [ 6.291149] reboot: Restarting system

2023-11-15T03:58:56.094 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:58:56.194 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:58:57.866 app[683d92dce34dd8] lhr [info] 03:58:57.866 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:58:58.102 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:58:58.598 app[2874365a46e318] lhr [info] [ 0.035820] PCI: Fatal: No config space access function found

2023-11-15T03:58:58.821 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:58:58.840 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:58:58.849 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:58:58.861 app[2874365a46e318] lhr [info] 2023/11/15 03:58:58 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:58:59.382 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:58:59.549 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:00.105 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:00.106 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:59:00.108 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:00.116 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:00 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:01.110 app[683d92dce34dd8] lhr [info] [ 14.721377] reboot: Restarting system

2023-11-15T03:59:01.374 app[2874365a46e318] lhr [info] 03:59:01.373 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:01.853 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:02.398 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:02.885 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:03.025 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:03.855 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:03.856 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:59:03.858 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:03.864 app[2874365a46e318] lhr [info] 2023/11/15 03:59:03 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:04.166 app[683d92dce34dd8] lhr [info] [ 0.044356] PCI: Fatal: No config space access function found

2023-11-15T03:59:04.432 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:04.858 app[2874365a46e318] lhr [info] [ 6.292929] reboot: Restarting system

2023-11-15T03:59:04.864 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:05.058 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:05.358 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:05.786 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:05 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:07.072 proxy[2874365a46e318] lhr [error] timed out while connecting to your instance. this indicates a problem with your app (hint: look at your logs and metrics)

2023-11-15T03:59:08.023 proxy[683d92dce34dd8] lhr [info] Starting machine

2023-11-15T03:59:08.129 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:11.357 app[2874365a46e318] lhr [info] [ 0.039247] PCI: Fatal: No config space access function found

2023-11-15T03:59:11.573 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:11.595 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:11.605 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:11.618 app[2874365a46e318] lhr [info] 2023/11/15 03:59:11 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:12.136 proxy[2874365a46e318] lhr [error] timed out while connecting to your instance. this indicates a problem with your app (hint: look at your logs and metrics)

2023-11-15T03:59:13.068 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:13.113 app[683d92dce34dd8] lhr [info] 03:59:13.112 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:14.143 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:14.151 app[2874365a46e318] lhr [info] 03:59:14.150 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:14.608 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:14.626 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:14.775 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:15.071 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:15.072 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:59:15.075 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:15.086 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:15 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:15.663 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:15.806 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:16.075 app[683d92dce34dd8] lhr [info] [ 11.948499] reboot: Restarting system

2023-11-15T03:59:16.612 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:16.613 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:59:16.616 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:16.624 app[2874365a46e318] lhr [info] 2023/11/15 03:59:16 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:16.706 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:17.617 app[2874365a46e318] lhr [info] [ 6.296291] reboot: Restarting system

2023-11-15T03:59:18.218 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:18.543 app[683d92dce34dd8] lhr [info] [ 0.045688] PCI: Fatal: No config space access function found

2023-11-15T03:59:18.804 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:18.912 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:19.123 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:19.176 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:19.229 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:19 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:24.579 app[2874365a46e318] lhr [info] [ 0.041825] PCI: Fatal: No config space access function found

2023-11-15T03:59:24.795 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:24.816 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:24.827 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:24.840 app[2874365a46e318] lhr [info] 2023/11/15 03:59:24 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:27.045 app[683d92dce34dd8] lhr [info] 03:59:27.044 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:27.124 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:27.134 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:27.362 app[2874365a46e318] lhr [info] 03:59:27.361 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:27.831 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:28.559 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:28.712 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:28.872 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:29.024 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:29.138 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:29.139 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:59:29.142 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:29.154 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:29 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:29.835 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:29.836 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:59:29.838 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:29.845 app[2874365a46e318] lhr [info] 2023/11/15 03:59:29 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:30.054 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:30.143 app[683d92dce34dd8] lhr [info] [ 11.641132] reboot: Restarting system

2023-11-15T03:59:30.844 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:30.839 app[2874365a46e318] lhr [info] [ 6.299448] reboot: Restarting system

2023-11-15T03:59:31.349 runner[2874365a46e318] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:38.066 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:38.067 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:38.997 app[683d92dce34dd8] lhr [info] [ 0.044689] PCI: Fatal: No config space access function found

2023-11-15T03:59:39.263 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:40.058 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:40.060 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:40.524 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:40.683 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:41.630 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:40 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:41.630 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:43.634 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:43.635 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:45.639 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:45.640 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:47.629 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:47.630 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:49.634 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:49.636 proxy[2874365a46e318] lhr [error] failed to change machine state: machine still active, refusing to start

2023-11-15T03:59:52.013 proxy[683d92dce34dd8] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:52.674 app[2874365a46e318] lhr [info] [ 0.035932] PCI: Fatal: No config space access function found

2023-11-15T03:59:52.885 app[2874365a46e318] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T03:59:52.906 app[2874365a46e318] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T03:59:52.914 app[2874365a46e318] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T03:59:52.925 app[2874365a46e318] lhr [info] 2023/11/15 03:59:52 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:53.016 proxy[2874365a46e318] lhr [info] Starting machine

2023-11-15T03:59:53.018 proxy[2874365a46e318] lhr [error] machines API returned an error: "machine still attempting to start"

2023-11-15T03:59:54.109 app[683d92dce34dd8] lhr [info] 03:59:54.108 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:54.701 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:55.024 proxy[2874365a46e318] lhr [error] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)

2023-11-15T03:59:55.405 app[2874365a46e318] lhr [info] 03:59:55.405 [notice] Application live_view_todo exited: shutdown

2023-11-15T03:59:55.625 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:55.777 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:55.917 app[2874365a46e318] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T03:59:56.705 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:56.706 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T03:59:56.708 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:56.716 app[683d92dce34dd8] lhr [info] 2023/11/15 03:59:56 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:56.918 app[2874365a46e318] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T03:59:57.064 app[2874365a46e318] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T03:59:57.708 app[683d92dce34dd8] lhr [info] [ 18.751232] reboot: Restarting system

2023-11-15T03:59:57.920 app[2874365a46e318] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T03:59:57.921 app[2874365a46e318] lhr [info] INFO Starting clean up.

2023-11-15T03:59:57.923 app[2874365a46e318] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T03:59:57.930 app[2874365a46e318] lhr [info] 2023/11/15 03:59:57 listening on [fdaa:0:fe1f:a7b:13d:87bd:1479:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T03:59:58.030 proxy[2874365a46e318] lhr [error] could not find a good candidate within 90 attempts at load balancing

2023-11-15T03:59:58.539 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T03:59:58.924 app[2874365a46e318] lhr [info] [ 6.283269] reboot: Restarting system

2023-11-15T03:59:59.493 runner[2874365a46e318] lhr [info] machine has reached its max restart count (10)

2023-11-15T04:00:06.667 app[683d92dce34dd8] lhr [info] [ 0.046687] PCI: Fatal: No config space access function found

2023-11-15T04:00:06.937 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T04:00:07.787 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T04:00:09.303 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T04:00:09.830 app[683d92dce34dd8] lhr [info] 2023/11/15 04:00:09 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T04:00:24.204 app[683d92dce34dd8] lhr [info] 04:00:24.204 [notice] Application live_view_todo exited: shutdown

2023-11-15T04:00:24.325 app[683d92dce34dd8] lhr [info] WARN Reaped child process with pid: 362 and signal: SIGUSR1, core dumped? false

2023-11-15T04:00:25.721 app[683d92dce34dd8] lhr [info] Kernel pid terminated (application_controller) ({application_terminated,live_view_todo,shutdown})

2023-11-15T04:00:25.870 app[683d92dce34dd8] lhr [info] Crash dump is being written to: erl_crash.dump...done

2023-11-15T04:00:26.328 app[683d92dce34dd8] lhr [info] INFO Main child exited normally with code: 1

2023-11-15T04:00:26.329 app[683d92dce34dd8] lhr [info] INFO Starting clean up.

2023-11-15T04:00:26.335 app[683d92dce34dd8] lhr [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)

2023-11-15T04:00:26.342 app[683d92dce34dd8] lhr [info] 2023/11/15 04:00:26 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)

2023-11-15T04:00:27.333 app[683d92dce34dd8] lhr [info] [ 20.707456] reboot: Restarting system

2023-11-15T04:00:28.598 runner[683d92dce34dd8] lhr [info] machine did not have a restart policy, defaulting to restart

2023-11-15T04:00:36.306 app[683d92dce34dd8] lhr [info] [ 0.044760] PCI: Fatal: No config space access function found

2023-11-15T04:00:36.573 app[683d92dce34dd8] lhr [info] INFO Starting init (commit: 15238e9)...

2023-11-15T04:00:37.125 app[683d92dce34dd8] lhr [info] INFO Preparing to run: `/app/bin/server` as nobody

2023-11-15T04:00:37.136 app[683d92dce34dd8] lhr [info] INFO [fly api proxy] listening at /.fly/api

2023-11-15T04:00:37.518 app[683d92dce34dd8] lhr [info] 2023/11/15 04:00:37 listening on [fdaa:0:fe1f:a7b:13e:fd08:af5b:2]:22 (DNS: [fdaa::3]:53)
nelsonic commented 1 year ago

Continue: https://fly.io/apps/liveviewtodo/monitoring

sharkby7e commented 11 months ago
0cc1f0165626: Pushed
deployment-01HF8FDG0NY6KEDK3KVJ5XS8FC: digest: sha256:7bb47d264216bf7d34c63a298c7813a54574ece3d2b26de2dc8af4a70a10d769 size: 1575
--> Pushing image done
image: registry.fly.io/liveviewtodo:deployment-01HF8FDG0NY6KEDK3KVJ5XS8FC
image size: 124 MB

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

Provisioning ips for liveviewtodo
  Dedicated ipv6: 2a09:8280:1::42:a732
  Shared ipv4: 66.241.125.211
  Add a dedicated ipv4 with: fly ips allocate-v4

Running liveviewtodo release_command: /app/bin/migrate

-------
 ✖ release_command failed
-------
Error release_command failed running on machine d8d9349b769e78 with exit code 1.
Check its logs: here's the last 100 lines below, or run 'fly logs -i d8d9349b769e78':
-------
Error: release command failed - aborting deployment. error getting release_command logs: 503 Service Unavailable
n@MBP phoenix-liveview-todo-list-tutorial %
n@MBP phoenix-liveview-todo-list-tutorial % fly logs -i d8d9349b769e78

should the release command be mix ecto.migrate instead?

nelsonic commented 11 months ago

The mix command is not available in a Fly.io docker container. So it has to be the compiled binary. 💭

sharkby7e commented 11 months ago

@nelsonic. thanks for clarity! what's the next move to get it deployed, and lmk how i can help!