# Not able to login at mastodon after installation

**URL:** https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930
**Category:** Support apps
**Tags:** mastodon, install, english
**Created:** [November 10, 2024, 8:34pm UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930 "2024-11-10T20:34:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![raulmagdalena](https://forum.yunohost.org/user_avatar/forum.yunohost.org/raulmagdalena/32/10695_2.png) [@raulmagdalena](https://forum.yunohost.org/u/raulmagdalena)
#### Post date: [November 10, 2024, 8:34pm UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/1 "2024-11-10T20:34:54Z")

</div>

**What type of hardware are you using** : Virtual machine  
**What YunoHost version are you running** : 12.0.6  
**What app is this about** : Mastodon

### Describe your issue

After install Mastodon, previously setting that my yunohost admin user is the mastodon admin user, when i try the first attempt to log in, i’m redirected to the account settings, where there are two alerts. One says, in yellow, that the account "is on pending review by our staff, you will receive an email, bla, bla) and the second, in green, that my account is fully operative. I can not navigate to the administration page or back to the main page, seems that it is mandatory to modify the password at the first login, but i am unable to do that. Always get the error message that the user current password is wrong, which is not (the password manager stores it)

### Share relevant logs or error messages

none

---

<div class="post-metadata">

### Author: ![onenemy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/onenemy/32/10918_2.png) [@onenemy](https://forum.yunohost.org/u/onenemy)
#### Post date: [November 16, 2024, 4:27am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/2 "2024-11-16T04:27:31Z")

</div>

Same issue here. Fresh install.

Edit: Figured it out. Need to SSH into server.

cd /var/www/mastodon/live && sudo -u mastodon RAILS\_ENV=production PATH=/opt/rbenv/versions/mastodon/bin bin/tootctl accounts approve “accountnameherewithoutquotes”

---

<div class="post-metadata">

### Author: ![raulmagdalena](https://forum.yunohost.org/user_avatar/forum.yunohost.org/raulmagdalena/32/10695_2.png) [@raulmagdalena](https://forum.yunohost.org/u/raulmagdalena)
#### Post date: [November 16, 2024, 6:07am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/3 "2024-11-16T06:07:49Z")

</div>

it works, thanks

---

<div class="post-metadata">

### Author: ![onenemy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/onenemy/32/10918_2.png) [@onenemy](https://forum.yunohost.org/u/onenemy)
#### Post date: [November 16, 2024, 6:24am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/4 "2024-11-16T06:24:52Z")

</div>

Welcome.

Unsure why the documentation doesn’t even reference this as something you need to do once you install.

I had to scour the forums, official documentation and Yunohost documentation just to put peices together to get the solution I did.

Bug, perhaps? I hope so, this was frustrating to figure out. Lol.

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [November 16, 2024, 8:08am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/5 "2024-11-16T08:08:15Z")

</div>

> [@onenemy](#):
>
> Unsure why the documentation doesn’t even reference this as something you need to do once you install.

This is usually when you step in and propose a PR for the package so that it benefits the entire community. 😀

---

<div class="post-metadata">

### Author: ![onenemy](https://forum.yunohost.org/user_avatar/forum.yunohost.org/onenemy/32/10918_2.png) [@onenemy](https://forum.yunohost.org/u/onenemy)
#### Post date: [November 16, 2024, 8:21am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/6 "2024-11-16T08:21:24Z")

</div>

Oh, I don’t know how to code, just how to find things that don’t work and look for information.

Unless you mean a PR for the documentation…

---

<div class="post-metadata">

### Author: ![ericg](https://forum.yunohost.org/user_avatar/forum.yunohost.org/ericg/32/1543_2.png) [@ericg](https://forum.yunohost.org/u/ericg)
#### Post date: [November 16, 2024, 8:55am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/7 "2024-11-16T08:55:09Z")

</div>

> Unless you mean a PR for the documentation…

Yes, that’s what I meant, contributing to the doc.  
(We must not forget that the app packager does not always use the app in real life… therefore, your input as a user is valuable)

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 1, 2024, 8:55am UTC](https://forum.yunohost.org/t/not-able-to-login-at-mastodon-after-installation/31930/8 "2024-12-01T08:55:41Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
