Hi Victor,

The relevant snippet of the error you are facing is

Caused by: com.googlecode.flyway.core.api.FlywayException: Migration of
schema `mifosplatform-tenants` to version 4 failed! Please restore backups
and roll back database and code!

You can fix the same as follows :

1) Try replaying
https://github.com/apache/fineract/blob/develop/fineract-provider/src/main/resources/sql/migrations/list_db/V4__introduced_oltpId_reportId_columns_and_tenants_server_connection_table.sql
and ensure the same is successful

3) Once you confirm that this script has run successfully (or that the
changes it seeks to make are already present in your database) , you would
proceed to tell Fineract that this patch has been successfully applied as
follows:

In `mifosplatform-tenants` , find the entry from “schema_version" table
where the successful application of this patch is being tracked

Ex: select * from schema_version where script like "V4_%”; (notice that the
value of “success” would be set to false or 0)

Update “succes” to “1” (i.e true)

Ex: update schema_version set success=1 where script like "V4_%”


Regards,
Vishwas


On Fri, Feb 22, 2019 at 3:27 AM Kelvin Ikome <[email protected]> wrote:

>
>
> On Fri, Feb 22, 2019 at 12:24 PM victor ssebugwawo <[email protected]>
> wrote:
>
>> Hi Kelvin,
>>
>> Still no attachment :-(
>>
>> On Fri, Feb 22, 2019 at 2:07 PM Kelvin Ikome <[email protected]> wrote:
>>
>> > Hi Victor,
>> >
>> > Sorry about that. You can find it in the attachment below.
>> >
>> > On Fri, Feb 22, 2019 at 11:24 AM victor ssebugwawo <
>> [email protected]>
>> > wrote:
>> >
>> >> Hi Kelvin
>> >>
>> >> Kindly re-attach the image, it didn't come through.
>> >>
>> >>
>> >>
>> >> On Fri, Feb 22, 2019 at 12:47 PM Kelvin Ikome <[email protected]>
>> wrote:
>> >>
>> >> > There seem to be some errors based on what is shown on the logs.
>> >> Probably
>> >> > an issue with dependency injection.
>> >> >
>> >> > [image: image.png]
>> >> >
>> >> >
>> >> > Check any recent modifications you made to the source code.
>> >> >
>> >> > On Fri, Feb 22, 2019 at 9:15 AM victor ssebugwawo <
>> >> [email protected]>
>> >> > wrote:
>> >> >
>> >> >>
>> >> >> Hello Kelvin,
>> >> >>
>> >> >> Thank you for the response, yes the back end server is running,
>> please
>> >> >> see attached.
>> >> >>
>> >> >> Looking forward to your feedback.
>> >> >>
>> >> >> thank you
>> >> >>
>> >> >> On Thu, Feb 21, 2019 at 12:00 PM Kelvin Ikome <[email protected]>
>> >> wrote:
>> >> >>
>> >> >>> Hi Victor,
>> >> >>>
>> >> >>> Have you taken a look at your tomcat logs to see if the back
>> >> end/server
>> >> >>> (fineract) is running?
>> >> >>>
>> >> >>>
>> >> >>> On Thu, Feb 21, 2019 at 8:07 AM victor ssebugwawo <
>> >> [email protected]
>> >> >>> >
>> >> >>> wrote:
>> >> >>>
>> >> >>> > Hello team,
>> >> >>> >
>> >> >>> > Is there anyone that can be of assistance?
>> >> >>> >
>> >> >>> > Thank you,
>> >> >>> >
>> >> >>> > On Wed, Feb 20, 2019 at 10:13 AM victor ssebugwawo <
>> >> >>> [email protected]>
>> >> >>> > wrote:
>> >> >>> >
>> >> >>> > >
>> >> >>> > > Hello,
>> >> >>> > >
>> >> >>> > > I seek assistance with my mifos
>> >> (fineractplatform-18.03.01.RELEASE)
>> >> >>> i am
>> >> >>> > > running centos and i have successfully carried out the
>> necessary
>> >> >>> > > installation.
>> >> >>> > > I followed the guide  (
>> >> >>> > >
>> >> >>> >
>> >> >>>
>> >>
>> https://inginpengetahuan.wordpress.com/2013/11/06/install-mifosx-centos-6-x64/
>> >> >>> > )
>> >> >>> > >
>> >> >>> > >
>> >> >>> > > The interface is accessible on :
>> >> >>> > >
>> >> >>> > > https://162.144.34.94:8443/community-app/#/
>> >> >>> > >
>> >> >>> > > however it returns the error " Couldn't connect to server. Make
>> >> sure
>> >> >>> you
>> >> >>> > > are using correct settings."
>> >> >>> > >
>> >> >>> > > I went ahead and loaded the sample data (load_sample_data.sql)
>> >> but
>> >> >>> it
>> >> >>> > > still fails .
>> >> >>> > >
>> >> >>> > > kindly advise
>> >> >>> > >
>> >> >>> >
>> >> >>>
>> >> >>
>> >>
>> >
>>
>

Reply via email to