Before starting the upgrade, stop tomcat :
sudo service shrine stop