Skip to content

Instantly share code, notes, and snippets.

Welcome to Nodejitsu modeista
info: jitsu v0.11.6, node v0.8.18
info: It worked if it ends with Nodejitsu ok
info: Executing command start
info: Starting app modeista-site
error: Error running command start
error: Nodejitsu Error (500): Internal Server Error
warn: Error returned from Nodejitsu
error: Error: Unhandled error
error: at Object.onError (/root/nodejitsu/lib/nodejitsu.js:75:48)
states:
start: {}
end: {}
qaChecks:
label: "QA Checks"
hideFromlane: false
allowedRoles: ['floor']
formToShow: null
transitionToNextState: "shiftManagerApproval"
shiftManagerApproval:
01/20 19:08:43 PST] [01.21 03:08:43] (10.112.36.42) [-] {-} GET /status - HTTP 200 - 6 msec
[01/20 19:09:25 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:25 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:25 PST] [01.21 03:09:25] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 488 msec
[01/20 19:09:45 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:45 PST] [01.21 03:09:45] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 451 msec
[01/20 19:09:45 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:49 PST] error: Error: connect ECONNREFUSED
[01/20 19:09:49 PST] GOT AN ERROR: object, {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect","status":500}
[01/20 19:09:49 PST] [01.21 03:09:49] (10.112.36.47) [-] {-} POST /sessions - HTTP 500 - 475 msec
info: Creating snapshot 0.0.1-296
info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-296 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error:
error: Target script does not exist: /opt/haibu/carapace-versions/0.8.16/node_modules/haibu-carapace/bin/carapace
1. curl -X POST -d 'options=user:jack' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/xml' -H 'Authorization: Basic cmVzdHVzZXI6cmVzdGJwbQ==' http://ec2-54-251-77-171.ap-southeast-1.compute.amazonaws.com:8080/bonita-server-rest/API/queryRuntimeAPI/getOneTask/READY
2. curl -X POST -d 'options=user:jack' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/xml' -H 'Authorization: Basic cmVzdHVzZXI6cmVzdGJwbQ==' http://ec2-54-251-77-171.ap-southeast-1.compute.amazonaws.com:8080/bonita-server-rest/API/runtimeAPI/executeTask/QA_Data_Entry--1.51--7--Assign_enter_floor_data--it079eb8be-05f5-473e-805f-7e5ad655ae26--mainActivityInstance--noLoop/true
3. curl -X POST -d 'options=user:jack' -H 'Content-Type: application/x-www-form-urlencoded' -H 'Accept: application/xml' -H 'Authorization: Basic cmVzdHVzZXI6cmVzdGJwbQ==' http://ec2-54-251-77-171.ap-southeast-1.compute.amazonaws.com:8080/bonita-server-rest/API/queryRuntimeAPI/getTask/QA_Data_Entry--1.51-
getTasks: (req,res,next) =>
return res.json {},401 unless req.user
###
Obtain one eligible task
###
@bonitaClient.queryRuntime.getOneTask "READY",req.user.username,null, (err,taskList) =>
console.log "------1"
console.log JSON.stringify(taskList)
console.log "------1"
curl -iL modeista.com
HTTP/1.1 500 Internal Server Error
Content-Type: text/plain
Date: Mon, 03 Dec 2012 03:01:03 GMT
Connection: keep-alive
Transfer-Encoding: chunked
An error has occurred: {"code":"ECONNREFUSED","errno":"ECONNREFUSED","syscall":"connect"}
[
{
"processUUID":{
"value":"QA_Data_Entry--1.5"
},
"instanceUUID":{
"value":"QA_Data_Entry--1.5--4"
},
"rootInstanceUUID":{
"value":"QA_Data_Entry--1.5--4"
Lanes:
{
"description":"QA Checks",
"name":"_1_Enter_Floor_Data",
"label":"1 Enter Floor Data",
"processDefinitionUUID":{
"value":"QA_Data_Entry--1.5"
},
"uuid":{
prompt: Is this ok?: (yes)
info: Creating snapshot 0.0.1-219
info Uploading: [=============================] 100%
info: Updating app modeista-site
info: Activating snapshot 0.0.1-219 for modeista-site
info: Starting app modeista-site
error: Error running command deploy
error: Nodejitsu Error (500): Internal Server Error
error: There was an error while attempting to deploy the app
error: