I successfully deploy on DigitalOcean using edeliver and distillery. Note that I’m still new with elixir deployment.
After few commits I wanted to update the current release by using mix edeliver update.
Before I run mix edeliver update staging --start-deploy, I updated the version in mix.exs from 0.1.0 to 0.1.1.
Below are the logs when I run the mix edeliver update staging --start-deploy
$ mix edeliver update staging --start-deploy
EDELIVER MY_APP WITH UPDATE COMMAND
-----> Updating to revision 622916f from branch master
-----> Building the release for the update
-----> Authorizing hosts
-----> Ensuring hosts are ready to accept git pushes
-----> Pushing new commits with git to: deploy@[MY_IP_HERE]
-----> Resetting remote hosts to 622916f6ba82a176ee98cb4d6fc5dad97a4c1c09
-----> Cleaning generated files from last build
-----> Linking '/home/deploy/apps/my_app/secret/prod.secret.exs'
-----> Fetching / Updating dependencies
-----> Running npm install
-----> Compiling assets
-----> Running phoenix.digest
-----> Compiling sources
-----> Generating release
-----> Copying release 0.1.1 to local release store
-----> Copying pesta.tar.gz to release store
-----> Deploying version 0.1.1 to staging hosts
-----> Authorizing hosts
-----> Uploading archive of release 0.1.1 from local release store
-----> Cleaning release directory
-----> Extracting archive my_app_0.1.1.tar.gz into /home/deploy/apps
-----> Starting deployed release
Node on deploy@[MY_IP_HERE] was not updated. Still running version /home/deploy/apps/my_app/bin/my_app_rc_exec.sh: line 45: /home/deploy/apps/my_app/releases/0.1.0/my_app.sh: No such file or directory.
Im not sure what I did wrong after the first release.
If anyone needs any more information do ask. I would gladly provide more information.