YunoHost-Apps / mastodon_ynh

Free, open-source social network for YunoHost
https://joinmastodon.org/
GNU Affero General Public License v3.0
84 stars 36 forks source link

Instance migration not possible through the WEB UI #401

Open yasoomn opened 1 year ago

yasoomn commented 1 year ago

Describe the bug

When migrating from a Mastodon server installed with Yunohost to another instance, the user is prompted for their "Handle of the new account" and "current password". Trying to move the followers this way does not work, however, the action fails with an "invalid input" message above the password field.

I suspect this has to do with Yunohost's SSO. I was able to successfully move my account to another instance when using the tootctl accounts migrate command.

Context

Steps to reproduce

  1. Install the Masotodon yunohost app
  2. Log into an account
  3. go to Configuration > Account > Account settings > Move to a different account
  4. type a username from a different instance and your Yunohost password.
  5. Click on "Move followers"

Expected behavior

The page should update, and your account should be deactivated, the users should be transferred to the new account.

Logs

I couldn't find any useful log entry, feel free to ask for further details or logs.

panomaki commented 1 year ago

Duplicate of #349? Do you have LDAP disabled and reset your Mastodon password before attempting to migrate?