Mastodon/Setup: Difference between revisions

551 bytes added ,  23:22, 30 November 2022
no edit summary
(Add services list)
No edit summary
Line 85: Line 85:




== Setting up an admin account from CLI w/ email confirmation ==
Note that you need to be logged in as the mastodon user for this to work.
<OPTIONAL> If you did not create that user account and don't know the password, then you should do the following:
sudo su - mastodon
The following command will work if the username and email have been registered from the UI. Very useful if SMTP server hasn't been setup yet.
cd /home/mastodon/live
RAILS_ENV=production ./bin/tootctl accounts modify <username> --role Admin --email <email-address> --confirm
* [[Category:Guide]]
* [[Category:Guide]]
* [[Category:Mastodon]]
* [[Category:Mastodon]]