MyGit

v3.4.2

mastodon/mastodon

版本发布时间: 2021-11-06 07:28:21

mastodon/mastodon最新发布版本:v4.3.0-beta.2(2024-09-17 23:53:19)

Mastodon

Changelog

Added

Fixed

Security

Upgrade notes

Because this is a backport, it is not available with git pull. Use git fetch && git checkout v3.4.2

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:

Both Docker and non-Docker:

  1. Run the 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

相关地址:原始地址 下载(tar) 下载(zip)

查看:2021-11-06发行的版本