Situation:
When attempting to start a brand new phoenix project on Ubuntu Server
with the command mix phoenix.server
we see the following output:
==> mime
Compiling 1 file (.ex)
Killed
The server fails to start but gives us no indication of why... The commands that preceded this were:
Installation of Erlang/Elixir/Phoenix on Ubuntu Server
wget https://packages.erlang-solutions.com/erlang-solutions_1.0_all.deb
sudo dpkg -i erlang-solutions_1.0_all.deb
sudo apt-get update
sudo apt-get install build-essential erlang elixir erlang-base-hipe erlang-dev
mix local.hex
mix archive.install https://github.com/phoenixframework/archives/raw/master/phoenix_new.ez
Did I miss a step here? (was I supposed to install anything
else?)
Phoenix Project Creation
mix phoenix.new --no-ecto --no-brunch phoenix_app
* creating phoenix_app/config/config.exs
* ...
Fetch and install dependencies? [Yn] Y
* running mix deps.get
* ...
cd phoenix_app
mix phoenix.server
Server Details
- Phoenix v1.2.1
- IEx (Elixir) 1.4.2
- Mix 1.4.2
- Erlang/OTP 19
- OS: Ubuntu 16.04.2 LTS
- Host: Digital Ocean
Just trying to figure out if this is an environment setup issue or if I have done something wrong. Hoping someone else has come across this Killed thing before and can help! Unable to find it in the Phoenix docs ...
iRealise this is a "noob" question, the context is I'm trying to do a deployment from scratch using Distillery following these instructions, but can't get past the basics so wondering if this killed issue is a thing...?