As parabol user:
cd ~/parabol
git checkout <tag>
yarn
Apply the patch in ~/diff-reflection-disable manually
yarn
check .env for versions
yarn update-schema
yarn build
yarn db:migrate (must print migrations)
As root:
version=v5.30.0
cp -r /home/parabol/parabol/build/* /var/www/parabol/build/v5.30.0/ && chown www-data:www-data -R /var/www/parabol
cp -r /home/parabol/parabol/static/images/* /var/www/parabol/build/v5.30.0/static/ && chown www-data:www-data -R /var/www/parabol
As parabol user:
test using yarn start
The patch is optional. It disabled an integration with a Google API if I remember correctly.