mongohq Questions

4

I run by mistake a db.collection_name.remove({condition:'true'}) from console and delete object I didn't plan to delete, can I recover them some how? I db is on mongohq, if it can helps?
Autoroute asked 17/12, 2013 at 6:12

6

Solved

I'm getting a strange error in my node.js app not master and slaveOk=false code 13435 I'm doing a findOne query using mongoose 4.0.2 hitting a mongodb 3.0.1. The query was working earlier today. ...
Casiano asked 6/5, 2015 at 22:31

3

Solved

I have a query that takes too long to finish. I like to do some performance tests but after I check for one time (that takes currently ~30 seconds) the query start to run a lot faster (< 1 secon...
Janejanean asked 20/2, 2012 at 14:35

2

Solved

Trying to access MongoHQ directly: > mongo mongodb://heroku:[email protected]:10046/myapp MongoDB shell version: 2.4.3 connecting to: mongodb://heroku:[email protected]:10046/myapp Tu...
Aristotle asked 4/6, 2013 at 23:17

2

Solved

Can I use MongoDB and a PostgreSQL in one rails app? Specifically I will eventually want to use something like MongoHQ. So far I have failed to get this working in experimentation. And it concerns ...
Haemolysin asked 20/6, 2012 at 7:32

2

Solved

I'm having trouble with the MongoHQ Heroku addon. Locally my app works and the os variable is present and well-formed on Heroku. However, when I attempt to access the db it throws an error: Operati...
Autolycus asked 20/10, 2012 at 1:54

2

Solved

I have a MongoDB collection [Users] each with an Array of embedded documents [Photos]. I would like to be able to have a page which lists recent photos, for example - the last 10 photos uploaded by...
Annitaanniversary asked 22/2, 2013 at 6:51

3

Solved

With Rails 3, after upgrading from Mongoid 2.x to Mongoid 3.x, my Heroku + MongoHQ setup stopped working. Funny thing is, that my development & test frameworks and my whole test suite passes ju...
Stepdame asked 15/7, 2012 at 17:37

1

I have a Rails 3 app with MongoID 3 deployed successfully to Heroku (using MongoHQ) -- but then something happened (cannot pinpoint what exactly it was) and the build started crashing on Heroku. S...
Finally asked 31/7, 2012 at 8:20

2

Solved

I had and app on heroku then I decided to create another app (on cedar stack which does not support stack:migrate). How can I migrate databases PG and MongoHq? Thanks!
Nobile asked 26/11, 2011 at 11:32

4

Solved

UPDATE 9th june 2012: Setup with mongoid 3.0.0.rc at heroku, see this gist: https://gist.github.com/2900804 UPDATE 22th jan 2011: Uri now takes precedence in mongoid.yml https://github.com/mo...
Global asked 6/5, 2010 at 20:52
1

© 2022 - 2024 — McMap. All rights reserved.