gpreston

gpreston

Distillery error - Failed to archive release: _build/prod/rel/my_app/releases/RELEASES: no such file or directory

Hi all, I’m trying to push a new release of my application (to Gigalixir, but seems the problem is at the Distillery level) but having trouble getting the Distillery release to run. I haven’t touched the application in a while but upgraded to Phoenix 1.7 a while ago. Here is what my terminal says:

$ sudo MIX_ENV=prod mix distillery.release

==> Assembling release..
==> Building release my_app:0.1.0 using environment prod
==> Including ERTS 13.1.1 from /opt/homebrew/Cellar/erlang/25.1.1/lib/erlang/erts-13.1.1
==> Packaging release..
==> Failed to archive release: _build/prod/rel/my_app/releases/RELEASES: no such file or directory

I’m using sudo because when I don’t I get the error

$ MIX_ENV=prod mix distillery.release

==> Assembling release..
==> Building release my_app:0.1.0 using environment prod
==> Including ERTS 13.1.1 from /opt/homebrew/Cellar/erlang/25.1.1/lib/erlang/erts-13.1.1
==> Release failed: no match of right hand side value: {:error, :eacces}

I’m not sure what releases/RELEASES is and am having trouble finding anything about it in the Distillery docs.

I’m on macOS Ventura 13.1, using Apple Silicon. Haven’t had luck finding threads on this specific error, any help is appreciated, thanks!

Marked As Solved

rgac

rgac

Just ran into this problem myself.
Related to OTP 25.
Here’s the open ticket for this problem: THIS LIBRARY IS NOT COMPATIBLE WITH ERLANG/OTP 25 · Issue #744 · bitwalker/distillery · GitHub

Where Next?

Popular in Questions Top

Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
jaysoifer
Is there a way to rollback a specific migration and only that one ("skipping" all the other ones)? Would mix ecto.rollback -v 2008090...
New
beno
I will often find my self writing things similar to: case some_value do nil -> something() "" -> something() _ -> someth...
New
stefanluptak
Hello everybody, usually, I use a 29" ultra-wide monitor for VSCode which can easily accomodate explorer (files panel) + file with code ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
itssasanka
Hi all, Trying to get some more clarity over utc_datetime and naive_datetime for Ecto: https://hexdocs.pm/ecto/Ecto.Schema.html#module-...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

Other popular topics Top

sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52238 488
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New

We're in Beta

About us Mission Statement