dreamfactorysoftware / openshift-dreamfactory-cartridge

OpenShift cartridge for DreamFactory
10 stars 8 forks source link

required extension or module 'mongo' not installed or loaded when adding mongodb service #6

Open mm108 opened 8 years ago

mm108 commented 8 years ago

trying to add a MongoDB service to Dreamfactory cartridge 2.0 on Openshift and seeing the following error message. it is a super fresh install of the cartridge.

required extension or module 'mongo' not installed or loaded

Here's the screenshot too

add_mongo_db_service_df_error

chris-gunawardena commented 8 years ago

Hi

Please take a look at this issue: https://github.com/dreamfactorysoftware/openshift-dreamfactory-cartridge/issues/4

-Chris

mm108 commented 8 years ago

I absolutely catch no ball with that issue :-) It doesn't speak of any solution that works. So as of now MongoDB is out of DF 2.0? haha my application uses mongodb for most of the data...and this is like hitting a brick wall :-/

crearis commented 8 years ago

@m-menon thanks for reopening that: It is the same for me, DF doesn't make a lot of sense without mongo, like a swiss army knife where the knife itself is not usable anymore

chris-gunawardena commented 8 years ago

Hi m-menon,

DF does support mongodb out of the box, unfortunately openshift installer can't prompt the user for a db option so we made MySQL the default. Only issue is openshift doesn't support php 5.5 out of the box, so we had to do a custom install of nginx and php which by the looks of it doesn't have the mongodb module installed. But you have full access to the cartridge source and ssh access to allow you to install the module or even re compile mongo db.

Sent from my iPhone

On 8 Mar nm2016, at 5:18 PM, crearis notifications@github.com wrote:

@m-menon thanks for reopening that: It is the same for me, DF doesn't make a lot of sense without mongo, like a swiss army knife where the knife itself is not usable anymore

— Reply to this email directly or view it on GitHub.

mm108 commented 8 years ago

cool thanks. If there are some cues on how to install the module, that will be good cos this is my first encounter with Openshift and MongoDB combo. Recompiling mongodb would be a bit ambitious for now cos I only got the first instance of mongoDB on mongolabs just a few days back - so my experience kinda lacks in that area. Btw I totally understand the constraints with Openshift and not having php 5.5 limitation...but after having seen the dreamfactory hosted version and the support for mongodb, the whole design was centered around that and now a lot of things now need to be redesigned or reconsidered.....haiz :-D