summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mastodon.install2
1 files changed, 2 insertions, 0 deletions
diff --git a/mastodon.install b/mastodon.install
index 1c17b03af73d..23c7781c9964 100644
--- a/mastodon.install
+++ b/mastodon.install
@@ -16,6 +16,8 @@ post_upgrade() {
echo "Setting ownership of mastodon files"
chown mastodon:mastodon -R .
+ echo "Refreshing bundle"
+ sudo -u mastodon RAILS_ENV=production NODE_OPTIONS=--openssl-legacy-provider bundle install --redownload --standalone
echo "Upgrading database schema"
sudo -u mastodon RAILS_ENV=production bundle exec rails db:migrate
echo "Precompiling assets"