Upgrading from Darga-<n> to Darga-<n+1>

Now that Darga-2 is released, it might be useful to document here the ‘official’ steps to upgrade from Darga-n to Darga-n+1 (for those less familiar with git).

Would anyone like to volunteer?

Thanks,
pemcg

Yes, that would be great, in addition of that, it would be great if there is an upgrade howto from Capablanca to Darga

I believe @jprause was putting something together, so stay tuned :slight_smile:

Any update on this now that Darga-3 is out?

Thanks,
pemcg

These are the steps I use for upgrading Euwe. This upgrades to the latest commit on the euwe branch in git (so includes backported fixes).

systemctl stop evmserverd
cd /var/www/miq/vmdb
git fetch
git diff euwe remote/origin/euwe # to view changes
git merge euwe remote/origin/euwe
export RAILS_ENV=production
bundle install
rails db:migrate
rails evm:compile_assets
systemctl start evmserverd