Demande #6245
fermé
- Statut changé de Nouveau à 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
- Statut changé de Résolu à Fermé
Formats disponibles : Atom
PDF