$ fly logs -a petall-server Waiting for logs... 2025-06-09T19:18:38.313 proxy[32876295b0e618] lhr [info] Starting machine 2025-06-09T19:18:38.380 app[32876295b0e618] lhr [info] 2025-06-09T19:18:38.380906696 [01JXB1DBQNJ9XBBKZN1D9YMP1J:main] Running Firecracker v1.7.0 2025-06-09T19:18:39.489 app[32876295b0e618] lhr [info] INFO Starting init (commit: 28e33be24)... 2025-06-09T19:18:40.003 app[32876295b0e618] lhr [info] INFO Preparing to run: `npm run start-production` as root 2025-06-09T19:18:40.055 app[32876295b0e618] lhr [info] INFO [fly api proxy] listening at /.fly/api 2025-06-09T19:18:40.295 runner[32876295b0e618] lhr [info] Machine started in 1.978s 2025-06-09T19:18:40.297 proxy[32876295b0e618] lhr [info] machine started in 1.983400039s 2025-06-09T19:18:43.970 app[32876295b0e618] lhr [info] 2025/06/09 19:18:43 INFO SSH listening listen_address=[fdaa:1b:2141:a7b:451:90b9:4250:2]:22 2025-06-09T19:18:45.451 proxy[32876295b0e618] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.154011677s so far) 2025-06-09T19:18:45.930 proxy[32876295b0e618] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.633784634s so far) 2025-06-09T19:18:46.010 proxy[32876295b0e618] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.713406829s so far) 2025-06-09T19:18:46.237 proxy[32876295b0e618] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.93989517s so far) 2025-06-09T19:18:49.090 proxy[32876295b0e618] lhr [error] [PM05] failed to connect to machine: gave up after 15 attempts (in 8.79297412s) 2025-06-09T19:18:49.112 proxy[3d8d4256ce2008] lhr [info] Starting machine 2025-06-09T19:18:49.181 app[3d8d4256ce2008] lhr [info] 2025-06-09T19:18:49.180989485 [01JXB1DBJ9T5G2NG62QR20V21T:main] Running Firecracker v1.7.0 2025-06-09T19:18:49.330 proxy[32876295b0e618] lhr [error] [PM05] failed to connect to machine: gave up after 15 attempts (in 9.03290873s) 2025-06-09T19:18:50.265 app[3d8d4256ce2008] lhr [info] INFO Starting init (commit: 28e33be24)... 2025-06-09T19:18:50.831 app[3d8d4256ce2008] lhr [info] INFO Preparing to run: `npm run start-production` as root 2025-06-09T19:18:50.841 app[3d8d4256ce2008] lhr [info] INFO [fly api proxy] listening at /.fly/api 2025-06-09T19:18:50.913 runner[3d8d4256ce2008] lhr [info] Machine started in 1.797s 2025-06-09T19:18:50.914 proxy[3d8d4256ce2008] lhr [info] machine started in 1.80174097s 2025-06-09T19:18:52.063 app[32876295b0e618] lhr [info] > server@0.0.0 start-production 2025-06-09T19:18:52.063 app[32876295b0e618] lhr [info] > npm run db-migrate-prod && NODE_ENV=production npm run start 2025-06-09T19:18:55.074 app[3d8d4256ce2008] lhr [info] 2025/06/09 19:18:55 INFO SSH listening listen_address=[fdaa:1b:2141:a7b:450:5df6:84cf:2]:22 2025-06-09T19:18:56.546 proxy[3d8d4256ce2008] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.632486034s so far) 2025-06-09T19:18:56.626 proxy[3d8d4256ce2008] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.712733864s so far) 2025-06-09T19:18:56.733 proxy[3d8d4256ce2008] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.81983331s so far) 2025-06-09T19:18:56.867 proxy[3d8d4256ce2008] lhr [info] waiting for machine to be reachable on 0.0.0.0:8080 (waited 5.953060059s so far) 2025-06-09T19:18:59.705 proxy[3d8d4256ce2008] lhr [error] [PM05] failed to connect to machine: gave up after 15 attempts (in 8.791800188s) 2025-06-09T19:18:59.731 app[32876295b0e618] lhr [info] > server@0.0.0 db-migrate-prod 2025-06-09T19:18:59.731 app[32876295b0e618] lhr [info] > prisma migrate deploy --schema=../db/schema.prisma 2025-06-09T19:18:59.785 proxy[3d8d4256ce2008] lhr [error] [PM05] failed to connect to machine: gave up after 15 attempts (in 8.871737685s) 2025-06-09T19:18:59.866 proxy[3d8d4256ce2008] lhr [error] [PM05] failed to connect to machine: gave up after 15 attempts (in 8.951936824s) 2025-06-09T19:18:59.973 proxy[32876295b0e618] lhr [error] [PC01] 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) 2025-06-09T19:19:03.476 app[3d8d4256ce2008] lhr [info] > server@0.0.0 start-production 2025-06-09T19:19:03.476 app[3d8d4256ce2008] lhr [info] > npm run db-migrate-prod && NODE_ENV=production npm run start 2025-06-09T19:19:09.330 app[32876295b0e618] lhr [info] Prisma schema loaded from ../db/schema.prisma 2025-06-09T19:19:09.734 app[32876295b0e618] lhr [info] Datasource "db": PostgreSQL database "petall_server", schema "public" at "petall-db.flycast:5432" 2025-06-09T19:19:11.250 proxy[32876295b0e618] lhr [error] [PC01] 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) 2025-06-09T19:19:11.331 app[32876295b0e618] lhr [info] 69 migrations found in prisma/migrations 2025-06-09T19:19:11.980 app[32876295b0e618] lhr [info] No pending migrations to apply. 2025-06-09T19:19:12.753 app[3d8d4256ce2008] lhr [info] > server@0.0.0 db-migrate-prod 2025-06-09T19:19:12.753 app[3d8d4256ce2008] lhr [info] > prisma migrate deploy --schema=../db/schema.prisma 2025-06-09T19:19:15.970 app[32876295b0e618] lhr [info] > server@0.0.0 start 2025-06-09T19:19:15.970 app[32876295b0e618] lhr [info] > npm run validate-env && node --enable-source-maps -r dotenv/config bundle/server.js [PR04] could not find a good candidate within 20 attempts at load balancing [PR04] could not find a good candidate within 20 attempts at load balancing [PR04] could not find a good candidate within 20 attempts at load balancing [PR04] could not find a good candidate within 20 attempts at load balancing 2025-06-09T19:19:20.450 app[32876295b0e618] lhr [info] > server@0.0.0 validate-env 2025-06-09T19:19:20.450 app[32876295b0e618] lhr [info] > node -r dotenv/config ./scripts/validate-env.mjs 2025-06-09T19:19:21.332 app[32876295b0e618] lhr [info] 🔍 Validating environment variables... 2025-06-09T19:19:21.517 proxy[32876295b0e618] lhr [error] [PR03] could not find a good candidate within 1 attempts at load balancing. last error: [PC01] 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) 2025-06-09T19:19:21.786 proxy[3d8d4256ce2008] lhr [error] [PC01] 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) 2025-06-09T19:19:25.306 app[3d8d4256ce2008] lhr [info] Prisma schema loaded from ../db/schema.prisma 2025-06-09T19:19:25.868 app[3d8d4256ce2008] lhr [info] Datasource "db": PostgreSQL database "petall_server", schema "public" at "petall-db.flycast:5432" 2025-06-09T19:19:27.475 app[3d8d4256ce2008] lhr [info] 69 migrations found in prisma/migrations 2025-06-09T19:19:27.949 app[3d8d4256ce2008] lhr [info] No pending migrations to apply. 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] /app/node_modules/@node-rs/argon2/index.js:359 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] throw new Error('Failed to load native binding', { cause: loadErrors }) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] ^ 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] Error: Failed to load native binding 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Object. (/app/node_modules/@node-rs/argon2/index.js:359:11) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._compile (node:internal/modules/cjs/loader:1256:14) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module.load (node:internal/modules/cjs/loader:1119:32) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._load (node:internal/modules/cjs/loader:960:12) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at ModuleWrap. (node:internal/modules/esm/translators:169:29) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at ModuleJob.run (node:internal/modules/esm/module_job:194:25) { 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] [cause]: [ 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] Error: Cannot find module './argon2.linux-x64-musl.node' 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] Require stack: 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] - /app/node_modules/@node-rs/argon2/index.js 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._load (node:internal/modules/cjs/loader:922:27) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module.require (node:internal/modules/cjs/loader:1143:19) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at require (node:internal/modules/cjs/helpers:119:18) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at requireNative (/app/node_modules/@node-rs/argon2/index.js:199:16) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Object. (/app/node_modules/@node-rs/argon2/index.js:332:17) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._compile (node:internal/modules/cjs/loader:1256:14) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module.load (node:internal/modules/cjs/loader:1119:32) 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._load (node:internal/modules/cjs/loader:960:12) { 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] code: 'MODULE_NOT_FOUND', 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] requireStack: [ '/app/node_modules/@node-rs/argon2/index.js' ] 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] }, 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] Error: Cannot find module '@node-rs/argon2-linux-x64-musl' 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] Require stack: 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] - /app/node_modules/@node-rs/argon2/index.js 2025-06-09T19:19:32.133 app[32876295b0e618] lhr [info] at Module._resolveFilename (node:internal/modules/cjs/loade