BarelyFunctional
Continuing on from another recent post of mine where I was helped to fix a Phoenix 1.3 app use edeliver to build it (thank you), I’m now finding I can start the production server, but can’t see the app.
Here’s what I’ve done/checked:
- It runs locally on my mac on
port 4000 - I’m building and hosting it on the same server that has erlang installed
- Just to be sure, I’ve tried building it with and without the erlang runtime
It’s behind an nginx reverse proxy server that hasn’t changed in settings since previously successfully built/deployed/ran a Phoenix 1.2 app on the same server.
I’m trying to understand how to read the logs in /var/log/ to see if the site is working.
Where do I start?
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 11 to 20- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
BarelyFunctional
Thanks Nobbz, I should have included the
config/prod.exs, sorry. I’ve updated my latest post with it. However, as noted in an earlier post, uncommentingconfig :phoenix, :serve_endpoints, trueor
config :phx1p3, Phx1p3Web.Endpoint, server: truemakes no difference.
I’ll get back to you with
netstat -lnptor the equivalent soon.NobbZ
I only skimmed edelivers documentation, but whats the value of your
MIX_ENV?https://github.com/bitwalker/distillery/blob/master/docs/Common%20Issues.md#why-do-i-have-to-set-both-mix_env-and---env
Go on your server and try to connect to your port from
dev.exsvia curl, lynx, wget, whatever. If that works, try to rebuild and redeploy usingMIX_ENV=prod.jesse
Instead of just uncommenting those lines, try putting it in the config block like so instead.
BarelyFunctional
Thanks jesse,
I’ve just tried that now and I’m getting this error - a new one that I haven’t seen before. I’m feeling jinxed!
mix edeliver build release production --verbosejesse
Have you run
mix release.inityet?BarelyFunctional
Hey jesse,
Yeah, I ran it and it created the config.exs… which didn’t work the first time, so I’ve re initialised distillery with
$ mix release.initand I’m getting the same error.
jesse
Can you post your rel/config.exs?
BarelyFunctional
Thanks jesse,
$ cat rel/config.exsI’ve also tried setting the default release (as per my config posted earlier) with the following line changed
from:
default_environment: Mix.env()to:
default_environment: :prodjesse
What happens if you remove the plugin section?
href
Which version of Distillery are you running? 1.5.* has issues on FreeBSD.