Skip to content

Security Update! Hometown v1.0.5 (Mastodon 3.4.6)

Compare
Choose a tag to compare
@dariusk dariusk released this 04 Feb 04:49
· 2295 commits to hometown-dev since this release
ee513a6

This release brings us the security patches in v3.4.6 (plus all the nice stuff from releases between 3.4.0 and this one, too).

Changes this release:

This release is up to date with Mastodon v3.4.6, 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.

Upgrading from v1.0.5+3.4.0

If you already have Hometown installed and are upgrading from v1.05+3.4.0, do the following:

git remote update && git checkout v1.0.5+3.4.6

As always, make sure you have backups of the database before performing any upgrades. If you are using docker-compose, this is how a backup command might look: docker exec mastodon_db_1 pg_dump -Fc -U postgres postgres > name_of_the_backup.dump

Non-Docker only:

  • Install dependencies: bundle install and yarn install

Both Docker and non-Docker:

  1. Run the pre-deployment database migrations:

    • Non-Docker: RAILS_ENV=production bundle exec rails db:migrate
    • Docker: docker-compose run --rm web rails db:migrate
  2. Precompile the assets:

    • Non-Docker: RAILS_ENV=production bundle exec rails assets:precompile
    • Docker: The assets are already precompiled during the build step
  3. Restart all Mastodon processes