Well, i can it with containerized MariaDB and it work till my computer ran out of space (in the middle of provisioning)
On Thu, May 31, 2018, 6:29 PM Victor Romero <[email protected]> wrote: > Hi Aleks, > > Could you please share the composer file? > > Courage, > > Have you tested Mifos while using MariaDb? > > I have faced issues while running Mifos with MariaDb. > > Regards, > > Victor > > Enviado desde TypeApp > > En may. 31, 2018 6:10 AM, en 6:10 AM, Courage Angeh < > [email protected]> escribió: > >You are welcome :-) > > > >No, I am not. > > > >On Thu, May 31, 2018 at 11:57 AM, Aleksandar Vidakovic < > >[email protected]> wrote: > > > >> Hi Courage, > >> > >> ... ok... I see one difference that I have: I used MySQL (as > >described on > >> the top of the Wiki page)... I'll try MariaDB and should get the same > >> results as you. > >> > >> Thanks for providing your command line, I used the same. > >> > >> Are you working on the same server? > >> > >> Cheers, > >> > >> Aleks > >> > >> On Thu, May 31, 2018 at 12:32 PM Courage Angeh > ><[email protected]> > >> wrote: > >> > >> > Hi Aleksandar > >> > > >> > I containerized MariaDB and Cassandra, and I passed it to demo > >sever, it > >> > works fine. > >> > Here is the commad i use: > >> > java -Ddemoserver.provision=false -Ddemoserver.persistent=true > >> > -Dcustom.cassandra.contactPoints=0.0.0.0:9142 > >> > -Dcassandra.cluster.user=cassandra -Dcassandra.cluster.pwd=password > >> > -Dcustom.mariadb.host=localhost -Dcustom.mariadb.user=root > >> > -Dcustom.mariadb.password=mysql -jar demo-server-0.1.0-BUILD- > >> SNAPSHOT.jar > >> > > >> > you might have to re-check the values you passed for cassandra and > >> mariadb. > >> > > >> > Thanks, > >> > Courage > >> > > >> > > >> > > >> > > >> > On Thu, May 31, 2018 at 12:02 AM, Aleksandar Vidakovic < > >> > [email protected]> wrote: > >> > > >> > > Hi all, > >> > > > >> > > ... I made progress on the demo server installation: > >> > > > >> > > - I've followed the instructions @ > >> > > https://cwiki.apache.org/confluence/display/FINERACT/ > >> > > How+To+Build+Apache+Fineract+CN > >> > > - I've setup a minimal build environment @ > >fineract-vm.apache.org > >> > > (Oracle JDK, Docker, Docker Compose, NodeJs 10.3.0, NPM 6.1.0) > >> > > - I've created a docker-compose.yml file to startup Cassandra, > >MySQL > >> > and > >> > > NGinX (for fineract-cn-fims-web-app) > >> > > - all Java modules build without a problem > >> > > > >> > > ... but also hit some issues: > >> > > > >> > > - I had to bump up the version for @types/hammerjs to 2.0.35 > >(from > >> > > 2.0.30), because the currently checked in version could not be > >found > >> > by > >> > > npm > >> > > install; pull request is on the way > >> > > - the demo server seems to listen on localhost only; I'll > >"fix" this > >> > by > >> > > running it in a Docker container and will put the > >configuration in > >> the > >> > > docker-compose.yml file > >> > > - during the demo server startup I get the following exception > >(I've > >> > > shortened the stacktrace)... apparently the connection to the > >> database > >> > > is > >> > > missing a password although I followed the instructions and > >provided > >> > > passwords on the command line as parameters > >> > > > >> > > org.springframework.beans.factory.BeanCreationException: Error > >> creating > >> > > bean with name 'provisionerInitializer': Invocation of init > >method > >> > failed; > >> > > nested exception is java.lang.IllegalStateException: Could not > >> initialize > >> > > service! > >> > > [... SNIP ... ] > >> > > Caused by: org.mariadb.jdbc.internal.util.dao.QueryException: > >Could > >> not > >> > > connect: Access denied for user 'root'@'172.18.0.1' (using > >password: > >> NO) > >> > > at > >> > > > >> > org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol. > >> authentication( > >> > > AbstractConnectProtocol.java:499) > >> > > at > >> > > org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol. > >> > > handleConnectionPhases(AbstractConnectProtocol.java:447) > >> > > at > >> > > > >org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol.connect( > >> > > AbstractConnectProtocol.java:358) > >> > > at > >> > > org.mariadb.jdbc.internal.protocol.AbstractConnectProtocol. > >> > > connectWithoutProxy(AbstractConnectProtocol.java:713) > >> > > at > >org.mariadb.jdbc.internal.util.Utils.retrieveProxy(Utils.java:471) > >> > > at org.mariadb.jdbc.Driver.connect(Driver.java:105) > >> > > ... 39 common frames omitted > >> > > > >> > > - while running fineract-cn-fims-web-app in dev mode ("npm run > >> dev") I > >> > > got the following exceptions: > >> > > > >> > > ERROR in > >> > > > >> > ./src/app/accounting/financialCondition/financial- > >> condition.component.scss > >> > > Module build failed: Error: ENOENT: no such file or directory, > >scandir > >> > > '/opt/build/integration-tests/fineract-cn-fims-web-app/node_ > >> > > modules/node-sass/vendor' > >> > > at Object.fs.readdirSync (fs.js:893:3) > >> > > at Object.getInstalledBinaries > >> > > (/opt/build/integration-tests/fineract-cn-fims-web-app/node_ > >> > > modules/node-sass/lib/extensions.js:129:13) > >> > > at foundBinariesList > >> > > (/opt/build/integration-tests/fineract-cn-fims-web-app/node_ > >> > > modules/node-sass/lib/errors.js:20:15) > >> > > [... SNIP ... ] > >> > > > >> > > Anyone aware about the last two issues? > >> > > > >> > > Thanks in advance and cheers, > >> > > > >> > > Aleks > >> > > > >> > > On Mon, May 28, 2018 at 5:17 PM Aleksandar Vidakovic < > >> > > [email protected]> wrote: > >> > > > >> > > > ... thanks Ed... I'm battling with food poisoning, but hope to > >be > >> > > > functioning tomorrow again. > >> > > > > >> > > > I've put already an action list together and will try to get > >> everything > >> > > > running with a "simple" docker-compose.yml file. > >> > > > > >> > > > On Mon, May 28, 2018 at 4:20 PM Courage Angeh < > >> [email protected]> > >> > > > wrote: > >> > > > > >> > > >> Thanks for doing that Ed > >> > > >> > >> > > >> On May 28, 2018 3:05 PM, "Ed Cable" <[email protected]> wrote: > >> > > >> > >> > > >> Hi Aleks, > >> > > >> > >> > > >> Just creating a new subject line on this thread so others can > >easily > >> > > >> follow. > >> > > >> > >> > > >> Ed > >> > > >> > >> > > >> ---------- Forwarded message --------- > >> > > >> From: Ed Cable <[email protected]> > >> > > >> Date: Fri, May 25, 2018 at 8:42 AM > >> > > >> Subject: Re: Reducing Barriers to Entry for New Contributors > >WAS [ > >> Re: > >> > > >> GSoC > >> > > >> 2018: Fineract CN SMS & Email Notifications] > >> > > >> To: Dev <[email protected]>, Aleksandar Vidakovic < > >> > > >> [email protected]> > >> > > >> Cc: Isaac Kamga <[email protected]> > >> > > >> > >> > > >> > >> > > >> Aleks, > >> > > >> > >> > > >> Could you givean update to everybody on where we stand with > >this and > >> > if > >> > > >> you're blocked, what assistance you need to get unblocked. > >This demo > >> > > >> server > >> > > >> infrastructure is critical for several of our interns and the > >work > >> > > they're > >> > > >> doing so the sooner we can have it in place, the better. > >> > > >> > >> > > >> Thanks for all your efforts on this, > >> > > >> > >> > > >> Ed > >> > > >> > >> > > >> On Mon, May 21, 2018 at 7:37 AM Aleksandar Vidakovic < > >> > > >> [email protected]> wrote: > >> > > >> > >> > > >> > Ok, will keep you posted > >> > > >> > > >> > > >> > On Mon, May 21, 2018 at 4:19 PM Ed Cable <[email protected]> > >> wrote: > >> > > >> > > >> > > >> > > Aleks, > >> > > >> > > > >> > > >> > > The VM is now up as you probably saw from the ticket in on > >> Infra. > >> > > >> Chris > >> > > >> > > provided this link for getting sudo access: > >> > > >> > > https://reference.apache.org/committer/opie > >> > > >> > > > >> > > >> > > Please update community on your progress as a number of > >interns > >> > are > >> > > >> eager > >> > > >> > > to have this available in order to test out the work > >they're > >> > > >> undertaking. > >> > > >> > > > >> > > >> > > Ed > >> > > >> > > > >> > > >> > > On Tue, May 8, 2018 at 2:54 AM Aleksandar Vidakovic < > >> > > >> > > [email protected]> wrote: > >> > > >> > > > >> > > >> > > > Thanks Isaac... I'll have a look at it tonight > >> > > >> > > > > >> > > >> > > > On Mon, May 7, 2018, 1:02 PM Isaac Kamga < > >> [email protected] > >> > > > >> > > >> > wrote: > >> > > >> > > > > >> > > >> > > > > Hi Alexsandar Vikakovic, > >> > > >> > > > > > >> > > >> > > > > Kindly take a look at this request for the Apache > >Fineract > >> CN > >> > > >> Ubuntu > >> > > >> > VM > >> > > >> > > > > < > >> > > >> > > > > >> > > >> > > > >> > > >> > > >> > > >> > >> > > >> https://cwiki.apache.org/confluence/display/FINERACT/ > >> > > Requesting+An+Ubuntu+VM+For+Apache+Fineract+CN > >> > > >> > > > > >> > > >> > > > so > >> > > >> > > > > you polish it to provide more concrete specifications > >to the > >> > > >> Apache > >> > > >> > > > > Infrastructure team as required > >> > > >> > > > > <https://issues.apache.org/jira/browse/INFRA-16203>. > >> > > >> > > > > > >> > > >> > > > > Myrle and/or Ed can give you the right karma for > >> collaboration > >> > > on > >> > > >> > > > > confluence. > >> > > >> > > > > > >> > > >> > > > > At Your Service, > >> > > >> > > > > Isaac Kamga. > >> > > >> > > > > > >> > > >> > > > > > >> > > >> > > > > > >> > > >> > > > > On Fri, Apr 6, 2018 at 8:11 AM, Courage Angeh < > >> > > >> > [email protected]> > >> > > >> > > > > wrote: > >> > > >> > > > > > >> > > >> > > > >> Ok. Thanks Myrle. I will look into those links > >> > > >> > > > >> > >> > > >> > > > >> On Thu, Apr 5, 2018, 1:48 PM Myrle Krantz < > >> [email protected]> > >> > > >> wrote: > >> > > >> > > > >> > >> > > >> > > > >> > Hi Courage, > >> > > >> > > > >> > > >> > > >> > > > >> > On Thu, Mar 29, 2018 at 4:11 PM, Courage Angeh < > >> > > >> > > > [email protected]> > >> > > >> > > > >> > wrote: > >> > > >> > > > >> > > The domain microservices rely on Lang > >microservice to > >> > > >> generate > >> > > >> > RSA > >> > > >> > > > >> keys. > >> > > >> > > > >> > > Lang microservice serves a library like Cassandra > >and > >> > Async > >> > > >> > > > >> > microservices. > >> > > >> > > > >> > > I understand why relying on another program to > >start is > >> > not > >> > > >> good > >> > > >> > > but > >> > > >> > > > >> > that's > >> > > >> > > > >> > > not the only dependency here. > >> > > >> > > > >> > > > >> > > >> > > > >> > > Nevertheless my proposal is we update each > >microservice > >> > not > >> > > >> to > >> > > >> > > > >> generate > >> > > >> > > > >> > an > >> > > >> > > > >> > > RSA key but to get it from the Lang microservice > >> > > >> > > > >> > > >> > > >> > > > >> > Lang is not a microservice, it's a library. There > >is no > >> > > single > >> > > >> > > > >> > instance of it running. Instead, it is included in > >all > >> the > >> > > >> > > > >> > microservices. Each microservice instance (and > >therefore > >> > > each > >> > > >> > lang > >> > > >> > > > >> > instance) will see only it's own data. Lang does > >not > >> have > >> > > >> global > >> > > >> > > > >> > data, it only has service local data. If we were > >to > >> create > >> > > >> global > >> > > >> > > > >> > data that each instance of lang accesses, we would > >risk > >> > > making > >> > > >> > > > >> > downtime-free upgrades impossible in the future. > >> > > >> > > > >> > > >> > > >> > > > >> > For an understanding of how keys are exchanged and > >used, > >> > this > >> > > >> > > > >> > documentation may help: > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > >> > > >> > > > > >> > > >> > > > >> > > >> > > >> > > >> > >> > > >> https://cwiki.apache.org/confluence/display/FINERACT/ > >> > > Fineract+CN+demo-server > >> > > >> > > > >> > > >> > > >> > > > >> > If you want to understand how we design for > >downtime-free > >> > > >> > upgrades, > >> > > >> > > > >> > this documentation may help: > >> > > >> > > > >> > > >> > > >> > > > >> > > >> > > >> > > > >> > >> > > >> > > > > >> > > >> > > > >> > > >> > > >> > > >> > >> > > >> https://cwiki.apache.org/confluence/display/FINERACT/ > >> > > Composing+a+Release+out+of+Microservices > >> > > >> > > > >> > > >> > > >> > > > >> > Best Regards, > >> > > >> > > > >> > Myrle > >> > > >> > > > >> > > >> > > >> > > > >> > >> > > >> > > > > > >> > > >> > > > > > >> > > >> > > > > >> > > >> > > > >> > > >> > > > >> > > >> > > -- > >> > > >> > > *Ed Cable* > >> > > >> > > President/CEO, Mifos Initiative > >> > > >> > > [email protected] | Skype: edcable | Mobile: > >+1.484.477.8649 > >> > <+1%20484-477-8649> > >> > > >> <+1%20484-477-8649> > >> > > >> > > <+1%20484-477-8649> > >> > > >> > > > >> > > >> > > *Collectively Creating a World of 3 Billion Maries | * > >> > > >> http://mifos.org > >> > > >> > > <http://facebook.com/mifos> > ><http://www.twitter.com/mifos> > >> > > >> > > > >> > > >> > > >> > > >> > >> > > >> > >> > > >> > >> > > >> -- > >> > > >> *Ed Cable* > >> > > >> President/CEO, Mifos Initiative > >> > > >> [email protected] | Skype: edcable | Mobile: +1.484.477.8649 > >> > <+1%20484-477-8649> > >> > > >> <+1%20484-477-8649> > >> > > >> > >> > > >> *Collectively Creating a World of 3 Billion Maries | * > >> > http://mifos.org > >> > > >> <http://facebook.com/mifos> <http://www.twitter.com/mifos> > >> > > >> > >> > > >> > >> > > >> > >> > > >> -- > >> > > >> *Ed Cable* > >> > > >> President/CEO, Mifos Initiative > >> > > >> [email protected] | Skype: edcable | Mobile: +1.484.477.8649 > >> > <+1%20484-477-8649> > >> > > >> <+1%20484-477-8649> > >> > > >> > >> > > >> *Collectively Creating a World of 3 Billion Maries | * > >> > http://mifos.org > >> > > >> <http://facebook.com/mifos> <http://www.twitter.com/mifos> > >> > > >> > >> > > > > >> > > > >> > > >> >
