I got the basic site up by using a mac. It still failed in the launch withfailed to reload configuration file, but a subsequent manual call of fly deploy seems to have worked anyway.
Overall, my experience with “fly.io” has been pretty lackluster.
Hi @darkmarmot. Sorry to hear you’re having a hard time with our Elixir getting started. I’m not on Windows, but other Windows users have fixed the issue of being stuck on Running Docker release generator by running mix phx.gen.release --docker first.
For macOS, could you post your output showing the error and where the failure occurred during the fly launch process? Did you do anything else before running fly deploy successfully?
Thanks for getting back to me! Here’s the full text I got on my mac leading to the error:
Preparing system for Elixir builds
Installing application dependencies
Running Docker release generator
Wrote config file fly.toml
? Would you like to deploy now? Yes
Error: failed to reload configuration file : open : The system cannot find the file specified.
Typed fly deploy after that and all seems to have worked.
Note that my friends and coworkers gave me crap for even trying to do this on Windows. I was only pursuing it as an “easier” path to assist my kids with this kind of thing.
Great!
That’s a pretty generic error message. I’d think it was referring to fly.toml, but then fly deploy wouldn’t work…
I’ll check in with some of my more seasoned colleagues, and hopefully we can figure it out, since it’s happening for you on both Windows and MacOS. Maybe posting your fly.toml file here would help.