You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new to Elixir and Phoenix. Been trying to deploy to DO and can't get past this point. I've see Issue #39 which sounds like my issue even though I'm using v1.1.1. The tar.gz file is being created in the rel folder rather than in the _build folder.
I get the following message:
...
Generated paul app
==> Assembling release..
==> Building release paul:0.0.1 using environment prod
==> Including ERTS 8.3 from /usr/lib/erlang/erts-8.3
==> Packaging release..
==> Release successfully built!
You can run it in one of the following ways:
Interactive: rel/paul/bin/paul console
Foreground: rel/paul/bin/paul foreground
Daemon: rel/paul/bin/paul start
** (File.CopyError) could not copy from "/home/deploy/paul/_build/prod/rel/paul/releases/0.0.1/paul.tar.gz" to "/home/deploy/deployments/paul/paul.tar.gz": no such file or directory
(elixir) lib/file.ex:524: File.cp!/3
lib/gatling/tasks/deploy.ex:109: Mix.Tasks.Gatling.Deploy.copy_release_to_deploy/1
lib/gatling/tasks/deploy.ex:201: Mix.Tasks.Gatling.Deploy.call/2
lib/gatling/tasks/deploy.ex:35: Mix.Tasks.Gatling.Deploy.deploy/1
(mix) lib/mix/task.ex:300: Mix.Task.run_task/3
(mix) lib/mix/cli.ex:58: Mix.CLI.run_task/2
rel/config.exs:
use Mix.Releases.Config,
# This sets the default release built by `mix release`
default_release: :default,
# This sets the default environment used by `mix release`
default_environment: :dev
# For a full list of config options for both releases
# and environments, visit https://hexdocs.pm/distillery/configuration.html
# You may define one or more environments in this file,
# an environment's settings will override those of a release
# when building in that environment, this combination of release
# and environment configuration is called a profile
environment :dev do
set dev_mode: true
set include_erts: false
set cookie: :"X5y=yyPyygmAByM~iONz^Ti`|vyY7(m56.U_Y$w:eJTyDjYqZX$+vKNA?u3xvHV<"
end
environment :prod do
set include_erts: true
set include_src: false
set cookie: :"X5y=yyPyygmAByM~iONz^Ti`|vyY7(m56.U_Y$w:eJTyDjYqZX$+vKNA?u3xvHV<"
end
# You may define one or more releases in this file.
# If you have not set a default release, or selected one
# when running `mix release`, the first release in the file
# will be used by default
release :paul do
set version: current_version(:paul)
end
Hi,
I'm new to Elixir and Phoenix. Been trying to deploy to DO and can't get past this point. I've see Issue #39 which sounds like my issue even though I'm using v1.1.1. The tar.gz file is being created in the rel folder rather than in the _build folder.
I get the following message:
rel/config.exs:
Elixir Version
Thank you for your help!
Best,
Paul
The text was updated successfully, but these errors were encountered: