Actions
Demande #6245
closedMàj mastodon 4.2.0
Start date:
09/06/2023
Due date:
% Done:
0%
Estimated time:
Difficulté:
2 Facile
Description
mise à jour majeure
Updated by Quentin Gibeaux about 1 year ago
- Copied from Demande #6242: Màj mastodon 4.1.8 added
Updated by Quentin Gibeaux about 1 year ago
- Status changed from Nouveau to Résolu
# dump db (April) root@pouet:~# time /etc/rrsync.d/dump-pgsql #passage à node 16 (April) root@pouet:/etc/apt/sources.list.d[bullseye$ u=]# sed -e 's/14/16/g' -i /etc/apt/sources.list.d/nodejs.list (April) root@pouet:/etc/apt/sources.list.d[bullseye$ u=]# apt update (April) root@pouet:/etc/apt/sources.list.d[bullseye$ u=]# apt dist-upgrade (April) root@pouet:~# su - mastodon (April) mastodon@pouet:~$ cd live/ #upgrade ruby (April) mastodon@pouet:~/live[live-4.1.8]$ git -C /home/mastodon/.rbenv/plugins/ruby-build pull (April) mastodon@pouet:~/live[live-4.1.8]$ RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.2.2 (April) mastodon@pouet:~/live[live-4.1.8]$ rbenv global 3.2.2 (April) mastodon@pouet:~/live[live-4.1.8]$ RELEASE=4.2.0 && git fetch --all && git checkout v${RELEASE?} && git checkout -b live-${RELEASE?} (April) mastodon@pouet:~/live[live-4.2.0]$ bundle install && yarn install --frozen-lockfile (April) mastodon@pouet:~/live[live-4.2.0]$ RAILS_ENV=production bundle exec rails assets:precompile (April) mastodon@pouet:~/live[live-4.2.0]$ SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate (April) mastodon@pouet:~/live[live-4.2.0]$ exit (April) root@pouet:~# cp ~mastodon/live/dist/mastodon-streaming*.service /etc/systemd/system/ (April) root@pouet:~# systemctl daemon-reload (April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service (April) root@pouet:/etc/apt/sources.list.d[bullseye$ u=]# su - mastodon (April) mastodon@pouet:~$ cd live/ (April) mastodon@pouet:~/live[live-4.2.0]$ RAILS_ENV=production bundle exec rails db:migrate
ràs
Updated by Quentin Gibeaux about 1 year ago
- Copied to Demande #6246: Màj mastodon 4.2.0 added
Actions