Open bparrillo opened 2 years ago
I have same problem too.
Its may be something with user permissions if I run this command in build directory:
MIX_ENV="prod" LINK_SYS_CONFIG="" LINK_VM_ARGS="" APP="myApp" AUTO_VERSION="" BRANCH="master" SKIP_RELUP_MODIFICATIONS="" RELUP_MODIFICATION_MODULE="" USING_DISTILLERY="true" mix distillery.release --verbose --env="prod" --name="myApp"
with sudo command, release will build successfully.
With OTP 25 it seems like the release_handler ( https://www.erlang.org/blog/my-otp-25-highlights/ ) has been changed. This induces a permissions error, accessing from the wrong directory potentially.
same for me
same issue. Its a real pain.
With OTP 25 it seems like the release_handler ( https://www.erlang.org/blog/my-otp-25-highlights/ ) has been changed. This induces a permissions error, accessing from the wrong directory potentially.
Did you ever find out what caused the permission error?
Steps to reproduce
Running a deployment with Edeliver. Just updated to erlang OTP 25. Tried to build the release and it breaks.
Verbose Logs
MIX_ENV=prod env MIX_ENV=prod mix edeliver build release --branch=master --verbose
Description of issue
Thanks in advance!