Comments (2)
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.
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)
- unzipping downloaded themes is broken HOT 2
- Leakage in the session table HOT 1
- calip.so showing 404 HOT 2
- Calipso possibilities HOT 1
- Calip.so website down? HOT 3
- Is this project dead? HOT 16
- 404 HOT 3
- [Security] XSS on usernames HOT 1
- How do you create custom fields? HOT 1
- Server crash on strange / invalid URLs HOT 1
- Can't install on Windows 8.1 HOT 5
- after installing calipso globally, when i try to run $ calipso , I get following error. HOT 5
- weird behavior while installastion in ubuntu (some type of string escaping errors) HOT 5
- Calipso fails to initiate the session when proxy-search request comes in HOT 16
- Community modules
- Is this project maintained? HOT 1
- Website offline :- ( HOT 3
- Use template-literal instead of EJS
- testing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calipso.