Project

General

Profile

Demande #3566

Maj mastodon 2.7

Added by Quentin Gibeaux almost 2 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normale
Category:
-
Target version:
Start date:
01/21/2019
Due date:
% Done:

0%

Estimated time:
Difficulté:
2 Facile

Description

La version 2.7 de Mastodon est sortie, mise à jour à faire.
https://github.com/tootsuite/mastodon/releases/tag/v2.7.0

History

#1

Updated by Quentin Gibeaux almost 2 years ago

  • Assignee set to Quentin Gibeaux
  • Target version changed from Backlog to Janvier 2019
#2

Updated by Quentin Gibeaux almost 2 years ago

  • Status changed from Nouveau to Résolu

Màj faite, maj ruby incluse :

# backup sql récent, le dernier date de la nuit
(April) root@pouet:~# cd /etc/rrsync.d/
(April) root@pouet:/etc/rrsync.d[master]# bash -x dump-pgsql
(April) root@pouet:/etc/rrsync.d[master]# su - mastodon
(April) mastodon@pouet:~$ cd ~/.rbenv/plugins/ruby-build
(April) mastodon@pouet:~/.rbenv/plugins/ruby-build[master u-37]$   cd /home/mastodon/.rbenv/plugins/ruby-build && git pull && cd -
(April) mastodon@pouet:~/.rbenv/plugins/ruby-build[master u=]$ rbenv install 2.6.0
(April) mastodon@pouet:~/.rbenv/plugins/ruby-build[master u=]$ rbenv global 2.6.0
(April) mastodon@pouet:~/.rbenv/plugins/ruby-build[master u=]$ cd
(April) mastodon@pouet:~$ gem update --system
(April) mastodon@pouet:~$ cd live/
(April) mastodon@pouet:~/live[live-v2.6.5]$ bundle install
(April) mastodon@pouet:~/live[live-v2.6.5]$ yarn install
(April) mastodon@pouet:~/live[live-v2.6.5]$ git fetch && git checkout v2.7.0
(April) mastodon@pouet:~/live[(0.1.2-6560-g31e7940de)]$ git checkout -b live-v2.7.0
(April) mastodon@pouet:~/live[live-v2.7.0]$ bundle install
(April) mastodon@pouet:~/live[live-v2.7.0]$ yarn install
(April) mastodon@pouet:~/live[live-v2.7.0]$ SKIP_POST_DEPLOYMENT_MIGRATIONS=true RAILS_ENV=production bundle exec rails db:migrate
(April) mastodon@pouet:~/live[live-v2.7.0]$ RAILS_ENV=production bundle exec rails assets:precompile
(April) mastodon@pouet:~/live[live-v2.7.0]$ exit
(April) root@pouet:/etc/rrsync.d[master]# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 
(April) root@pouet:/etc/rrsync.d[master]# su - mastodon
(April) mastodon@pouet:~$ cd live/
(April) mastodon@pouet:~/live[live-v2.7.0]$ RAILS_ENV=production bundle exec rails db:migrate
(April) mastodon@pouet:~/live[live-v2.7.0]$ exit
(April) root@pouet:/etc/rrsync.d[master]# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 

#3

Updated by Quentin Gibeaux almost 2 years ago

maj 2.7.1 sortie, appliquée, ràs

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

Updated by Quentin Gibeaux almost 2 years ago

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

Updated by Quentin Gibeaux almost 2 years ago

Màj mineure 2.7.2 (installée) :

su - mastodon
cd live/
git fetch && git checkout v2.7.2
git checkout -b live-v2.7.2
RAILS_ENV=production bundle exec rails assets:precompile
exit
cp /home/mastodon/live/dist/mastodon-streaming.service /etc/systemd/system/mastodon-streaming.service 
systemctl daemon-reload 
systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service
#6

Updated by Quentin Gibeaux almost 2 years ago

Idem 2.7.3 (ràs):

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

Updated by Quentin Gibeaux over 1 year ago

Idem 2.7.4 (ràs)

(April) root@pouet:~# su - mastodon
(April) mastodon@pouet:~$ cd live/
(April) mastodon@pouet:~/live[live-v2.7.3]$ git fetch && git checkout v2.7.4
(April) mastodon@pouet:~/live[(0.1.2-6640-ga91349d45)]$ git checkout -b live-v2.7.4
(April) mastodon@pouet:~/live[live-v2.7.4]$ RAILS_ENV=production bundle exec rails assets:precompile
(April) mastodon@pouet:~/live[live-v2.7.4]$ logout
(April) root@pouet:~# systemctl restart mastodon-sidekiq.service mastodon-streaming.service mastodon-web.service 
#8

Updated by Quentin Gibeaux over 1 year ago

  • Target version changed from Janvier 2019 to Mars 2019

Also available in: Atom PDF