Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deply on fly.io fails #12

Open
kimko opened this issue Aug 14, 2022 · 4 comments
Open

deply on fly.io fails #12

kimko opened this issue Aug 14, 2022 · 4 comments

Comments

@kimko
Copy link

kimko commented Aug 14, 2022

I can't deploy a project I created with this template to fly.io.
Another project I created with mix phx.new deploys just fine.

love the petal components. Please keep up the great work!

more details and cross-posting here:
https://community.fly.io/t/elixir-deploy-fails-phonix-petal-boilerplate/6412

@mplatts
Copy link
Contributor

mplatts commented Aug 15, 2022

Fly can be a bit temperamental ... many times I've just tried to deploy again and the error disappears. Though in saying that there could actually be a problem - but maybe try deploying at least 3 times over a period of an hour and if that doesn't work I'll dig into it.

@kimko
Copy link
Author

kimko commented Aug 16, 2022

Hi!
Thanks for the response. Yeah. I tried several times over several days before I started the thread that I shared above. Sombody responded in the community thread to day. The /rel folder was missing. I generated but the deploy still fails.

FYI:
I can deploy a "generic" phoenix project just fine. IE

  1. mix phx.new fo
  2. cd fo
  3. fly launch

@anzaika
Copy link

anzaika commented Aug 30, 2022

I have been trying to deploy vanilla petal_boilerplate the whole day with no success.

Strangely nothing shows up in logs, and spinning up a mix release locally in an identical environment works just fine.

I will try to dig deeper over the coming days.

@mplatts
Copy link
Contributor

mplatts commented Aug 30, 2022

I don't have time to do it right now, but if someone could:

  1. create a new project with phx.new and then git init it
  2. in finder select all the files in this boilerplate, copy them and then go to the folder of the new project and paste (overriding)
  3. look at the git changes for anything that might be spoiling the release - probably something in prod.exs or runtime.exs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants