[OTP] pleroma task cannot be executed
Unable to execute pleroma task in the OTP release with the following error.
$ bin/pleroma_ctl config migrate_to_db
** (UndefinedFunctionError) function Mix.Task.run/1 is undefined (module Mix.Task is not available)
Mix.Task.run("app.start")
lib/mix/pleroma.ex:8: Mix.Pleroma.start_pleroma/0
lib/mix/tasks/pleroma/config.ex:17: Mix.Tasks.Pleroma.Config.run/1
(stdlib) erl_eval.erl:680: :erl_eval.do_apply/6