v3.4.8
What's Changed
- merge upstream by @atsu1125 in #24
- Change: default to skip signin token by @atsu1125 in #26
- docker CI by @atsu1125 in #28
- Hide blocked by @atsu1125 in #30
- Change whitelist mode by @atsu1125 in #32
- man update, docker image build by @atsu1125 in #34
- merge patch branch by @atsu1125 in #35
- Keybase by @atsu1125 in #36
- Merge Develop bump to 3.4.8 by @atsu1125 in #37
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
- Pull the code:
git fetch
&&git checkout v3.4.8
- Install Ruby dependencies:
bundle install
- Precompile the assets:
RAILS_ENV=production bundle exec rails assets:precompile
- Run the database migrations:
RAILS_ENV=production bundle exec rails db:migrate
- Restart
mastodon-web
andmastodon-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:
- Pull the code:
git fetch && git checkout v3.4.8
- Pull the prebuilt images:
docker-compose pull
, or, alternatively, build them yourself:docker-compose build --pull
- Run the database migrations:
docker-compose run --rm web rails db:migrate
- Restart all Mastodon processes:
docker-compose up -d