Checking the Docker setup, you see the node and npm versions been used. Use
latest versions lets see....

On Tue, Oct 8, 2019 at 11:13 AM Niklas Uhrberg <[email protected]>
wrote:

> I still don't know why it works with the current setup and not the first,
> the differences as far as I can see are:
>
> Non-working setup:
>
> Regular MySQL (not docker)
> Regular fineract 1.x using Tomcat (not docker)
> Apache MQ using docker
> Mifos communicty app using docker
>
> Working setup:
>
> Everything using docker
>
>
> Best regards Niklas
>
>
>
> Niklas Uhrberg
> Konsult
> IT Development | Loans & Credit
>
>
>
> Resurs Bank AB
>
>
>
> Växel: +46 42 38 20 00
> E-post: [email protected]
> Webb: www.resursbank.se
>
>
>
> ------------------------------
> *From:* Niklas Uhrberg [[email protected]]
> *Sent:* Tuesday, October 08, 2019 11:43 AM
> *To:* [email protected]
> *Subject:* RE: Unable to login to Mifos Community App running locally
>
> Hi and thanks for the reply.
>
> Sorry, forgot the most important piece of information: it's fineract 1.x .
>
> *Update: I have now been able to start fineract 1 and login to the
> community app, starting fineract using docker-compose.* So I'm happy for
> now!
>
> Since you asked about the error message upon npm install, it's:
>
> npm ERR! Linux 4.15.0-65-generic
> npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install"
> npm ERR! node v4.2.6
> npm ERR! npm  v3.5.2
> npm ERR! path
> /home/niklas/git/community-app/node_modules/.staging/@types/prop-types-873dfcbb
> npm ERR! code ENOENT
> npm ERR! errno -2
> npm ERR! syscall rename
>
> npm ERR! enoent ENOENT: no such file or directory, rename
> '/home/niklas/git/community-app/node_modules/.staging/@types/prop-types-873dfcbb'
> ->
> '/home/niklas/git/community-app/node_modules/nodeunit/node_modules/tap/node_modules/@types/prop-types'
> npm ERR! enoent ENOENT: no such file or directory, rename
> '/home/niklas/git/community-app/node_modules/.staging/@types/prop-types-873dfcbb'
> ->
> '/home/niklas/git/community-app/node_modules/nodeunit/node_modules/tap/node_modules/@types/prop-types'
> npm ERR! enoent This is most likely not a problem with npm itself
> npm ERR! enoent and is related to npm not being able to find a file.
> npm ERR! enoent
>
> npm ERR! Please include the following file with any support request:
> npm ERR!     /home/niklas/git/community-app/npm-debug.log
>
>
>
> And version of node.js:
>
> niklas@niklas-Latitude-E7440:~/git/community-app$ node --version
> v4.2.6
>
> (Hope this is the answer you were looking for.)
>
>
> Best regards Niklas
>
>
>
>
> Niklas Uhrberg
> Konsult
> IT Development | Loans & Credit
>
>
>
> Resurs Bank AB
>
>
>
> Växel: +46 42 38 20 00
> E-post: [email protected]
> Webb: www.resursbank.se
>
>
>
> ------------------------------
> *From:* VIctor Romero [[email protected]]
> *Sent:* Tuesday, October 08, 2019 6:10 AM
> *To:* [email protected]
> *Subject:* Re: Unable to login to Mifos Community App running locally
>
> Hi,
>
> Is the question for fineract 1.x or fineract-cn?
>
> What is the error when running npm? And what is the node js version?
>
> Make sure that the volume used by mysql image is the right one after
> running succesfully the fineract 1.x
>
> Sometimes it tries to read an existing volume with previos information.
>
> Regards
>
> Victor
>
>
> Obtener BlueMail para Android <http://www.bluemail.me/r?b=15656>
> En 4 oct 2019, en 10:04 a. m., Niklas Uhrberg <[email protected]>
> escribió:
>>
>> Hello!
>>
>> I've come one step further trying out Fineract but unexpectly cannot
>> login to the community app.
>>
>> I have Fineract up and running, Mysql and ApacheMQ and I run the
>> community app in a docker container with
>>
>> docker run --name mifos-ui -it -d -p 80:80 mifos-community-app
>>
>> See attached screenshot from the m_appuser  table showing that the mifos
>> user exists and has at least the same password as the other system user
>> (therefore I conclude that it has not been changed to something other than
>> "password").
>>
>> I point the browser to
>> http://localhost/?baseApiUrl=https://localhost&tenantIdentifier=default#/
>>
>> and fineract is indeed running on port 443.
>>
>> When I try to login fineract indeed does log (see attached log file) :
>>
>> 1056228 [http-bio-443-exec-9] INFO
>> o.a.f.i.s.f.TenantAwareBasicAuthenticationFilter -
>> {"startTime":1570198488598,"totalTime":2,"method":"OPTIONS","url":"
>> https://localhost/fineract-provider/api/v1/authentication
>> ","parameters":{"username":["mifos"]}}
>>
>> However the Mifos login screen says: "Couldn't connect to server. Make
>> sure you are using correct settings."
>>
>> See attached screenshot.
>>
>> I have also reasons to believe that the connection from Fineract to MySql
>> is working.
>>
>> At the moment I have no good idea how to troubleshoot this except for
>> logging in by sending
>> a request like the Postman script does in Fineract CN.
>>
>> Any tips on this?
>>
>> Other ideas? Perhaps you have seen this before and can tip me off what to
>> try.
>>
>> Note: When installing the community app the npm install step failed. Then
>> I tried running with Docker hoping that this can be done anyway, which
>> seems to have worked out fine.
>>
>>
>> BR Niklas
>>
>>
>>
>>
>> Niklas Uhrberg
>> Konsult
>> IT Development | Loans & Credit
>>
>>
>> Resurs Bank AB
>>
>>
>> Växel: +46 42 38 20 00
>> E-post: [email protected]
>> Webb: www.resursbank.se
>>
>>
>>

Reply via email to