Run the following account as the Unix account running the Mastodon instance:
RAILS_ENV=production bundle exec rails cIn the Rails shell, run the following command, replacing username with the actual local username to destroy and purge from the instance: