Demande #6516
fermé
1300 Wed 09 Oct 2024 02:49:23 PM CEST time /etc/rrsync.d/dump-pgsql
1313 Wed 09 Oct 2024 03:15:04 PM CEST curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh
1314 Wed 09 Oct 2024 03:15:21 PM CEST bash -x nodesource_setup.sh
1320 Wed 09 Oct 2024 03:16:10 PM CEST apt update
1328 Wed 09 Oct 2024 03:17:26 PM CEST apt dist-upgrade -y
(April) root@pouet:/etc[master]# corepack enable
(April) root@pouet:/etc[master]# echo "MASTODON_USE_LIBVIPS=true" >> .env.production
(April) root@pouet:/etc[master]# apt install libvips-tools
(April) root@pouet:/etc[master]# sudo -iu mastodon
(April) mastodon@pouet:~$ cd live/
(April) mastodon@pouet:~/live[live-4.2.12]$ corepack prepare
(April) mastodon@pouet:~/live[live-4.2.12]$ RELEASE=4.3.0 && git fetch --all && git checkout v${RELEASE?} && git checkout -b live-${RELEASE?}
1291 Wed 09 Oct 2024 03:22:39 PM CEST git -C /home/mastodon/.rbenv/plugins/ruby-build pull
1292 Wed 09 Oct 2024 03:22:49 PM CEST cd ~/.rbenv/plugins/ruby-build
1296 Wed 09 Oct 2024 03:25:11 PM CEST RUBY_CONFIGURE_OPTS=--with-jemalloc rbenv install 3.3.5
1297 Wed 09 Oct 2024 03:36:48 PM CEST rbenv global 3.3.5
1298 Wed 09 Oct 2024 03:36:56 PM CEST bundle install
1302 Wed 09 Oct 2024 03:42:32 PM CEST yarn install --immutable
1303 Wed 09 Oct 2024 03:50:34 PM CEST RAILS_ENV=production bin/rails db:encryption:init
1304 Wed 09 Oct 2024 03:50:54 PM CEST vim .env.production #add the new variable to config
(April) mastodon@pouet:~/live[live-4.3.0]$ RAILS_ENV=production bundle exec rails assets:precompile
1313 Wed 09 Oct 2024 04:06:40 PM CEST SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
(April) mastodon@pouet:~$ exit
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
(April) root@pouet:~# sudo -iu mastodon
(April) mastodon@pouet:~$ cd live/
(April) mastodon@pouet:~/live[live-4.3.0]$ RAILS_ENV=production bundle exec rails db:migrate
(April) root@pouet:~# sudo -iu mastodon
1320 Wed 09 Oct 2024 04:16:31 PM CEST cd live/
1321 Wed 09 Oct 2024 04:16:41 PM CEST RAILS_ENV=production npm run build:production
(April) mastodon@pouet:~$ exit
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
- Statut changé de Nouveau à Résolu
- Statut changé de Résolu à Fermé
Formats disponibles : Atom
PDF