v3.3.3
版本发布时间: 2022-03-30 21:18:45
mastodon/mastodon最新发布版本:v4.3.0-beta.2(2024-09-17 23:53:19)
This is a backport for the 3.3.x branch.
Changelog
Security
- Fix being able to bypass e-mail restrictions (Gargron)
Upgrade notes
Because this is a backport, it is not available with git pull
. Use git fetch && git checkout v3.3.3
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
If you're upgrading from before 3.3.1, make sure you have shared-mime-info
installed (apt install shared-mime-info
), and also run bundle install
between steps 1 and 2.
- Pull the code:
git fetch && git checkout v3.3.3
- 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.3.3
- Pull the prebuilt images:
docker-compose pull
, or, alternatively, build them yourself:docker-compose build --pull
- Restart all Mastodon processes:
docker-compose up -d