Questions tagged [exrm]

37 questions
2
votes
1 answer

Cross platform Elixir deployment

I've created Elixir application (Slack bot) which I would like to deploy to my friend's server running Ubuntu. What's the best way to do this without having to build the application on his machine? I tried using exrm to create a package to be…
Maciej Wozniak
  • 1,174
  • 15
  • 27
2
votes
0 answers

Phoenix deployment exrm, letsencrypt freebsd

I want to deploy phoenix application to digital ocean's FreeBSD server, however I am a little bit confused with all these new technologies. I am also a newbie at deployment. I used heroku before but never "really deployed" :) So here is a list of…
almeynman
  • 7,088
  • 3
  • 23
  • 37
2
votes
1 answer

Phoenix Deployment with EXRM

I am trying to deploy a phoenix app on a Ubuntu Server with EXRM. The release runs perfectly and the website is accessible but when I ping the release it says the Node 'myapp@myhost' not responding to pings. vm.args file ## Name of the node -sname…
Robin Solanki
  • 203
  • 1
  • 8
2
votes
1 answer

EXRM - Can I set vm.args values from the config.exs file?

Somewhat related to this question - Parametrizing node name in Elixir Exrm - is there a way to dynamically set the content of the rel/vm.args file? In the title, I suggest the use of config.exs, but I'm interested in any scheme that will allow me to…
Charlie
  • 4,197
  • 5
  • 42
  • 59
2
votes
0 answers

Elixir eunit_formatters failing to compile on Ubuntu

Running mix deps.compile I get the following output: ==> eunit_formatters (compile) Compiling src/eunit_progress.erl failed: src/eunit_progress.erl:none: undefined parse transform 'eunit_striptests' ERROR: compile failed while processing…
mgwidmann
  • 616
  • 4
  • 13
2
votes
2 answers

phoenix server fails after being built with `mix release`

I have a simple phoenix application, and I tried to deploy it using exrm. The application works fine when I run it using mix phoenix.start But after building it using mix release (which finishes without error), running the executable returns an…
Uri Agassi
  • 36,848
  • 14
  • 76
  • 93
1
vote
0 answers

Elixir: exrm upgrade kills worker

I have created a very basic Elixir supervisor and worker, to test hot code reloading feature of Erlang VM. Here is the supervisor: defmodule RelTest do use Application # See http://elixir-lang.org/docs/stable/elixir/Application.html # for…
vfsoraki
  • 2,186
  • 1
  • 20
  • 45
1
vote
1 answer

mix release crashing with exception

Setting up a new build/release process that uses Travis CI. When I try to create the release after tests pass I am getting a crash. Command: mix release --verbosity=verbose Error: ===> Provider successfully run: resolve_release ===> Running provider…
ascrookes
  • 433
  • 5
  • 12
1
vote
1 answer

Is there a way to make :dbg available in exrm releases?

When I run my application in my dev environment with iex -S mix phoenix.server I am able to use :dbg.tracer to look into my code. But when I build an exrm release and run it with bin/myapp console When I try to use :dbg.tracer it tells me "module…
Matt
  • 84,419
  • 25
  • 57
  • 67
1
vote
1 answer

exrm fails due to unreachable_package

First time trying out exrm. Build failing because unreachable_package. Can't seem to find what package is the issue. Any insight into where I should be looking would be much appreciated. ===> Provider successfully run: app_discover ===> Running…
davidj
  • 80
  • 4
1
vote
1 answer

phoenix framework deployment issue

I am trying to deploy a Phoenix app using exrm and conform. Testing the release on local Ubuntu works. But when i run the same on server there is failure. I am not able to understand the exact cause. {error_logger,{{2016,1,30},{7,45,44}},"Protocol:…
pra
  • 343
  • 1
  • 3
  • 16
1
vote
1 answer

Traceback when building an exrm release of a Phoenix app

After SCP-ing my Phoenix app dir from my Macbook to my Fedora VM, I try to build a production exrm release but an exception is raised: ==> Building release with MIX_ENV=prod. ==> Generating relx configuration... ==> Generating sys.config... ==>…
saturdayplace
  • 8,370
  • 8
  • 35
  • 39
1
vote
1 answer

mix release fails on missing elixir appup file

I have a simple website written in elixir/phoenix. I did some changes today and wanted to deploy it to production. I pushed my repo, pulled it on the production server and built a release with: MIX_ENV=prod mix release and it failed... So I ran it…
1
vote
1 answer

Can't read phoenix config entries after creating a release with exrm

I'm trying to deploy my Elixir/Phoenix Application with exrm. This works fine except that I'm not able to read some config entries defined in config/config.exs when starting the app via the release "binary". My config/config.exs locks like this (I…
Mark Schmidt
  • 143
  • 5
0
votes
1 answer

How to correctly deploy Elixir/Phoenix program to Windows?

I'm looking for advice on how to deploy and run an elixir/phoenix program on Windows. I've used Distillery, however, it worked with mix release, but there are no commands available for command prompt. Every suggested command such as…
microleb
  • 1
  • 3