-
-
Notifications
You must be signed in to change notification settings - Fork 959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no mondodb data in ngCodeCamper.zip #75
Comments
+1 When connecting to the database directly using a mongo client, there are no databases listed, and when running the cc-beam app, the last console line is: "!!! Failed while getting MongoDb collections; is the MongoDb server running?" Yes, it is running, but there is nothing in the DB. Did you get this resolved? |
I saw some wildtiger files in the unzipped folder and so I restarted mongod using the wildtiger option, but still there 0 collections connecting using a client and running db.collection.count(). Looks like the zip contains an empty database. |
+1 |
+1 |
+1 |
4 similar comments
+1 |
+1 |
+1 |
+1 |
You should add following to the mongodb config file WiredTiger is a new storage engine for MongodDB which is now recommended over MMAPv1. |
Worked great on Linux. Got the same errors on Windows. |
It's working! |
+1, setting storageEngine=mmapv1 solved issue on OSX as well |
This didn't work for me received an error. I'm starting to think that the database needs to be setup via running scripts. I believe people are having issues with mongo/node version issues, but I'm not interested enough to care. I'll just follow the plural-site course with the non mongo version. |
@JonathanAaron: as @pancasutresna wrote, you need to set that before running the fresh extract of ngCodeCamper.zip. That means if you have extracted the zip file, you should delete the extracted folder, set storageEngine=mmapv1, and re-extract the zip file. |
I did as all you folks said, but get an error at starting cc-bmean server. Help, pls!
|
@aleksmaksiuta: please always have Google by your side. The first result of searching "Trailer name must be a valid HTTP Token ["Content-Type:"]" should solve your problem. Or if it's not the first result, here you are #84 |
Thank you @smahesaniya, setting storageEngine=mmapv1 solved the issue on OSX for me! |
Having the same problem in Windows 10.
#logpath=c:\mongodb\log\mongo.log
and it said "data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'"
!!! Failed while getting MongoDb collections; is the MongoDb server running? |
For the previous problem that i wrote above, HTTP interface deprecated since version 3.2 of mongo db So if you are able to do, could you please update the course or mention a workaround in here. @johnpapa |
This also worked for me on Windows 7. Had to add storage line to mongodb.config file, delete extracted ngCodeCamper folder, unzip it again and restart the server. Thanks! |
Please could someone describe step by step how to make this work on windows 10? I'm not getting any ... :-( |
+1 Is there any solution for this issue @johnpapa |
@mawadallah same problem doing Angularjs clean code course on pluralsight. I create my own mongo database that pointing to data/ngCodeCamper directory.
I hope any solution for this issue of the @johnpapa because doesn't exist script of creation to this table. |
A few of the solutions above work for some folks, but not others. The course is not reliant on the mongodb, and I may just remove it from the course entirely since the course is about Angular and not messing with configuring mongo :) |
+1 |
In order to run the cc-bmean app, I started by unzipping the file ngCodeCamper.zip file, modifying the dbpath property in mongodb.config and starting up mongod daemon by using the modified mongodb.config doesn't work.
Connecting to mongo server and switching to ngCodeCamper database does not show any collelction. Does the zip file have any issues or anythign specific required to be done?
I am running this on a Mac
The text was updated successfully, but these errors were encountered: