errors while installing
Hi. I'm trying to install Pleroma on a Debian based distro following these instructions, and I'm stuck at
# su pleroma -s $SHELL -lc "./bin/pleroma_ctl instance gen --output /etc/pleroma/config.exs --output-psql /tmp/setup_db.psql"
I get
!!! /etc/pleroma/config.exs not found! Please ensure it exists and that PLEROMA_CONFIG_PATH is unset or points to an existing file
am them prompted to answer questions, and then after answering "What is the user used to connect to your database?" get
13:54:13.530 [error] Unable to load crypto library. Failed with error:
":load_failed, Failed to load NIF library /opt/pleroma/lib/crypto-4.4.2/priv/lib/crypto: 'libcrypto.so.1.1: cannot open shared object file: No such file or directory'"
OpenSSL might not be installed on this system.
13:54:13.541 [warn] The on_load function for module crypto returned:
{:error, {:load_failed, 'Failed to load NIF library /opt/pleroma/lib/crypto-4.4.2/priv/lib/crypto: \'libcrypto.so.1.1: cannot open shared object file: No such file or directory\''}}
** (UndefinedFunctionError) function :crypto.strong_rand_bytes/1 is undefined (module :crypto is not available)
:crypto.strong_rand_bytes(64)
(pleroma) lib/mix/tasks/pleroma/instance.ex:137: 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 package openssl
is installed.