Project

General

Profile

Demande #3307

Maj mastodon 2.5

Added by Quentin Gibeaux about 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
Start date:
09/06/2018
Due date:
% Done:

0%

Estimated time:
Difficulté:
2 Facile

Description

Mise à jour de l'instance pouet.april.org en 2.5.0

History

#1

Updated by Quentin Gibeaux about 2 years ago

#fix apt node 6 -> 8 :
(April) root@pouet:/etc# cat /etc/apt/sources.list.d/nodejs.list
deb https://deb.nodesource.com/node_8.x stretch main
deb-src https://deb.nodesource.com/node_8.x stretch main

apt update
apt upgrade
#backup avant migration
/etc/rrsync.d/dump-pgsql
#pas de coupure du démon encore
su - mastodon
cd live
git fetch && git checkout v2.5.0
git checkout -b live-v2.5.0
bundle install
yarn install
SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
RAILS_ENV=production bundle exec rails assets:precompile
exit
#redémarrage démon en root
systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
su - mastodon
cd live
RAILS_ENV=production bundle exec rails db:migrate
#2

Updated by Quentin Gibeaux about 2 years ago

  • Status changed from Nouveau to Résolu
  • Assignee set to Quentin Gibeaux
  • Target version changed from Backlog to Septembre 2018
#3

Updated by Quentin Gibeaux about 2 years ago

  • Status changed from Résolu to Fermé
#4

Updated by Quentin Gibeaux about 2 years ago

  • Status changed from Fermé to En cours de traitement
  • Target version changed from Septembre 2018 to Octobre 2018

Nouvelle release 2.5.1, mise à jour à faire

#5

Updated by Quentin Gibeaux about 2 years ago

  • Status changed from En cours de traitement to Résolu

Màj faite :

su - mastodon
cd live/
git fetch && git checkout v2.5.1
git checkout -b live-v2.5.1
bundle install
yarn install
#^ probablement pas nécessaire, pas dans les notes de release, mais ça mange pas de pain
exit
systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
<pre>

#6

Updated by Quentin Gibeaux about 2 years ago

Maj mastodon 2.5.2

su - mastodon
cd live/
git fetch && git checkout v2.5.2
git checkout -b live-v2.5.2
bundle install
#^ pas nécessaire, pas dans les notes de release, mais ça mange pas de pain
yarn install
#^ pas nécessaire, pas dans les notes de release, mais ça mange pas de pain
exit
systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
#7

Updated by Quentin Gibeaux about 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF