From 47d5c7b4e10a5dfbea04ea9b3d8bf5e2ea580b3c Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 3 Jan 2019 12:43:02 +0100 Subject: [PATCH] Solve an installation issue ** (Mix) The task "register_user" could not be found User creation has changed: https://git.pleroma.social/pleroma/pleroma/wikis/Admin%20tasks --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index db2b8c7..d4c651d 100755 --- a/scripts/install +++ b/scripts/install @@ -201,7 +201,7 @@ chown -R "$app":"$app" "$final_path" ( cd $final_path/$app && sudo -u "$app" mix deps.get ) ( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix ecto.migrate --force ) # Add user -( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix register_user "$admin" "$admin_name" "$admin_email" "Moderator of this instance" "$admin_pass" ) +( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix plemora.user "$admin_name" "$admin_email" "$admin_pass" ) # Make user moderator ( cd $final_path/$app && sudo -u "$app" MIX_ENV=prod mix set_moderator "$admin" true )