Skip to content
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

jitsu returnings ok while the application has actually failed to deploy #444

Open
3rd-Eden opened this issue May 21, 2013 · 0 comments
Open

Comments

@3rd-Eden
Copy link
Member

C:\Users\Anonymous\lokisalle>jitsu deploy
info:    Welcome to Nodejitsu broussin
info:    jitsu v0.12.10-2, node v0.10.6
info:    It worked if it ends with Nodejitsu ok
info:    Executing command deploy
info:    Analyzing application dependencies in node app.js
warn:    Local package version appears to be old
warn:    The package.json version will be incremented automatically
warn:    About to write C:\Users\Anonymous\lokisalle\package.json
data:
data:    {
data:        dependencies: {
data:            JQDeferred: 'x.x',
data:            jade: '>= 0.0.1',
data:            async: 'x.x',
data:            express: '3.x',
data:            mongoose-autoincr: 'x.x',
data:            mongoose: 'x.x',
data:            stylus: '>= 0.0.1',
data:            email: '0.2.5',
data:            underscore: '>=1.1.7',
data:            validations: '0.1.2',
data:            nodeunit: '>=0.5.5',
data:            underscore.string: '>=1.1.6',
data:            connect-form: 'x.x',
data:            moment: 'x.x',
data:            mongodb: 'x.x'
data:        },
data:        engines: { node: '0.8.x' },
data:        name: 'application-name',
data:        private: true,
data:        scripts: { start: 'node app.js' },
data:        subdomain: 'broussin-lokisalle',
data:        version: '0.0.1-7'
data:    }
data:
prompt: Is this ok?:  (yes)
info:    Creating snapshot 0.0.1-7
info     Uploading: [=============================] 100%
info:    Updating app application-name
info:    Activating snapshot 0.0.1-7 for application-name
info:    Starting app application-name
info:    App application-name is now started
info:    http://broussin-lokisalle.jit.su on Port 80
info:    Nodejitsu ok

But the app was actually still throwing an error, which is need when you try to activate a snapshot:

error:   Nodejitsu Error (500): Internal Server Error
error:
error:   There was an error while attempting to start the app
error:   Error spawning drone
error:   Script prematurely exited
error:
error:   This type of error is usually a user error.
error:   Error output from app:
error:
error:   Express server listening on port 3000 in production mode
error:   Express server listening on port 3000 in production mode
error:   Warning: connection.session() MemoryStore is not
error:   designed for a production environment, as it will leak
error:   memory, and will not scale past a single process.
error:   events.js:71
error:           throw arguments[1]; // Unhandled 'error' event
error:                          ^
error:   Error: Trying to open unclosed connection.
error:       at NativeConnection.Connection.open (/opt/haibu/apps/broussin/application-name/package/node_modules/mongoose/lib/connection.js:205:15)
error:       at Mongoose.connect (/opt/haibu/apps/broussin/application-name/package/node_modules/mongoose/lib/index.js:156:15)
error:       at Object.<anonymous> (/opt/haibu/apps/broussin/application-name/package/app.js:115:10)
error:       at Module._compile (module.js:449:26)
error:       at Object.Module._extensions..js (module.js:467:10)
error:       at Module.load (module.js:356:32)
error:       at Function.Module._load (module.js:312:12)
error:       at Function.Module.runMain (module.js:492:10)
error:       at carapace.run (/opt/haibu/carapace-versions/0.8.19/node_modules/haibu-carapace/lib/carapace.js:170:30)
error:       at process.startup.processNextTick.process._tickCallback (node.js:244:9)
error:   Warning: connection.session() MemoryStore is not
error:   designed for a production environment, as it will leak
error:   memory, and will not scale past a single process.
error:   events.js:71
error:           throw arguments[1]; // Unhandled 'error' event
error:                          ^
error:   Error: Trying to open unclosed connection.
error:       at NativeConnection.Connection.open (/opt/haibu/apps/broussin/application-name/package/node_modules/mongoose/lib/connection.js:205:15)
error:       at Mongoose.connect (/opt/haibu/apps/broussin/application-name/package/node_modules/mongoose/lib/index.js:156:15)
error:       at Object.<anonymous> (/opt/haibu/apps/broussin/application-name/package/app.js:115:10)
error:       at Module._compile (module.js:449:26)
error:       at Object.Module._extensions..js (module.js:467:10)
error:       at Module.load (module.js:356:32)
error:       at Function.Module._load (module.js:312:12)
error:       at Function.Module.runMain (module.js:492:10)
error:       at carapace.run (/opt/haibu/carapace-versions/0.8.19/node_modules/haibu-carapace/lib/carapace.js:170:30)
error:       at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant