pleroma_ctl arguments --listen-ip --listen-port
When using the following command to generate an instance:
su pleroma -s /bin/bash -lc '/var/www/pleroma/pleroma/bin/pleroma_ctl instance gen --force --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql --domain test41.yh.yalh.net --instance-name My_Pleroma --admin-email yalh@yh04.yh.yalh.net --notify-email yalh@yh04.yh.yalh.net --dbhost localhost --dbname pleroma --dbuser pleroma --dbpass FrrXzKmAUBUSWa4LMkjMuvFrUKPuvl --rum N --indexable Y --db-configurable Y --uploads-dir /home/yunohost.app/pleroma/storage/uploads --static-dir /home/yunohost.app/pleroma/storage/static --listen-ip 127.0.0.1 --listen-port 8095'
There is an error:
** (MatchError) no match of right hand side value: {[force: true, output: "/etc/pleroma/config.exs", output_psql: "/tmp/setup_db.psql", domain: "test41.yh.yalh.net", instance_name: "My_Pleroma", admin_email: "yalh@yh04.yh.yalh.net", notify_email: "yalh@yh04.yh.yalh.net", dbhost: "localhost", dbname: "pleroma", dbuser: "pleroma", dbpass: "FrrXzKmAUBUSWa4LMkjMuvFrUKPuvl", rum: "N", indexable: "Y", db_configurable: "Y", uploads_dir: "/home/yunohost.app/pleroma/storage/uploads", static_dir: "/home/yunohost.app/pleroma/storage/static"], [], [{"--listen-ip", nil}, {"--listen-port", nil}]}
(pleroma) lib/mix/tasks/pleroma/instance.ex:40: Mix.Tasks.Pleroma.Instance.run/1
(stdlib) erl_eval.erl:680: :erl_eval.do_apply/6
(elixir) lib/code.ex:240: Code.eval_string/3
The error is not present when removing --listen-ip 127.0.0.1 --listen-port 8095
And there is still and error when only using --listen-ip 127.0.0.1
or --listen-port 8095
Edited by yalh76