Questions tagged [relx]

A release assembler for Erlang.

Relx assembles releases for an Erlang/OTP release. Given a release specification and a list of directories in which to search for OTP applications it will generate a release output. That output depends heavily on what plugins available and what options are defined, but usually it is simply a well configured release directory.

The release-specification-file is optional but otherwise contains additional specification information for releases.

22 questions
1
vote
2 answers

How to specify directory for mnesia in cowboy application?

Is there ways to specify path to schema in cowboy app? Maybe it's possible to set in my_app.app.src or any config file?
Don Lino
  • 116
  • 9
1
vote
1 answer

Startup error running erlang release built with relx

I am familiar with building erlang releases with rebar. Now I am trying out packaging releases with relx. I build the code with erlang.mk. I have a relx.config that lists the applications I want to bundle. The command ./relx -o…
Ivan Uemlianin
  • 953
  • 7
  • 21
0
votes
1 answer

Cannot expand $ERTS_LIB_DIR in bootfile

I created a release using rebar3 but I have issues running/booting the app on my remote server. When i run the following command: $> /home/app/releases/0.0.1# erl -boot start I get the following error: {"init terminating in do_boot",'cannot expand…
Oladipo Olasemo
  • 2,010
  • 24
  • 31
0
votes
1 answer

Erlang relx: add appmon but told application already started

I try add appmon in ranch example, here is my relx.config file {paths, ["/usr/local/lib"]}. {release, {tcp_echo_example, "1"}, [ tcp_echo, appmon ]}. {extended_start_script, true}. After generated, I start application succeed but failed…
linbo
  • 2,393
  • 3
  • 22
  • 45
0
votes
2 answers

Error when start erlang application (relx) release

When I try to start erlang release prepared by relx it crashes with reason: {"init terminating in do_boot",{badarg,[{erl_prim_loader,check_file_result,3,[]},{init,get_boot,1,[]},{init,get_boot,2,[]},{init,do_boot,3,[]}]}} Directory listing: …
nikit
  • 153
  • 8
0
votes
2 answers

Erlang relx -- What are all the output files and how do I use them?

In the spirit of deeper understanding of OTP, I've created a minimalist, bare bones application and packaged it with erlang.mk and relx. All works as advertised. But some critical information seems missing from the relx docs and tutorials, e.g.,…
Lloyd R. Prentice
  • 4,329
  • 3
  • 21
  • 31
0
votes
1 answer

Permission denied when using relx for building Cowboy Quick start project

I'm trying to make the Cowboy Quick start project, but I get Permission denied for relx. Even if I run it with sudo make. Any solution for this? sudo make Password: APP cowlib.app.src APP ranch.app.src APP cowboy.app.src APP …
Jonas
  • 121,568
  • 97
  • 310
  • 388
1
2