Wish I knew more about all this. I see the github convo with dhh.
If I were to try to get this into my app I’d add it as a gem or will fly do something with launch/deploy?
[Update] Seems launch handled a lot of this…
From the fly.toml processes = [“app”] was getting flagged as redundant.
[http_service]
processes = [“app”]
Fly still tries to add redis.
Still added 2 machines.
Some may be interesting things in logs:
2024-10-21T17:16:18Z app[0801e06b051398] dfw [info] WARN could not unmount /rootfs: EINVAL: Invalid argument
2024-10-21T17:16:18Z app[0801e06b051398] dfw [info][ 3.883422] reboot: Restarting system
This is the best thing I could find…
2024-10-21T17:17:56Z app[e784930b695348] dfw [info]{“time”:“2024-10-21T17:17:56.36050397Z”,“level”:“INFO”,“msg”:“Request”,“path”:“/chats”,“status”:500,“dur”:14,“method”:“POST”,“req_content_length”:338,“req_content_type”:"multipart/form-data; b
Both machines are stopped: Perhaps never started. I don’t know I’m just faffing around.
I started the machine from fly.io and got some more interesting messages: maybe all this is known known.
2024-10-21T17:32:39.779 app[d8dd953b1e3378] dfw [info] INFO [fly api proxy] listening at /.fly/api
2024-10-21T17:32:39.793 runner[d8dd953b1e3378] dfw [info] Machine started in 878ms
2024-10-21T17:32:40.054 app[d8dd953b1e3378] dfw [info] 2024/10/21 17:32:40 INFO SSH listening listen_address=[fdaa:a:6a0f:a7b:67:9d92:f7c8:2]:22 dns_server=[fdaa::3]:53
2024-10-21T17:32:42.204 app[d8dd953b1e3378] dfw [info] SolidQueue-1.0.0 Error registering Supervisor (10.3ms) pid: 322, hostname: “d8dd953b1e3378”, name: “supervisor-bd0c3b685aa4090c6572”, error: “ActiveRecord::StatementInvalid Could not find table ‘solid_queue_processes’”
2024-10-21T17:32:42.204 app[d8dd953b1e3378] dfw [info] SolidQueue-1.0.0 Started Supervisor (215.5ms) pid: 322, hostname: “d8dd953b1e3378”, process_id: nil, name: “supervisor-bd0c3b685aa4090c6572”
2024-10-21T17:32:42.204 app[d8dd953b1e3378] dfw [info] rake aborted!
2024-10-21T17:32:42.204 app[d8dd953b1e3378] dfw [info] ActiveRecord::StatementInvalid: Could not find table ‘solid_queue_processes’ (ActiveRecord::StatementInvalid)
2024-10-21T17:32:42.204 app[d8dd953b1e3378] dfw [info] /usr/local/bundle/ruby/3.3.0/gems/activerecord-8.0.0.rc1/lib/active_record/connection_adapters/sqlite3_adapter.rb:512:in `table_structure’