Note: if you are currently using 2.31.0!
There is an addition manual upgrade action required if upgrading from 2.31.0 to later patches (please check the Upgrade notes link below!).
For the upgrade process from version 2.30, we just need to stop the tomcat service, and replace the WAR file with version 2.31.3 and then restart the service. Will this be enough?
Yes, that’s correct. Flyway should take care of the db updates when you first start the new version.
However, please note the comment in the upgrade notes about dropping any SQL views you have. In addition some people had problems when upgrading from 2.30 to 2.31 because they had other functions in their DB that needed to be dropped before they could start up successfully.
The flyway scripts run in one single transaction, so if anything fails the DB will not be updated at all, and you can fix the conflicting issue and try again.
Hello, I did the same way but DHIS Software is not loading, its giving error.
HTTP Status 404 – Not Found
Type Status Report Message /dhis/ Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.