Skip to content

v3.4.8

Compare
Choose a tag to compare
@atsu1125 atsu1125 released this 28 Aug 04:39
· 265 commits to main since this release
b44a3a2

What's Changed

Full Changelog: v3.4.3-20220505...v3.4.8

Dependencies

External dependencies have not changed compared to v3.4.3, the compatible Ruby, PostgreSQL, Node, Elasticsearch and Redis versions are the same, that is:

  • Ruby: 2.6 to 3.1
  • PostgreSQL: 9.5 or newer
  • Redis: 4 or newer
  • Node: 12 or higher

Upgrade notes

Other additional steps are likely to apply, please carefully read the upgrade notes for the skipped releases.

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

  1. Pull the code: git fetch && git checkout v3.4.8
  2. Install Ruby dependencies: bundle install
  3. Precompile the assets: RAILS_ENV=production bundle exec rails assets:precompile
  4. Run the database migrations: RAILS_ENV=production bundle exec rails db:migrate
  5. Restart mastodon-web and mastodon-sidekiq:
    systemctl reload mastodon-web
    systemctl restart mastodon-sidekiq

Docker

The exact steps depend on your setup, but they are likely to match the following:

  1. Pull the code: git fetch && git checkout v3.4.8
  2. Pull the prebuilt images: docker-compose pull, or, alternatively, build them yourself: docker-compose build --pull
  3. Run the database migrations: docker-compose run --rm web rails db:migrate
  4. Restart all Mastodon processes: docker-compose up -d