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
1
vote
1 answer

Edeliver failing to start release

When running mix edeliver version production locally it fails with the following output EDELIVER MYAPP WITH VERSION COMMAND -----> getting release versions from production servers production node: user : app_user host : my_app path …
the_dow
  • 70
  • 1
  • 7
1
vote
3 answers

Build upgrade release with edeliver and distillery

Versions:(both build and production systems are same) Elixir: 1.4.0 OS: Ubuntu 14.04 LTS Distillery config: use Mix.Releases.Config, default_release: :default, default_environment: :prod environment :dev do set dev_mode: true set…
1
vote
1 answer

Why to specify BUILD_HOST?

When deploying to multiple nodes, shouldn't we build the project on each node? why specifying BUILD_HOST in config file?
simo
  • 23,342
  • 38
  • 121
  • 218
1
vote
2 answers

`mix edeliver build release` push outdated code to build server when running in GitLab CI runner

I am trying to configure my GitLab CI to automatically build my Elixir app and create new release each time when it succeed on master branch. However whenever it comes to deployment it fails due to an old Git repository on build server. My…
Hauleth
  • 22,873
  • 4
  • 61
  • 112
1
vote
1 answer

Edeliver - Impossible to access on port 4000 after successful deploy

I'm trying to deploy a simple phoenix app with edeliver. Yesterday after many struggle it worked. Anyway, today I worked on it a bit and tried to release a new version: mix edeliver build release --branch=production # looks fine mix edeliver deploy…
Jeremie Ges
  • 2,747
  • 3
  • 22
  • 37
0
votes
1 answer

Mix edeliver doesn't seem to recognize updates to my mix.exs file

I just updated Elixir on my application and I’m trying to use the command mix edeliver build release --branch="$CURRENT_BRANCH" --auto-version=build-date+build-time+git-branch+git-revision to build a release, but it keeps telling me my mix.exs file…
0
votes
0 answers

Unable to deploy phoenix with edeliver which throws an compile_env/4 error

I am trying to deploy the app with edeliver. However during the .... I get the following error. Not sure what is it actually means. Though in the dev environment it works fine. mix compile - Successful iex -S mix phx.server - I can serve the api…
tmariaz
  • 57
  • 1
  • 5
0
votes
1 answer

Upgrading Elixir project with Edeliver error: {:no_matching_relup, '0.1.0+35132c2', '0.1.0+ba8eb26'}

I am trying to upgrade my Elixir application with edeliver upgrade, but an error appears: {:no_matching_relup, '0.1.0+35132c2', '0.1.0+ba8eb26'} In cmd: mix edeliver upgrade production --verbose --with=0.1.0 AUTO_VERSION is set to…
Vadym
  • 149
  • 1
  • 9
0
votes
0 answers

edeliver can't receive ping from deployed node

I have an application that works and can be deployed just fine. I'm trying to connect from one Node to another on a different machines, and for that I needed to change the -name property from myapp@127.0.0.1 to myapp@1.1.1.1 (the real IP). I can…
David Magalhães
  • 750
  • 4
  • 10
  • 27
0
votes
0 answers

Application Starting with error and not showing migration status

Environment Phoenix version: 1.3.4 Ecto version: 2.1 Edeliver version: edeliver v1.4.5 Elixir version: 1.6.3 Build tool and version (distillery): distillery v2.0.10 Operating system (on build / deploy hosts): Ubuntu 16.04.4 x64 Are you using an…
Edgar Pino
  • 51
  • 3
0
votes
2 answers

Phoenix Edeliver release failure at npm install

I am trying to release a Elixir, Phoenix app to digital ocean server with distillery and edeliver. Whenever I do the following command, I get the error. mix edeliver build release --verbose Error Message A remote command failed…
0
votes
0 answers

Error when migrating database using edeliver

I've always used edeliver to deploy my apps, but on my new app, I'm getting a weird error. When I run mix edeliver migrate production, I'm getting this response: EDELIVER MYPROJECT WITH MIGRATE COMMAND -----> migrateing production…
0
votes
1 answer

Deploying phoenix with edeliver fails at migrate

When I run mix edeliver migrate production I get this error: production node: user : deploy host : myIP path : /home/deploy response: RPC to 'bot@127.0.0.1' failed: {'EXIT', {#{'__exception__' =>…
Nema Ga
  • 2,450
  • 4
  • 26
  • 49
0
votes
1 answer

How to make edeliver write pid of started phoenix server?

I deploy phoenix application with edeliver to my server. In case of sudden server restart I want my phoenix-app to be revived automatically and monitored. It seems that systemd tool can help me, but it requires phoenix pid file to be stored…
Maxc
  • 23
  • 4
0
votes
1 answer

edeliver -- scp is unable to find a build

Until recently, "edeliver" has worked well, but now it throws this error: I have this error when deploying [skipped] ==> Tarball updated! ==> Release successfully built! You can run it in one of the following ways: Interactive:…
Incerteza
  • 32,326
  • 47
  • 154
  • 261