diff options
| author | nemsia <nemsia@nemsia.org> | 2018-06-08 15:37:06 +0200 |
|---|---|---|
| committer | nemsia <nemsia@nemsia.org> | 2018-06-08 15:37:06 +0200 |
| commit | 7ca04c54256ccdd516a4869973f66b9f34cdf2ce (patch) | |
| tree | 7518b599d7bfed80904636677d8c50b98c2cc8b9 /scripts/upgrade | |
| parent | 140a13c67536a555bf9fea7b8f5a17efbc72bd91 (diff) | |
| download | mastodon_ynh-7ca04c54256ccdd516a4869973f66b9f34cdf2ce.tar.gz mastodon_ynh-7ca04c54256ccdd516a4869973f66b9f34cdf2ce.tar.bz2 mastodon_ynh-7ca04c54256ccdd516a4869973f66b9f34cdf2ce.zip | |
Fix Upgrade yarn not installed
Diffstat (limited to 'scripts/upgrade')
| -rw-r--r-- | scripts/upgrade | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/upgrade b/scripts/upgrade index c151b57..4ceea66 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -141,10 +141,11 @@ MCOMMANDS # 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:precompile + +sudo su - $app <<COMMANDS +pushd ~/live RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails db:migrate # Upgrade to 2.2.0 RAILS_ENV=production $final_path/.rbenv/versions/2.5.1/bin/bundle exec rails mastodon:maintenance:remove_regeneration_markers |
