Questions tagged [edeliver]

Edeliver is based on deliver and provides a bash script to build and deploy Elixir and Erlang applications and perform hot-code upgrades.

Edeliver is based on deliver and provides a bash script to build and deploy Elixir and Erlang applications and perform hot-code upgrades.

The erlang releases are built on a remote host that have a similar configuration to the deployment target systems and can then be deployed to several production systems.

This is necessary because the release contains the full erts (erlang runtime system), all dependencies (erlang or elixir applications), elixir runtime, native port drivers and your own erlang/elixir application(s) in a standalone embedded node.

Official GitHub: https://github.com/boldpoker/edeliver

32 questions
12
votes
1 answer

How to avoid Edeliver deployment error: "vm.args: No such file or directory"?

Context We are trying to use edeliver to deploy a "Hot Upgrade" of a Phoenix Web Application to a remote Virtual Machine instance. Our aim is to build an "upgrade" version of the app each time so that the app can be "hot" upgraded in production…
nelsonic
  • 31,111
  • 21
  • 89
  • 120
9
votes
1 answer

Edeliver Starting Phoenix/Elixir App on Random TCP Port

We are trying to deploy our Phoenix Web App to a Linux VM (in our case on Azure) using edeliver We have deployed a "basic" Blog App to Azure using edeliver and documented the steps:…
nelsonic
  • 31,111
  • 21
  • 89
  • 120
6
votes
3 answers

Read files in Phoenix in production mode

I've Phoenix app (I created it with --api flag) that has some additional data required to process requests that I store in priv/data/filters.csv. So it works fine in dev mode, I can read this file like: File.stream!("priv/data/filters.csv"), but…
BitOfUniverse
  • 5,903
  • 1
  • 34
  • 38
5
votes
2 answers

Edeliver/Distillery fails with "bash: line 10: mix: command not found" error?

I get this error when I run mix edeliver build release production --verbose A remote command failed on: deploy@80.111.111.80 But when I log into the server, Elixir (and thus Mix) seem to be installed fine. ssh…
Mason
  • 111
  • 6
4
votes
3 answers

Could not invoke task "distillery.release"

I'm working through a couple of different How-Tos (the main in the project plus several via Google search) for edeliver to deploy code but I can't find a solution to this Could not invoke task "distillery.release": 1 error found! problem: $ mix…
wintermeyer
  • 8,178
  • 8
  • 39
  • 85
4
votes
1 answer

hostname for creating erlang cluster

I am trying to build a cluster using amazon EC2 instances. Do I have to set the hostname of each node to what is listed in the .hosts.erlang file? Currently, .hosts.erlang for each node…
simo
  • 23,342
  • 38
  • 121
  • 218
2
votes
1 answer

Plugin pc not available

When I try to build my app at server as: APP="my_app" MIX_ENV="prod" AUTO_VERSION="" BRANCH="master" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix do clean, compile I get this error: ===> Plugin pc not…
simo
  • 23,342
  • 38
  • 121
  • 218
2
votes
1 answer

Getting task release could not be found for edeliver

I have an elixir application with 3 umbrella projects. I am trying to automate their releases via distellary and edeliver. I am able to create a release by running this command: mix release --verbose --env="production" --name="se_example" However…
Meraj Rasool
  • 651
  • 2
  • 12
  • 23
2
votes
1 answer

Issue setting production port number - (RuntimeError) expected the PORT environment variable to be set

I'm deploying on aws with edeliver. The deploys run fine, but when I try to access the site in the console with curl localhost:8888, I get a connection refused error. If I try to start the app with ./rel/bin/app_name console, I get a (RuntimeError)…
Peter R
  • 3,185
  • 23
  • 43
2
votes
1 answer

edeliver with distillery: how to setup `start` command to use systemctl

I am deploying the Elixir project to remote using edeliver backed up by distillery. I also successfully created the systemd.service file that starts, stops, restarts etc the release from the command line. But the mix edeliver start production…
Aleksei Matiushkin
  • 119,336
  • 10
  • 100
  • 160
2
votes
1 answer

Edeliver: tput: No value for $TERM and no -T specified

I'm trying to do automatic deployment in Jenkins machine with edeliver to our production. There seems to be something wrong with my build machine. mix edeliver build release --verbose --branch=70818f1f707545aaec17e0ca3daa035e7eea4746 tput: No…
1
vote
1 answer

Why edeliver generates incorrect sys.config on restart

My goal is to add a new application environment variable to an Elixir/Phoenix app, which is released with the distillery and deployed with the edeliver. Because I've added a new value to the prod.secret.exs file, I'm expecting the new env variable…
vsushkov
  • 2,445
  • 1
  • 19
  • 28
1
vote
3 answers

How to deploy elixir app from Windows dev machine to Ubuntu server

I've developed an app on Windows machine and I need to deploy it to Ubuntu 18.04 server. The tools I'd like to use are distillery and edeliver. So can I just build the release with distillery on my Windows machine or should I build it on the…
AndreyKo
  • 1,421
  • 2
  • 11
  • 25
1
vote
0 answers

Edeliver Phoenix release fails

I'm trying to release a phoenix application with edeliver following the steps explained here. I have browsed the internet and found some people having the same problem, but no matter what I do, I keep on getting the same error below. I can login…
1
vote
3 answers

Mix task "release" not found error

I was setting up an Ubuntu 16.04 server for my Elixir/Phoenix application with edeliver when edeliver failed with the error message ** (Mix) The task "release" could not be found along with a exit code of 1. If I go to my build server, git pull my…
1
2 3