fineract-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zayyad A. Said (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FINERACT-480) Setup is failing due to migration 118.7
Date Mon, 19 Jun 2017 15:11:00 GMT

    [ https://issues.apache.org/jira/browse/FINERACT-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054164#comment-16054164
] 

Zayyad A. Said commented on FINERACT-480:
-----------------------------------------

Have you tried following this article for solution to this problem https://mifosforge.jira.com/wiki/display/docs/Failed+Upgrade+Tips+Mifos+X


> Setup is failing due to migration 118.7
> ---------------------------------------
>
>                 Key: FINERACT-480
>                 URL: https://issues.apache.org/jira/browse/FINERACT-480
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Nitin Kumar
>            Assignee: Markus Geiss
>
> Logs :
> Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'tenantDatabaseUpgradeService': Invocation of init method failed; nested exception
is com.googlecode.flyway.core.api.FlywayException: Migration of schema `mifostenant-default`
to version 118.7 failed! Please restore backups and roll back database and code!; for Tenant
DB URL: jdbc:mysql:thin://localhost:3306/mifostenant-default, username: root
> 	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:407)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1546)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
> 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292)
> 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
> 	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
> 	... 124 more
> Caused by: com.googlecode.flyway.core.api.FlywayException: Migration of schema `mifostenant-default`
to version 118.7 failed! Please restore backups and roll back database and code!; for Tenant
DB URL: jdbc:mysql:thin://localhost:3306/mifostenant-default, username: root
> 	at org.apache.fineract.infrastructure.core.service.TenantDatabaseUpgradeService.upgradeAllTenants(TenantDatabaseUpgradeService.java:78)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.lang.reflect.Method.invoke(Method.java:498)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message