Hi,
I am moving to Distillery and Conform for deployment, and have built the production release in a Centos VM.
I have built the production release as follows:
MIX_ENV=prod mix conform.new
MIX_ENV=prod mix conform.configure
MIX_ENV=prod mix release.init
MIX_ENV=prod mix release
and the following commands start the app fine
_build/prod/rel/app/bin/app console
_build/prod/rel/app/bin/app foreground
However, when I
_build/prod/rel/app/bin/app start
the app just fails silently, does not respond to pings and when I
_build/prod/rel/app/bin/app stop
I get the message
Node app@127.0.0.1 is not running!
I have no idea what the difference is between start
, console
and foreground
, so don’t really know where to start looking, and there’s no output to give me any idea of what might be failing.
Obviously, I can provide code examples of any of the config files, just tell me which ones you need to see to help.
Thanks
Paul