Giter Club home page Giter Club logo

Comments (2)

richtera avatar richtera commented on July 4, 2024

Did you have a config file previous to this or are you using a MONGO_URI environment variable?
MONGO_URI environment variable is the best way to do this, because most deployment systems like heroku or nodejisu use environment variables to defined database connections.
The old config file method is error prone.
Thanks
Andy

On Aug 30, 2014, at 8:01 PM, tomchambers2 [email protected] wrote:

Freshly cloned from repo, did npm install and got to the last setup page when I got this error.

$ node app
31 Aug 00:57:21 - debug: beggining to deal with 'stack'
31 Aug 00:57:21 - debug: calipso.app.stack found theme.static
31 Aug 00:57:21 - debug: calipso.app.stack WITH THEME = [ { route: '', handle: [Function: query] },
{ route: '', handle: [Function: expressInit] },
{ route: '', handle: [Function: bodyParser] },
{ route: '', handle: [Function] },
{ route: '', handle: [Function: methodOverride] },
{ route: '', handle: [Function: cookieParser] },
{ route: '', handle: [Function] },
{ route: '', handle: { [Function: session] tag: 'session' } },
{ route: '', handle: [Function] },
{ route: '',
handle: { [Function: static] tag: 'theme.static' } },
{ route: '', handle: [Function: static] },
{ route: '', handle: [Function: static] },
{ route: '', handle: [Function] } ]
Calipso version: 0.3.51
Calipso configured for: development environment.
Calipso server listening on port: 3000
Installation Password: "bqSJTmvHWeOZbGvLJbIWfklGEsKW8s1Zaw==" (inside quotes)
31 Aug 00:57:46 - error: Unable to connect to the specified database mongodb://localhost/calipso, the problem was: failed to connect to [mongodb:27017]
$ mongod
mongod --help for help and startup options
2014-08-31T00:57:06.652+0100 [initandlisten] MongoDB starting : pid=43905 port=27017 dbpath=/data/db 64-bit host=Toms-MacBook-Pro-2.local
2014-08-31T00:57:06.653+0100 [initandlisten] db version v2.6.4
2014-08-31T00:57:06.653+0100 [initandlisten] git version: nogitversion
2014-08-31T00:57:06.653+0100 [initandlisten] build info: Darwin Toms-MacBook-Pro-2.local 14.0.0 Darwin Kernel Version 14.0.0: Sat Aug 9 00:14:02 PDT 2014; root:xnu-2782.1.80~2/RELEASE_X86_64 x86_64 BOOST_LIB_VERSION=1_49
2014-08-31T00:57:06.653+0100 [initandlisten] allocator: tcmalloc
2014-08-31T00:57:06.653+0100 [initandlisten] options: {}
2014-08-31T00:57:06.653+0100 [initandlisten] journal dir=/data/db/journal
2014-08-31T00:57:06.653+0100 [initandlisten] recover : no journal files present, no recovery needed
2014-08-31T00:57:06.713+0100 [initandlisten] waiting for connections on port 27017
2014-08-31T00:57:32.987+0100 [initandlisten] connection accepted from 127.0.0.1:51153 #1 (1 connection now open)
2014-08-31T00:57:32.989+0100 [initandlisten] connection accepted from 127.0.0.1:51154 #2 (2 connections now open)
2014-08-31T00:57:32.990+0100 [initandlisten] connection accepted from 127.0.0.1:51155 #3 (3 connections now open)
2014-08-31T00:57:32.991+0100 [initandlisten] connection accepted from 127.0.0.1:51156 #4 (4 connections now open)
2014-08-31T00:57:32.993+0100 [initandlisten] connection accepted from 127.0.0.1:51157 #5 (5 connections now open)
2014-08-31T00:57:46.074+0100 [conn1] end connection 127.0.0.1:51153 (4 connections now open)
2014-08-31T00:57:46.074+0100 [conn2] end connection 127.0.0.1:51154 (3 connections now open)
2014-08-31T00:57:46.074+0100 [conn3] end connection 127.0.0.1:51155 (2 connections now open)
2014-08-31T00:57:46.075+0100 [conn4] end connection 127.0.0.1:51156 (1 connection now open)
2014-08-31T00:57:46.075+0100 [conn5] end connection 127.0.0.1:51157 (0 connections now open)

Reply to this email directly or view it on GitHub.

from calipso.

tomchambers2 avatar tomchambers2 commented on July 4, 2024

I am new to mongodb, so spent a bit of time looking at MONGO_URL, but in the end I got it working by using the npm module installation instead of the old install guide.

from calipso.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.