Does anyone know how to #increase the #filesize upload for #mastodon ?

I've changed the sizes in /live/app/models/media_attachment.rb and restarted the instance but to no prevail.

Then I thought that compiling was the answer by entering "RAILS_ENV=production bundle exec rails assets:precompile", but this also didn't work.

Pls to #help

@fox Did you restart the services after making the change?

@kevin What i have done is the following:

EDIT: /app/models/media_attachment.rb

CHANGE:
IMAGE_LIMIT = 25.megabytes
VIDEO_LIMIT = 100.megabytes

DO:
# su - mastodon
# cd live
# RAILS_ENV=production bundle exec rails assets:precompile
# exit
# systemctl restart mastodon-sidekiq
# systemctl reload mastodon-web