Skip to content

v3.5.5+cafe.1

Latest
Compare
Choose a tag to compare
@ahox ahox released this 26 Nov 17:18
· 0 commits to friends.cafe since this release
8aeab22

Changelog

Upgrade notes

The following instructions are for updating from v3.4.6+fix.1 at friends.cafe.

  • Stop frontend server's routing. (change haproxy.cfg(comment out mastodon_puma and mastodon_streaming) and systemctl reload haproxy)
  • Stop mastodon service.
  • Backup database.
  • git fetch origin
  • git checkout v3.5.5+cafe.1
  • sudo apt update and sudo apt upgrade
  • Update npm with sudo npm install -g npm@9.1.2.
  • Install ruby 3.0.5
    • rbenv update
    • RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.0.5
    • rbenv global 3.0.5
    • gem update --system --no-document
  • Install dependencies
    • bundle install
    • yarn install
  • Configure .env and config/database.yml for bypass pgbouncer.
  • RAILS_ENV=production bundle exec rails db:migrate
  • Recovery .env and config/database.yml.
  • RAILS_ENV=production bundle exec rails assets:precompile
  • Update Browserslist
    • npx browserslist@latest --update-db
  • RAILS_ENV=production bin/tootctl cache clear
  • Start mastodon service.
  • Start frontend server's routing. (change haproxy.cfg and systemctl reload haproxy)