mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
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
This commit is contained in:
parent
dcb258b2c0
commit
47d5c7b4e1
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue