I’m not sure of the significance of the green/blue, but to upgrade from your server you would normally:
cd /var/discourse
./launcher rebuild app
Could give us a little more detail about your setup? Is it a standard install? And do you have any third-party plugins installed?