Hey everyone,
I’ve encountered a problem which I’m having some trouble solving. I’m working on an older Elixir/Phoenix codebase that uses EXRM for releases and I discovered yesterday that the migration task isn’t working in AWS. I’ve logged into the EC2 instance and from there have connected to a docker container where the release folders are. When I run this command: app/bin/backend command Elixir.Release.Tasks migrate
I get the following error:
Usage: backend COMMAND [ARGS]
The known commands are:
start Starts the system
start_iex Starts the system with IEx attached
daemon Starts the system as a daemon
daemon_iex Starts the system as a daemon with IEx attached
eval "EXPR" Executes the given expression on a new, non-booted system
rpc "EXPR" Executes the given expression remotely on the running system
remote Connects to the running system via a remote shell
restart Restarts the running system via a remote command
stop Stops the running system via a remote command
pid Prints the operating system PID of the running system via a remote command
version Prints the release name and version to be booted
ERROR: Unknown command command
I suspect that I didn’t install everything for my application correctly but I’m flummoxed with how to fix it. Any help would be appreciated.
Nick