"module Mix is not available" in email test on OTP build
Current behavior
When executed ./pleroma_ctl email test
, a test email is sent but the following error message is output.
/ $ /opt/pleroma/bin/pleroma_ctl email test
** (UndefinedFunctionError) function Mix.shell/0 is undefined (module Mix is not available)
Mix.shell()
lib/mix/tasks/pleroma/email.ex:21: Mix.Tasks.Pleroma.Email.run/1
(stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
My mailbox had a test email from pleroma. I think the error is only a CLI message.
I find the line in question, but I have no experience with Elixir.
Thankyou.
Environment
- version: 1.1.50-2508-gc27d1d65-develop
- platform: docker, OTP
- mail service: AmazonSES
Edited by aries