mirror of
https://github.com/YunoHost-Apps/glitchsoc_ynh.git
synced 2024-09-03 19:15:59 +02:00
Fix Upgrade yarn not installed
This commit is contained in:
parent
140a13c675
commit
7ca04c5425
1 changed files with 3 additions and 2 deletions
|
@ -141,10 +141,11 @@ MCOMMANDS
|
||||||
|
|
||||||
# Apply Mastodon upgrade
|
# Apply Mastodon upgrade
|
||||||
(
|
(
|
||||||
sudo su - $app <<COMMANDS
|
|
||||||
pushd ~/live
|
|
||||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:clean
|
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:clean
|
||||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile
|
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails assets:precompile
|
||||||
|
|
||||||
|
sudo su - $app <<COMMANDS
|
||||||
|
pushd ~/live
|
||||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails db:migrate
|
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails db:migrate
|
||||||
# Upgrade to 2.2.0
|
# Upgrade to 2.2.0
|
||||||
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails mastodon:maintenance:remove_regeneration_markers
|
RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails mastodon:maintenance:remove_regeneration_markers
|
||||||
|
|
Loading…
Reference in a new issue