Are you available for a call?, cause it will be easier and you could update
the mailing list after the call.

On Thu, Oct 24, 2019 at 8:46 AM Achia Rolence <[email protected]>
wrote:

> Hello Juhan,
> Yes i have them in my /etc/hosts
>
> On Thu, Oct 24, 2019 at 1:34 PM Juhan Aasaru <[email protected]> wrote:
>
>> Hi!
>>
>> Please locate your hosts file (/etc/hosts for Unix/Mac) and make sure
>> that following lines arre present:
>>
>> 127.0.0.1 postgres
>> 127.0.0.1 cassandra
>> 127.0.0.1 eureka
>> 127.0.0.1 activemq
>>
>> Juhan
>>
>> Kontakt Achia Rolence (<[email protected]>) kirjutas kuupäeval N,
>> 24. oktoober 2019 kell 14:27:
>>
>>> That's the log
>>>
>>> https://pastebin.com/iFPmw2w1
>>>
>>> On Thu, Oct 24, 2019 at 1:16 PM Courage Angeh <[email protected]>
>>> wrote:
>>>
>>>> It looks like the micro services can’t connect to Cassandra. Maybe
>>>> Cassandra is not running which could be because your local Cassandra is
>>>> running therefore using the port docker’s Cassandra is supposed to use.
>>>> Can I see the log when you run the docker-compose script in
>>>> external-tools directory?
>>>>
>>>> On Thu, Oct 24, 2019 at 5:43 AM Achia Rolence <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Courage and Juhan,
>>>>> I started working with the docker approach but had an error running
>>>>> the provisioner this is the log https://pastebin.com/ZSPg9DLS
>>>>> Thanks
>>>>>
>>>>> On Wed, Oct 23, 2019 at 7:01 PM Courage Angeh <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Hi Rolence,
>>>>>>
>>>>>> Can I provide more logs?.  By that I mean the logs before the errors
>>>>>> you get.
>>>>>>
>>>>>> On Wed, Oct 23, 2019 at 12:33 PM Juhan Aasaru <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> One option you could try would be starting the demo server without
>>>>>>> provisioning and
>>>>>>> using Postman scripts instead. This way you also understand better
>>>>>>> what is happening.
>>>>>>> You find the postman scripts here:
>>>>>>> https://github.com/apache/fineract-cn-docker-compose
>>>>>>>
>>>>>>> And don't forget to update your hosts file (details also on
>>>>>>> README.md)
>>>>>>>
>>>>>>> Juhan
>>>>>>>
>>>>>>>
>>>>>>> Kontakt Achia Rolence (<[email protected]>) kirjutas kuupäeval
>>>>>>> K, 23. oktoober 2019 kell 16:50:
>>>>>>>
>>>>>>>> Hello Kelvin,
>>>>>>>> Thanks for the reply. If you check the pastebin error you will see
>>>>>>>> that every request is forbidden (access denied) whereas the logged in  
>>>>>>>> user
>>>>>>>> has the required permissions. A user authentication request is made 
>>>>>>>> each
>>>>>>>> time irrespective of the provided tokens. So given the authentication 
>>>>>>>> fails
>>>>>>>> the request also fails.
>>>>>>>>
>>>>>>>> On Wed, Oct 23, 2019 at 3:33 PM Achia Rolence <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Hello Kelvin,
>>>>>>>>> Thanks for the reply. If you check the pastebin error you will see
>>>>>>>>> that every request is forbidden (access denied) whereas the logged in 
>>>>>>>>>  user
>>>>>>>>> has the required permissions. A user authentication request is made 
>>>>>>>>> each
>>>>>>>>> time irrespective of the provided tokens. That's the problem.
>>>>>>>>>
>>>>>>>>> On Wed, Oct 23, 2019 at 3:09 PM Kelvin Ikome <[email protected]>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Rolence,
>>>>>>>>>>
>>>>>>>>>> Assuming everything is set up correctly, the tables are to be
>>>>>>>>>> created during provisioning.
>>>>>>>>>>
>>>>>>>>>> Check if the provisioning process was triggered and do so
>>>>>>>>>> (trigger it) if not.
>>>>>>>>>>
>>>>>>>>>> Kelvin
>>>>>>>>>>
>>>>>>>>>> On Wed, Oct 23, 2019 at 3:04 PM Achia Rolence <
>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hello,
>>>>>>>>>>> Thanks for the response. I followed your description above but
>>>>>>>>>>> after login every post request gives the error message shown in the
>>>>>>>>>>> pastebin.com <https:pastebin.com>  link below. The only
>>>>>>>>>>>  post request that are successful are those sent to Identity
>>>>>>>>>>> microservice.
>>>>>>>>>>> https://pastebin.com/PiqZU69m
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Oct 23, 2019 at 11:59 AM Juhan Aasaru <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi!
>>>>>>>>>>>>
>>>>>>>>>>>> Make sure you have the latest versions of micro services.
>>>>>>>>>>>> This is important especially if you started to try out
>>>>>>>>>>>> Fineract-CN more than few weeks ago since some of the bugs got 
>>>>>>>>>>>> fixed quite
>>>>>>>>>>>> recently.
>>>>>>>>>>>> To be sure you have the latest code:
>>>>>>>>>>>>
>>>>>>>>>>>> 1. find the .m2 directory under your user home and delete
>>>>>>>>>>>> contents of:
>>>>>>>>>>>> ~/.m2/repository/org/apache/fineract/cn
>>>>>>>>>>>>
>>>>>>>>>>>> 2. Then download the recent dependencies from Artifactory:
>>>>>>>>>>>> cd fineract-cn-demo-server/scripts/dependencies_to_local_maven
>>>>>>>>>>>> mvn package         (this brings all the fineract-cn-*
>>>>>>>>>>>> dependencies from Artifactory to your local maven repo)
>>>>>>>>>>>>
>>>>>>>>>>>> After you have done that the next step is to make sure you
>>>>>>>>>>>> start the apps in correct fashion. It should be something like 
>>>>>>>>>>>> this:
>>>>>>>>>>>>
>>>>>>>>>>>> java -jar -Ddemoserver.persistent=true
>>>>>>>>>>>> -Ddemoserver.provision=true -Ddemoserver.lite=true
>>>>>>>>>>>> -Dcustom.cassandra.contactPoints=localhost:9042
>>>>>>>>>>>> -Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password
>>>>>>>>>>>> -Dcassandra.clusterName="datacenter1" 
>>>>>>>>>>>> -Dcustom.postgresql.host=localhost
>>>>>>>>>>>> -Dcustom.postgresql.user=postgres 
>>>>>>>>>>>> -Dcustom.postgresql.password=postgres
>>>>>>>>>>>> build/libs/demo-server-0.1.0-BUILD-SNAPSHOT.jar
>>>>>>>>>>>>
>>>>>>>>>>>> If this doesn't help then please send more info about what
>>>>>>>>>>>> tables do get created (and use pastebin.com to send your logs).
>>>>>>>>>>>>
>>>>>>>>>>>> Kind regards
>>>>>>>>>>>> Juhan
>>>>>>>>>>>>
>>>>>>>>>>>> Kontakt Achia Rolence (<[email protected]>) kirjutas
>>>>>>>>>>>> kuupäeval K, 23. oktoober 2019 kell 11:01:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hello fellow devs,
>>>>>>>>>>>>> I'm running Fineract CN in lite mode with just the bare
>>>>>>>>>>>>> services like identity, rhythm, office and customer. The tables 
>>>>>>>>>>>>> for
>>>>>>>>>>>>> customers and office services are not being created. Any help is 
>>>>>>>>>>>>> much
>>>>>>>>>>>>> appreciated.
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>

Reply via email to