Hi Juhan,

Yea I made sure the services are registered on Eureka. Actually Steps 01 to
07.021 completed successfully just step 07.022 produces an error.

When you look at the logs it shows that it is a JDBC data source connection
error so I am thinking it has to be related to database configuration.
Can I see your logs for portfolio after completing step 07.022 and the
description of your fineract cn portfolio container?

P.S: I get this same error when using the bash scripts and the postman
scripts.

Regards,
Courage.

On Wed, Nov 20, 2019 at 1:59 AM Juhan Aasaru <[email protected]> wrote:

> Hi Courage!
>
> I tried myself and in order to have a repeatable process I created (and
> merged with few minor fixes)
>
> https://github.com/apache/fineract-cn-docker-compose/blob/master/integration_test.sh
> I didn't manage yet to complete this however as for some reason the Docker
> engine started
> failing locally when I tried to provision everything. I try to look more
> into this in coming days.
> So unfortunately I couldn't yet repeat your problem.
>
> The "portfolio__v1__khepri permission" error suggests that not all the
> micro services are registered with Eureka.
> If a micro service wants to connect to other micro service it asks Eureka
> for the IP/DNS of the other micro service.
> Open up Eureka console at http://localhost:8761/ (or http://eureka:8761)
> and check which micro-services are registered. All micro services except
> provisioner should be there.
>
> Also I have had this error when the provisioning scripts used
> wrong hostname for micro services.
> So for Postman scripts see steps 02.01, 02.02... for the body of the
> scripts as it contains the host of the micro service.
>
> I don't have any ideas about why Flyway is failing.
>
> Juhan
>
> Kontakt Courage Angeh (<[email protected]>) kirjutas kuupƤeval T,
> 19. november 2019 kell 18:21:
>
>> Yea, Juhan.
>> I am using the latest docker images created 4 weeks ago.
>>
>> On Tue, Nov 19, 2019 at 2:52 AM Juhan Aasaru <[email protected]> wrote:
>>
>>> Hi Courage!
>>>
>>> Did you force Docker Compose to pull the latest images from repository?
>>>
>>> docker-compose rm -f
>>> docker-compose pull
>>>
>>> Kind regards
>>> Juhan
>>>
>>> Kontakt Courage Angeh (<[email protected]>) kirjutas kuupƤeval E,
>>> 18. november 2019 kell 19:34:
>>>
>>>> Hi Juhan,
>>>>
>>>> I am trying to do some updates to the fineract-cn-docker-compose bash
>>>> scripts. Uhmm... I tried to enable portfolio__v1__khepri permission
>>>> but I get this error
>>>> `Error while processing command. FlywayException: Unable to obtain Jdbc
>>>> connection from DataSource`
>>>>
>>>> I also tried it using the postman scripts you implemented I get the
>>>> same error.
>>>> I am not sure what is wrong. Here is the log file:
>>>> https://pastebin.com/11vRW2wC for more information.
>>>>
>>>> P.S I made no changes to the docker configurations.
>>>>
>>>> Regards,
>>>> Courage.
>>>>
>>>

Reply via email to