Closed dentarg closed 1 year ago
The app was migrated to "Apps V2" 2023-07-10, 23:43 which I think brought this change
https://fly.io/docs/laravel/the-basics/customizing-deployments/#startup-scripts
That seems to be something specific to the Larvel Docker image: https://github.com/superfly/flyctl/blob/b97a01b0d6abf13db4fd97bdfb6b338ea57982ac/scanner/templates/laravel/.fly/entrypoint.sh
Finally. Summary: https://github.com/Starkast/wikimum/compare/cbce7bd...ffe39b7
2023-07-15T11:11:38Z runner[784ee50b25d7e8] dfw [info]Pulling container image registry.fly.io/wikimum:deployment-01H5CKYASWC6DZ1EHJTQDHSBNJ
2023-07-15T11:11:49Z runner[784ee50b25d7e8] dfw [info]Successfully prepared image registry.fly.io/wikimum:deployment-01H5CKYASWC6DZ1EHJTQDHSBNJ (10.337133444s)
2023-07-15T11:11:50Z runner[784ee50b25d7e8] dfw [info]Configuring firecracker
2023-07-15T11:11:51Z app[784ee50b25d7e8] dfw [info] INFO Starting init (commit: 1d1821d)...
2023-07-15T11:11:51Z app[784ee50b25d7e8] dfw [info] INFO Preparing to run: `launcher /bin/sh -c bin/db_migrate && bin/web_start` as heroku
2023-07-15T11:11:51Z app[784ee50b25d7e8] dfw [info] INFO [fly api proxy] listening at /.fly/api
2023-07-15T11:11:51Z app[784ee50b25d7e8] dfw [info]2023/07/15 11:11:51 listening on [fdaa:0:bd46:a7b:ed:bd0b:ce7f:2]:22 (DNS: [fdaa::3]:53)
2023-07-15T11:11:54Z app[784ee50b25d7e8] dfw [info]Migrating to latest
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] Puma starting in cluster mode...
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Puma version: 6.3.0 (ruby 3.2.2-p53) ("Mugi No Toki Itaru")
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Min threads: 1
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Max threads: 16
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Environment: production
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Master PID: 252
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Workers: 2
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Restarts: (✔) hot (✖) phased
2023-07-15T11:11:55Z app[784ee50b25d7e8] dfw [info][252] * Preloading application
2023-07-15T11:11:55Z proxy[784ee50b25d7e8] dfw [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-07-15T11:11:56Z app[784ee50b25d7e8] dfw [info]D, [2023-07-15T11:11:55.314269 #252] DEBUG -- sentry: ** [Sentry] Sentry HTTP Transport will connect to https://sentry.io
2023-07-15T11:11:56Z app[784ee50b25d7e8] dfw [info]D, [2023-07-15T11:11:55.314461 #252] DEBUG -- sentry: ** [Sentry] Initializing the background worker with 1 threads
2023-07-15T11:11:57Z app[784ee50b25d7e8] dfw [info][252] * Listening on http://0.0.0.0:8080
2023-07-15T11:11:57Z app[784ee50b25d7e8] dfw [info][252] Use Ctrl-C to stop
2023-07-15T11:11:57Z app[784ee50b25d7e8] dfw [info][252] - Worker 1 (PID: 256) booted in 0.0s, phase: 0
2023-07-15T11:11:57Z app[784ee50b25d7e8] dfw [info][252] - Worker 0 (PID: 255) booted in 0.0s, phase: 0
From https://github.com/Starkast/wikimum/actions/runs/5560843771/jobs/10158116078#step:2:742