Hometown v1.0.3 (Mastodon 3.1.2)
Changes this release:
- updating to Mastodon 3.1.2, which includes a security fix so we recommend upgrading as soon as you can
This release is up to date with Mastodon v3.1.2, so please check there for individual patch notes if you're upgrading from a lower Mastodon version. If you're installing Hometown for the first time, please follow the instructions on the wiki. You should have Mastodon v3.1.2 installed.
Upgrading from v1.0.3+3.0.1
If you already have Hometown installed and are upgrading from v1.0.3+3.0.1, do the following:
git remote update && git checkout v1.0.3+3.1.2
- Make sure to update Node.js to version 10 or higher if you're not already on 10+. To upgrade Node.js, run
curl -sL https://deb.nodesource.com/setup_10.x | bash -
and thenapt install nodejs
- Back up your database:
pg_dump -Fc -U postgres mastodon_production > name_of_the_backup.dump
- Install dependencies:
bundle install
andyarn install
- Run database migrations:
RAILS_ENV=production bundle exec rails db:migrate
- Precompile the assets:
RAILS_ENV=production bundle exec rails assets:precompile
- Restart all Mastodon processes