Elixir EXRM upgrade No /relup file found

175 Views Asked by At

Building and upgrading on Ubuntu 14.04

release 0.0.2 is already unpacked, now installing.
escript: exception error: no case clause matching
       {error,{enoent,"/home/user/user/rel/project/releases/0.0.1/relup"}}

There is no default rel/relx.config file as stated in the docs

Exrm version 1.0.8

The same thing for Distillery 0.0.9

1

There are 1 best solutions below

1
On

Did you remove the old versions? That error is saying that it can't find version 0.0.1, so it has nothing to upgrade from.

You need to leave the previous version of the exrm deployment on your server in order to upgrade.