r/Mastodon • u/Alternative_Sound234 • 3h ago
Servers Updated to 5.0 and changed to 5,000 toot
I wanted to share in case any new or small or whomever wanted to test/try it for themselves.
You can change your toot from the default 500 to 5000 this way.
#Change from 500 to 5000
nano /home/mastodon/live/app/validators/status_length_validator.rb
#Recompiles assets
RAILS_ENV=production bundle exec rails assets:precompile
#Restart Mastodon services
systemctl restart mastodon-sidekiq
systemctl restart mastodon-streaming
systemctl restart mastodon-web



#Bonus - If you want to allow users to export without waiting 7 days
nano /home/mastodon/live/app/policies/backup_policy.rb
#Recompiles assets
RAILS_ENV=production bundle exec rails assets:precompile
#Restart Mastodon services
systemctl restart mastodon-sidekiq
systemctl restart mastodon-streaming
systemctl restart mastodon-web

