Projet

Général

Profil

Demande #3754

Maj mastodon 2.9

Ajouté par Quentin Gibeaux il y a presque 5 ans. Mis à jour il y a plus de 4 ans.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Catégorie:
-
Version cible:
Début:
14/06/2019
Echéance:
% réalisé:

0%

Temps estimé:
Difficulté:
2 Facile

Description

La mise à jour 2.9 de mastodon est sortie, mise à jour à prévoir.

Historique

#1

Mis à jour par Quentin Gibeaux il y a presque 5 ans

Màj faite, ràs

(April) root@pouet:~# /etc/rrsync.d/dump-pgsql 
(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live
(April) mastodon@pouet:~/live[live-v2.8.4]$ git fetch && git checkout v2.9.0
(April) mastodon@pouet:~/live[(0.1.2-7282-gc9eeb2e83)]$ git checkout -b live-v2.9.0
(April) mastodon@pouet:~/live[live-v2.9.0]$ bundle install && yarn install
(April) mastodon@pouet:~/live[live-v2.9.0]$ RAILS_ENV=production bundle exec rails db:migrate
(April) mastodon@pouet:~/live[live-v2.9.0]$ RAILS_ENV=production bundle exec rails assets:precompile && exit
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 
(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live
(April) mastodon@pouet:~/live[live-v2.9.0]$ RAILS_ENV=production bin/tootctl cache clear
#2

Mis à jour par Quentin Gibeaux il y a presque 5 ans

  • Statut changé de Nouveau à Résolu
#3

Mis à jour par Quentin Gibeaux il y a presque 5 ans

màj 2.9.1, ràs

(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live
(April) mastodon@pouet:~/live[live-v2.9.0]$ git fetch && git checkout v2.9.1
(April) mastodon@pouet:~/live[(0.1.2-7318-g84f945d64)]$ git checkout -b live-v2.9.1
(April) mastodon@pouet:~/live[live-v2.9.1]$ bundle install && yarn install
(April) mastodon@pouet:~/live[live-v2.9.1]$ RAILS_ENV=production bundle exec rails assets:precompile
(April) mastodon@pouet:~/live[live-v2.9.1]$ exit
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 
#4

Mis à jour par Quentin Gibeaux il y a presque 5 ans

maj 2.9.2, ràs

(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live
(April) mastodon@pouet:~/live[live-v2.9.1]$ git fetch && git checkout v2.9.2
(April) mastodon@pouet:~/live[(0.1.2-7325-g66ac1bd06)]$ git checkout -b live-v2.9.2
(April) mastodon@pouet:~/live[live-v2.9.2]$ RAILS_ENV=production bundle exec rails assets:precompile
(April) mastodon@pouet:~/live[live-v2.9.2]$ exit
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 
#5

Mis à jour par Quentin Gibeaux il y a presque 5 ans

  • Statut changé de Résolu à Fermé
#6

Mis à jour par Quentin Gibeaux il y a plus de 4 ans

màj 2.9.3 :

(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live
(April) mastodon@pouet:~/live[live-v2.9.2]$ git fetch && git checkout v2.9.3
(April) mastodon@pouet:~/live[(0.1.2-7325-g66ac1bd06)]$ git checkout -b live-v2.9.3
(April) mastodon@pouet:~/live[live-v2.9.3]$ bundle install
(April) mastodon@pouet:~/live[live-v2.9.3]$ RAILS_ENV=production bundle exec rails assets:precompile
(April) mastodon@pouet:~/live[live-v2.9.3]$ exit

*modifier la conf systemd comme suit :*
(April) root@pouet:/etc[master*]# git diff
diff --git a/systemd/system/mastodon-web.service b/systemd/system/mastodon-web.service
index 30fcbec..640b581 100644
--- a/systemd/system/mastodon-web.service
+++ b/systemd/system/mastodon-web.service
@@ -7,6 +7,7 @@ Type=simple
 User=mastodon
 WorkingDirectory=/home/mastodon/live
 Environment="RAILS_ENV=production" 
+Environment="BIND=0.0.0.0" 
 Environment="PORT=3000" 
 ExecStart=/home/mastodon/.rbenv/shims/bundle exec puma -C config/puma.rb
 ExecReload=/bin/kill -SIGUSR1 $MAINPID

(April) root@pouet:~# systemctl daemon-reload 
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 

Formats disponibles : Atom PDF