Hello Admins
When am upgrading one of my test instance which is currently running on DHIS2.30 to DHIS2.31 keeps getting error like the logs below
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in URL [jar:file:/usr/local/tomcat-29/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.31-SNAPSHOT.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.command.DbMigrate$FlywayMigrateException:
Migration V2_31_1__Migrations_for_release_v31.sql failed
--------------------------------------------------------
SQL State : 42501
Error Code : 0
Message : ERROR: must be owner of function generate_uid
Location : org/hisp/dhis/db/migration/2.31/V2_31_1__Migrations_for_release_v31.sql (/usr/local/tomcat-29/file:/usr/local/tomcat-29/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.31-SNAPSHOT.jar!/org/hisp/dhis/db/migration/2.31/V2_31_1__Migrations_for_release_v31.sql)
Line : 1
Statement : --Function for creating uids.
Is there a way of getting this fixed ??
Thanks in advance