Questions tagged [mongohq]

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

Compose (formerly MongoHQ) is a Database-as-a-Service (DBaaS) platform for securely hosting and managing databases instances including MongoDB.

More information:

148 questions
1
vote
0 answers

Heroku app - can't login with device and mongoid, monghq

I have a simple device, mongoid, mongoHQ, rails based app deployed to heroku. The user login gives an error. gemfile: source 'https://rubygems.org' gem 'rails', '3.2.3' group :development, :test do gem 'rspec-rails' end group :test do …
Sayanee
  • 4,957
  • 4
  • 29
  • 35
1
vote
1 answer

Weird MongoDB MapReduce ObjectId.toString() behavior?

I've run into some strange differences between the mongodb running on MongoHQ and the version running on my own development machine. Specifically, when calling .toString() on an object id inside a MapReduce map function, the results vary: On my own…
Thomas Watson
  • 6,507
  • 5
  • 33
  • 43
1
vote
2 answers

creating a local MongoDB replica set based on a single database on MongoHQ

We have a single mongo database hosted on MongoHQ. We now want to move to a replica-set on our own servers. I was hoping I could change the current db to a replica set, and then add our servers to it, and then eventually remove the mongohq instance…
francpaul
  • 246
  • 1
  • 5
1
vote
1 answer

MongoHQ "db assertion failure" on Heroku

I'm trying to upgrade my Node application from 0.4 to 0.6 along with all modules. I think I've got everything correct, but MongoHQ returns: db assertion failure on every find/distinct call (connecting goes without errors) Here's my package.json,…
Peter
  • 870
  • 6
  • 20
1
vote
0 answers

Can't connect to mongohq from heroku in Play 2.0 java?

I am using mongohq as a heroku add on, and I have recently encountered some problems running my app on my local host. I keep getting the following stack trace as soon as my app tries to go to the…
wfbarksdale
  • 7,498
  • 15
  • 65
  • 88
1
vote
2 answers

Best practice to query the performance state of the mongo

I'm interested in the best practice to query the performance state of the mongo cluster (on mongohq) using a ruby script. I would like to build some ruby script that checks if the mongo is idle (or near idle) and if so, start to do some work (lots…
Gluz
  • 3,154
  • 5
  • 24
  • 35
0
votes
1 answer

Saving in mongoDb with Mongoose, unexpected elements saved

When I write in my mongoDB with mongoose the operation is treated with success, my document is saved, but there is also all kind of weird other sutff written down. It seems to be mongoose code. What could cause this? I add stuff in a specific array…
guiomie
  • 4,988
  • 6
  • 37
  • 67
0
votes
1 answer

Disabling MongoDB logging on Heroku/MongoHQ

After getting the "logging negatively" warning, I guess ther's a way to disable on Heroku/MongoHQ too : 2011-10-02T05:35:38+00:00 heroku[web.1]: Starting process with command `thin -p 54227 -e production -R /home/heroku_rack/heroku.ru…
Luca G. Soave
  • 12,271
  • 12
  • 58
  • 109
0
votes
1 answer

MongoDB Record To Array Takes Forever

I'm getting information from the database (MongoDB) and then converting it to an array like that: @bs = coll.find("headers.from" => { "$regex" => email, "$options" => 'i' }, "date" => {"$gte" => initial_date, "$lte" => Time.now.utc}) puts "a…
donald
  • 23,587
  • 42
  • 142
  • 223
0
votes
4 answers

Application Crash with Heroku, Mongoid, and MongoHQ

I am trying to get my application online and functioning with Heroku. The application uses MongoHQ and Mongoid. I have read multiple guides that just say to add this, "uri: <%= ENV['MONGOHQ_URL'] %>" to the mongoid.yml file, but it's not working for…
moctopus
  • 193
  • 3
  • 13
0
votes
1 answer

Unable to connect to MongoDB using password hash

My question is similar to this one insofar as I am trying to make a mongo shell connection to database that Heroku auto-provisioned on MongoHQ (Now called Compose): Unable to connect to mongohq at heroku using shell The only details that I have…
RobD
  • 1,695
  • 2
  • 24
  • 49
0
votes
1 answer

How to Access MongoDB Cloud Instance from Public Network?

I'm developping a node app, where my data base is located at Compose.io (formerly MongoHQ) The thing is that I can't work at school because the network is public and therefore some connexions are blocked. The tech guy working in the IT Departement…
Radioreve
  • 3,173
  • 3
  • 19
  • 32
0
votes
0 answers

how to use MongoHQ database in openshift app

At first I tried: import pymongo MONGOHQ_URL = "mongodb://username:password@kahana.mongohq.com:10025/dbname" conn = pymongo.MongoClient(MONGOHQ_URL) but apparently it failed and it throws following error: Traceback (most recent call last): File…
avi
  • 9,292
  • 11
  • 47
  • 84
0
votes
1 answer

Heroku Mongo Url (Copying db from heroku)

I'm trying to write a script that copys my heroku db to my local db (mongodb), but I dont have a clue what kind of url format this is: mongodb://:@lamppost.5.mongolayer.com:10049,lamppost.4.mongolayer.com:10049/ Why are…
tonekk
  • 470
  • 3
  • 16
0
votes
2 answers

Create database in MongoHQ from C#

I'm trying to create a Database in MongoHQ from C# code. I read that by just calling server.GetDatabase("DBName"); it creates the DB if it doesn't exist, nevertheless nothing is created. Is it possible to do what I want to do? I have a free account…