From 3439592f1bec878c3a89446f5d733546afafa283 Mon Sep 17 00:00:00 2001 From: nemsia Date: Sun, 21 May 2017 14:24:18 +0200 Subject: [PATCH] [fix] Upgrade nodejs + conf protobuf Fix mastodon 1.4 upgrade --- scripts/upgrade | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/upgrade b/scripts/upgrade index f070bbd..f95414b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,9 +55,16 @@ pushd ~/live git checkout $(git tag | tail -n 1) SWITCHCOMMANDS +# Upgrade Node.js +pushd /opt +curl -sL https://deb.nodesource.com/setup_6.x | sudo bash - +sudo apt-get install -y nodejs +popd + # Apply Mastodon upgrade sudo su - $app <