Error on running the config generator
I am getting:
root@pub:/opt/pleroma# su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql"
/opt/pleroma/releases/1.0.0-7-g9504544d/../../erts-10.3.5.2/bin/erl: 12: exec: /opt/pleroma/erts-10.3.5.2/bin/erlexec: Exec format error
At that step following https://docs.pleroma.social/otp_en.html installation instructions.