Skip to content

@dariusk dariusk released this Mar 4, 2020

Changes this release:

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 then apt install nodejs
  • Back up your database: pg_dump -Fc -U postgres postgres > name_of_the_backup.dump
  • Install dependencies: bundle install and yarn 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
Assets 2
You can’t perform that action at this time.