Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [PM2] Tailing last 20 lines for [all] processes
- PM2: 2016-04-19 15:11:44: Process with pid 15760 still not killed, retrying...
- PM2: 2016-04-19 15:11:44: App name:WW-API id:3 disconnected
- PM2: 2016-04-19 15:11:44: App name:WW-API id:3 exited with code 0
- PM2: 2016-04-19 15:11:44: [HandleExit] PM2 is being killed, stopping restart procedure...
- PM2: 2016-04-19 15:11:44: Process with pid 15760 killed
- PM2: 2016-04-19 15:11:44: PM2 is being killed via kill method
- PM2: 2016-04-19 15:11:44: RPC socket closed
- PM2: 2016-04-19 15:11:44: PUB socket closed
- PM2: 2016-04-19 15:11:49: [PM2][WORKER] Started with refreshing interval: 30000
- PM2: 2016-04-19 15:11:49: [[[[ PM2/God daemon launched ]]]]
- PM2: 2016-04-19 15:11:49: BUS system [READY] on port /Users/amy/.pm2/pub.sock
- PM2: 2016-04-19 15:11:49: RPC interface [READY] on port /Users/amy/.pm2/rpc.sock
- PM2: 2016-04-19 15:11:49: Starting execution sequence in -cluster mode- for app name:WW-API id:0
- PM2: 2016-04-19 15:11:49: App name:WW-API id:0 online
- PM2: 2016-04-19 15:11:49: Starting execution sequence in -cluster mode- for app name:WW-API id:1
- PM2: 2016-04-19 15:11:49: App name:WW-API id:1 online
- PM2: 2016-04-19 15:11:49: Starting execution sequence in -cluster mode- for app name:WW-API id:2
- PM2: 2016-04-19 15:11:49: App name:WW-API id:2 online
- PM2: 2016-04-19 15:11:49: Starting execution sequence in -cluster mode- for app name:WW-API id:3
- PM2: 2016-04-19 15:11:49: App name:WW-API id:3 online
- WW-API-0 (err): |> [a lifted Sails app on port 1337]
- WW-API-0 (err): \___/ For help, see: http://links.sailsjs.org/docs
- WW-API-0 (err):
- WW-API-0 (err): Tip: Use `sails.config` to access your app's runtime configuration.
- WW-API-0 (err):
- WW-API-0 (err): 18 Models:
- WW-API-0 (err): Client,Day,EmailQDone,EmailQueue,Errors,Graph,Guest,LogDay,LogGuest,LogTrip,Reservations,Signature,Staff,Trip,TripSignature,Users
- WW-API-0 (err):
- WW-API-0 (err): 32 Controllers:
- WW-API-0 (err): AdminController,AmazonSESController,AutomationQueueController,CampaignMonitorController,ClientController,DayController,DevController,EmailCampaignController,EmailQueueController,ErrorController,ExportController,GraphController,GuestController,KountaController,MailchimpController,MandrillController,MobipostController,PDFController,ProcharterController,ResbookController,ReservSafeController,ReservWherewolfController,ReservationsController,RezdyController,SMSBroadcastController,SMSBulletinController,SMSController,ShopController,TimezoneController,TripController,UserController,UtilityController
- WW-API-0 (err):
- WW-API-0 (err): 15 Hooks:
- WW-API-0 (err): moduleloader,logger,request,orm,views,blueprints,responses,controllers,sockets,policies,services,cors,userconfig,http,userhooks
- WW-API-0 (err): ,
- WW-API-0 (err): port: 1337,
- WW-API-0 (err): baseUrl: 'http://localhost:1337',
- WW-API-0 (err): validate: [Function: _validate],
- WW-API-0 (err): explicitlyAcceptsHTML: false,
- WW-API-0 (err): wantsJSON: true,
- WW-API-0 (err): _modifiedRouteParams: [] } }
- WW-API-0 (out): 2016-04-19T02:42:59.486Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-0 (out): 2016-04-19T02:42:59.482Z - info: .-..-.
- WW-API-0 (out): 2016-04-19T02:42:59.482Z - info:
- WW-API-0 (out): 2016-04-19T02:42:59.483Z - info: Sails <| .-..-.
- WW-API-0 (out): 2016-04-19T02:42:59.483Z - info: v0.11.4 |\
- WW-API-0 (out): 2016-04-19T02:42:59.483Z - info: /|.\
- WW-API-0 (out): 2016-04-19T02:42:59.483Z - info: / || \
- WW-API-0 (out): 2016-04-19T02:42:59.483Z - info: ,' |' \
- WW-API-0 (out): 2016-04-19T02:42:59.484Z - info: .-'.-==|/_--'
- WW-API-0 (out): 2016-04-19T02:42:59.484Z - info: `--'-------'
- WW-API-0 (out): 2016-04-19T02:42:59.484Z - info: __---___--___---___--___---___--___
- WW-API-0 (out): 2016-04-19T02:42:59.484Z - info: ____---___--___---___--___---___--___-__
- WW-API-0 (out): 2016-04-19T02:42:59.484Z - info:
- WW-API-0 (out): 2016-04-19T02:42:59.485Z - info: Server lifted in `/Users/amy/Code/wherewolf-backend`
- WW-API-0 (out): 2016-04-19T02:42:59.485Z - info: To see your app, visit http://localhost:1337
- WW-API-0 (out): 2016-04-19T02:42:59.485Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-0 (out): info: *** Starting Sails in development ***
- WW-API-0 (out): info: *** Starting Sails in development ***
- WW-API-0 (out): info: *** Starting Sails in development ***
- WW-API-0 (out): info: *** Starting Sails in development ***
- [PM2] Streaming realtime logs for [all] processes
- 2016-04-19T15:12:10.509+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52165 #73 (1 connection now open)
- 2016-04-19T15:12:10.510+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52166 #74 (2 connections now open)
- 2016-04-19T15:12:10.510+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52164 #75 (3 connections now open)
- 2016-04-19T15:12:10.514+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52167 #76 (4 connections now open)
- 2016-04-19T15:12:10.520+1200 I NETWORK [conn73] end connection 127.0.0.1:52165 (3 connections now open)
- 2016-04-19T15:12:10.521+1200 I NETWORK [conn74] end connection 127.0.0.1:52166 (2 connections now open)
- 2016-04-19T15:12:10.521+1200 I NETWORK [conn75] end connection 127.0.0.1:52164 (1 connection now open)
- 2016-04-19T15:12:10.521+1200 I NETWORK [conn76] end connection 127.0.0.1:52167 (0 connections now open)
- 2016-04-19T15:12:10.529+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52168 #77 (1 connection now open)
- 2016-04-19T15:12:10.532+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52169 #78 (2 connections now open)
- 2016-04-19T15:12:10.532+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52170 #79 (3 connections now open)
- 2016-04-19T15:12:10.532+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52171 #80 (4 connections now open)
- 2016-04-19T15:12:10.533+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52172 #81 (5 connections now open)
- 2016-04-19T15:12:10.535+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52173 #82 (6 connections now open)
- 2016-04-19T15:12:10.535+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52174 #83 (7 connections now open)
- 2016-04-19T15:12:10.535+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52175 #84 (8 connections now open)
- 2016-04-19T15:12:10.536+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52176 #85 (9 connections now open)
- 2016-04-19T15:12:10.536+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52177 #86 (10 connections now open)
- 2016-04-19T15:12:10.536+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52178 #87 (11 connections now open)
- 2016-04-19T15:12:10.536+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52179 #88 (12 connections now open)
- 2016-04-19T15:12:10.537+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52180 #89 (13 connections now open)
- 2016-04-19T15:12:10.537+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52181 #90 (14 connections now open)
- 2016-04-19T15:12:10.537+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52182 #91 (15 connections now open)
- 2016-04-19T15:12:10.596+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52183 #92 (16 connections now open)
- 2016-04-19T15:12:10.612+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52184 #93 (17 connections now open)
- 2016-04-19T15:12:10.622+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52185 #94 (18 connections now open)
- 2016-04-19T15:12:10.632+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52186 #95 (19 connections now open)
- 2016-04-19T15:12:10.642+1200 I NETWORK [initandlisten] connection accepted from 127.0.0.1:52187 #96 (20 connections now open)
- WW-API-3 2016-04-19T03:12:11.725Z - info:
- WW-API-3 2016-04-19T03:12:11.726Z - info: .-..-.
- WW-API-3 2016-04-19T03:12:11.727Z - info:
- WW-API-3 2016-04-19T03:12:11.727Z - info: Sails <| .-..-.
- WW-API-3 2016-04-19T03:12:11.727Z - info: v0.11.4 |\
- WW-API-1 2016-04-19T03:12:11.726Z - info:
- WW-API-3 2016-04-19T03:12:11.727Z - info: /|.\
- WW-API-3 2016-04-19T03:12:11.727Z - info: / || \
- WW-API-3 2016-04-19T03:12:11.727Z - info: ,' |' \
- WW-API-3 2016-04-19T03:12:11.727Z - info: .-'.-==|/_--'
- WW-API-3 2016-04-19T03:12:11.728Z - info: `--'-------'
- WW-API-1 2016-04-19T03:12:11.727Z - info: .-..-.
- WW-API-1 2016-04-19T03:12:11.728Z - info:
- WW-API-2 2016-04-19T03:12:11.727Z - info:
- WW-API-2 2016-04-19T03:12:11.728Z - info: .-..-.
- WW-API-2 2016-04-19T03:12:11.728Z - info:
- WW-API-2 2016-04-19T03:12:11.728Z - info: Sails <| .-..-.
- WW-API-3 2016-04-19T03:12:11.728Z - info: __---___--___---___--___---___--___
- WW-API-3 2016-04-19T03:12:11.728Z - info: ____---___--___---___--___---___--___-__
- WW-API-3 2016-04-19T03:12:11.728Z - info:
- WW-API-3 2016-04-19T03:12:11.728Z - info: Server lifted in `/Users/amy/Code/wherewolf-backend`
- WW-API-3 2016-04-19T03:12:11.729Z - info: To see your app, visit http://localhost:1337
- WW-API-1 2016-04-19T03:12:11.728Z - info: Sails <| .-..-.
- WW-API-1 2016-04-19T03:12:11.728Z - info: v0.11.4 |\
- WW-API-1 2016-04-19T03:12:11.728Z - info: /|.\
- WW-API-1 2016-04-19T03:12:11.728Z - info: / || \
- WW-API-1 2016-04-19T03:12:11.728Z - info: ,' |' \
- WW-API-1 2016-04-19T03:12:11.729Z - info: .-'.-==|/_--'
- WW-API-1 2016-04-19T03:12:11.729Z - info: `--'-------'
- WW-API-1 2016-04-19T03:12:11.729Z - info: __---___--___---___--___---___--___
- WW-API-1 2016-04-19T03:12:11.729Z - info: ____---___--___---___--___---___--___-__
- WW-API-1 2016-04-19T03:12:11.729Z - info:
- WW-API-1 2016-04-19T03:12:11.729Z - info: Server lifted in `/Users/amy/Code/wherewolf-backend`
- WW-API-2 2016-04-19T03:12:11.729Z - info: v0.11.4 |\
- WW-API-2 2016-04-19T03:12:11.729Z - info: /|.\
- WW-API-2 2016-04-19T03:12:11.729Z - info: / || \
- WW-API-2 2016-04-19T03:12:11.729Z - info: ,' |' \
- WW-API-2 2016-04-19T03:12:11.729Z - info: .-'.-==|/_--'
- WW-API-2 2016-04-19T03:12:11.729Z - info: `--'-------'
- WW-API-2 2016-04-19T03:12:11.729Z - info: __---___--___---___--___---___--___
- WW-API-2 2016-04-19T03:12:11.730Z - info: ____---___--___---___--___---___--___-__
- WW-API-2 2016-04-19T03:12:11.730Z - info:
- WW-API-2 2016-04-19T03:12:11.730Z - info: Server lifted in `/Users/amy/Code/wherewolf-backend`
- WW-API-2 2016-04-19T03:12:11.730Z - info: To see your app, visit http://localhost:1337
- WW-API-2 2016-04-19T03:12:11.730Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-3 2016-04-19T03:12:11.729Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-1 2016-04-19T03:12:11.730Z - info: To see your app, visit http://localhost:1337
- WW-API-1 2016-04-19T03:12:11.730Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-3 2016-04-19T03:12:11.733Z - error: TypeError: Cannot read property 'toLowerCase' of undefined
- at _parseHTTPBody (/Users/amy/Code/wherewolf-backend/node_modules/skipper/index.js:55:19)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:121:28
- at module.exports (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:161:7)
- at loadExpress (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/initialize.js:102:65)
- at Hook.initialize (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/index.js:203:16)
- at Hook.bound [as initialize] (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/index.js:74:14
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:451:17
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:441:17
- at _each (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:46:13)
- at Immediate.taskComplete (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:440:13)
- at processImmediate [as _immediateCallback] (timers.js:383:17) [TypeError: Cannot read property 'toLowerCase' of undefined]
- WW-API-1 2016-04-19T03:12:11.734Z - error: TypeError: Cannot read property 'toLowerCase' of undefined
- at _parseHTTPBody (/Users/amy/Code/wherewolf-backend/node_modules/skipper/index.js:55:19)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:121:28
- at module.exports (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:161:7)
- at loadExpress (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/initialize.js:102:65)
- at Hook.initialize (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/index.js:203:16)
- at Hook.bound [as initialize] (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/index.js:74:14
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:451:17
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:441:17
- at _each (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:46:13)
- at Immediate.taskComplete (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:440:13)
- at processImmediate [as _immediateCallback] (timers.js:383:17) [TypeError: Cannot read property 'toLowerCase' of undefined]
- WW-API-1 2016-04-19T03:12:11.735Z - error: Encountered an error when trying to use configured bodyParser.
- WW-API-2 2016-04-19T03:12:11.734Z - error: TypeError: Cannot read property 'toLowerCase' of undefined
- at _parseHTTPBody (/Users/amy/Code/wherewolf-backend/node_modules/skipper/index.js:55:19)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:121:28
- at module.exports (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:161:7)
- at loadExpress (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/initialize.js:102:65)
- at Hook.initialize (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/index.js:203:16)
- at Hook.bound [as initialize] (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/index.js:74:14
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:451:17
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:441:17
- at _each (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:46:13)
- at Immediate.taskComplete (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:440:13)
- at processImmediate [as _immediateCallback] (timers.js:383:17) [TypeError: Cannot read property 'toLowerCase' of undefined]
- WW-API-2 2016-04-19T03:12:11.735Z - error: Encountered an error when trying to use configured bodyParser.
- WW-API-1 2016-04-19T03:12:11.735Z - error: Usually, this means that it was installed incorrectly.
- WW-API-2 2016-04-19T03:12:11.735Z - error: Usually, this means that it was installed incorrectly.
- WW-API-1 2016-04-19T03:12:11.735Z - error: A custom bodyParser can be configured without calling the wrapper function- e.g.:
- ```
- bodyParser: require("connect-busboy")
- ```
- WW-API-2 2016-04-19T03:12:11.735Z - error: A custom bodyParser can be configured without calling the wrapper function- e.g.:
- ```
- bodyParser: require("connect-busboy")
- ```
- WW-API-1 2016-04-19T03:12:11.735Z - error: Alternatively, if you need to provide options:
- ```
- bodyParser: {
- fn: require("connect-busboy"),
- options: {/* ... */}
- }
- ```
- WW-API-3 2016-04-19T03:12:11.735Z - error: Encountered an error when trying to use configured bodyParser.
- WW-API-3 2016-04-19T03:12:11.736Z - error: Usually, this means that it was installed incorrectly.
- WW-API-3 2016-04-19T03:12:11.736Z - error: A custom bodyParser can be configured without calling the wrapper function- e.g.:
- ```
- bodyParser: require("connect-busboy")
- ```
- WW-API-3 2016-04-19T03:12:11.736Z - error: Alternatively, if you need to provide options:
- ```
- bodyParser: {
- fn: require("connect-busboy"),
- options: {/* ... */}
- }
- ```
- WW-API-0 2016-04-19T03:12:11.736Z - info:
- WW-API-0 2016-04-19T03:12:11.737Z - info: .-..-.
- WW-API-0 2016-04-19T03:12:11.737Z - info:
- WW-API-0 2016-04-19T03:12:11.737Z - info: Sails <| .-..-.
- WW-API-0 2016-04-19T03:12:11.737Z - info: v0.11.4 |\
- WW-API-0 2016-04-19T03:12:11.737Z - info: /|.\
- WW-API-0 2016-04-19T03:12:11.738Z - info: / || \
- WW-API-0 2016-04-19T03:12:11.738Z - info: ,' |' \
- WW-API-0 2016-04-19T03:12:11.738Z - info: .-'.-==|/_--'
- WW-API-0 2016-04-19T03:12:11.738Z - info: `--'-------'
- WW-API-0 2016-04-19T03:12:11.738Z - info: __---___--___---___--___---___--___
- WW-API-0 2016-04-19T03:12:11.738Z - info: ____---___--___---___--___---___--___-__
- WW-API-0 2016-04-19T03:12:11.738Z - info:
- WW-API-0 2016-04-19T03:12:11.738Z - info: Server lifted in `/Users/amy/Code/wherewolf-backend`
- WW-API-0 2016-04-19T03:12:11.739Z - info: To see your app, visit http://localhost:1337
- WW-API-0 2016-04-19T03:12:11.739Z - info: To shut down Sails, press <CTRL> + C at any time.
- WW-API-2 2016-04-19T03:12:11.740Z - error: Alternatively, if you need to provide options:
- ```
- bodyParser: {
- fn: require("connect-busboy"),
- options: {/* ... */}
- }
- ```
- WW-API-0 2016-04-19T03:12:11.743Z - error: TypeError: Cannot read property 'toLowerCase' of undefined
- at _parseHTTPBody (/Users/amy/Code/wherewolf-backend/node_modules/skipper/index.js:55:19)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:121:28
- at module.exports (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/middleware/defaults.js:161:7)
- at loadExpress (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/initialize.js:102:65)
- at Hook.initialize (/Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/http/index.js:203:16)
- at Hook.bound [as initialize] (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/lodash/dist/lodash.js:729:21)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/lib/hooks/index.js:74:14
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:451:17
- at /Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:441:17
- at _each (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:46:13)
- at Immediate.taskComplete (/Users/amy/Code/wherewolf-backend/node_modules/sails/node_modules/async/lib/async.js:440:13)
- at processImmediate [as _immediateCallback] (timers.js:383:17) [TypeError: Cannot read property 'toLowerCase' of undefined]
- WW-API-0 2016-04-19T03:12:11.743Z - error: Encountered an error when trying to use configured bodyParser.
- WW-API-0 2016-04-19T03:12:11.744Z - error: Usually, this means that it was installed incorrectly.
- WW-API-0 2016-04-19T03:12:11.744Z - error: A custom bodyParser can be configured without calling the wrapper function- e.g.:
- ```
- bodyParser: require("connect-busboy")
- ```
- WW-API-0 2016-04-19T03:12:11.744Z - error: Alternatively, if you need to provide options:
- ```
- bodyParser: {
- fn: require("connect-busboy"),
- options: {/* ... */}
- }
- ```
- WW-API-2 2016-04-19T03:12:34.216Z - error: Client.findOne fail { endpoint: '/user/login/:id?',
- pool: 'demo',
- error:
- Error (E_UNKNOWN) :: Encountered an unexpected error
- : ER_BAD_FIELD_ERROR: Unknown column 'client.accommodation' in 'field list'
- at Query.Sequence._packetToError (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:48:14)
- at Query.ErrorPacket (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Query.js:83:18)
- at Protocol._parsePacket (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:280:23)
- at Parser.write (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Parser.js:73:12)
- at Protocol.write (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:39:16)
- at Socket.<anonymous> (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:96:28)
- at emitOne (events.js:77:13)
- at Socket.emit (events.js:169:7)
- at readableAddChunk (_stream_readable.js:146:16)
- at Socket.Readable.push (_stream_readable.js:110:10)
- at TCP.onread (net.js:523:20)
- --------------------
- at Protocol._enqueue (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:141:48)
- at PoolConnection.query (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:201:25)
- at __FIND__ (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/lib/adapter.js:838:20)
- at afterwards (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/lib/connections/spawn.js:84:5)
- at /Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/lib/connections/spawn.js:40:7
- at Ping.onOperationComplete [as _callback] (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/Pool.js:99:5)
- at Ping.Sequence.end (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:96:24)
- at Ping.Sequence.OkPacket (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/sequences/Sequence.js:105:8)
- at Protocol._parsePacket (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:280:23)
- at Parser.write (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Parser.js:73:12)
- at Protocol.write (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/protocol/Protocol.js:39:16)
- at Socket.<anonymous> (/Users/amy/Code/wherewolf-backend/node_modules/sails-mysql/node_modules/mysql/lib/Connection.js:96:28)
- at emitOne (events.js:77:13)
- at Socket.emit (events.js:169:7)
- at readableAddChunk (_stream_readable.js:146:16)
- at Socket.Readable.push (_stream_readable.js:110:10)
- Details: Error: ER_BAD_FIELD_ERROR: Unknown column 'client.accommodation' in 'field list'
- ,
- req:
- IncomingMessage {
- _readableState:
- ReadableState {
- objectMode: false,
- highWaterMark: 16384,
- buffer: [],
- length: 0,
- pipes: null,
- pipesCount: 0,
- flowing: true,
- ended: true,
- endEmitted: true,
- reading: false,
- sync: true,
- needReadable: false,
- emittedReadable: false,
- readableListening: false,
- defaultEncoding: 'utf8',
- ranOut: false,
- awaitDrain: 0,
- readingMore: false,
- decoder: null,
- encoding: null,
- resumeScheduled: false },
- readable: false,
- domain: null,
- _events: {},
- _eventsCount: 0,
- _maxListeners: undefined,
- socket:
- Socket {
- _connecting: false,
- _hadError: false,
- _handle: [Object],
- _parent: null,
- _host: null,
- _readableState: [Object],
- readable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- bytesRead: 0,
- _bytesDispatched: 0,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: 44527,
- parser: [Object],
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage: [Object],
- _peername: [Object] },
- connection:
- Socket {
- _connecting: false,
- _hadError: false,
- _handle: [Object],
- _parent: null,
- _host: null,
- _readableState: [Object],
- readable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- bytesRead: 0,
- _bytesDispatched: 0,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: 44527,
- parser: [Object],
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage: [Object],
- _peername: [Object] },
- httpVersionMajor: 1,
- httpVersionMinor: 1,
- httpVersion: '1.1',
- complete: true,
- headers:
- { 'user-agent': 'Mozilla/5.0 (iPad; CPU OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238',
- 'content-type': 'application/x-www-form-urlencoded',
- origin: 'http://192.168.1.12:8000',
- accept: 'text/plain, */*; q=0.01',
- referer: 'http://192.168.1.12:8000/wherewolf/index.html',
- 'accept-language': 'en-us',
- 'x-requested-with': 'XMLHttpRequest',
- 'content-length': '20',
- host: 'localhost:1337',
- connection: 'close' },
- rawHeaders:
- [ 'User-Agent',
- 'Mozilla/5.0 (iPad; CPU OS 9_3_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E238',
- 'Content-Type',
- 'application/x-www-form-urlencoded',
- 'Origin',
- 'http://192.168.1.12:8000',
- 'Accept',
- 'text/plain, */*; q=0.01',
- 'Referer',
- 'http://192.168.1.12:8000/wherewolf/index.html',
- 'Accept-Language',
- 'en-us',
- 'X-Requested-With',
- 'XMLHttpRequest',
- 'Content-Length',
- '20',
- 'Host',
- 'localhost:1337',
- 'Connection',
- 'close' ],
- trailers: {},
- rawTrailers: [],
- upgrade: false,
- url: '/user/login',
- method: 'POST',
- statusCode: null,
- statusMessage: null,
- client:
- Socket {
- _connecting: false,
- _hadError: false,
- _handle: [Object],
- _parent: null,
- _host: null,
- _readableState: [Object],
- readable: true,
- domain: null,
- _events: [Object],
- _eventsCount: 10,
- _maxListeners: undefined,
- _writableState: [Object],
- writable: true,
- allowHalfOpen: true,
- destroyed: false,
- bytesRead: 0,
- _bytesDispatched: 0,
- _sockname: null,
- _pendingData: null,
- _pendingEncoding: '',
- server: [Object],
- _idleTimeout: 120000,
- _idleNext: [Object],
- _idlePrev: [Object],
- _idleStart: 44527,
- parser: [Object],
- on: [Function: socketOnWrap],
- _paused: false,
- read: [Function],
- _consuming: true,
- _httpMessage: [Object],
- _peername: [Object] },
- _consuming: true,
- _dumped: false,
- originalUrl: '/user/login',
- _parsedUrl:
- Url {
- protocol: null,
- slashes: null,
- auth: null,
- host: null,
- port: null,
- hostname: null,
- hash: null,
- search: null,
- query: null,
- pathname: '/user/login',
- path: '/user/login',
- href: '/user/login',
- _raw: '/user/login' },
- query: {},
- res:
- ServerResponse {
- domain: null,
- _events: [Object],
- _eventsCount: 1,
- _maxListeners: undefined,
- output: [],
- outputEncodings: [],
- outputCallbacks: [],
- outputSize: 0,
- writable: true,
- _last: false,
- chunkedEncoding: false,
- shouldKeepAlive: false,
- useChunkedEncodingByDefault: true,
- sendDate: true,
- _removedHeader: {},
- _contentLength: null,
- _hasBody: true,
- _trailer: '',
- finished: false,
- _headerSent: false,
- socket: [Object],
- connection: [Object],
- _header: null,
- _headers: [Object],
- _headerNames: [Object],
- _onPendingData: [Function: updateOutgoingData],
- req: [Circular],
- locals: [Object],
- jsonx: [Function: jsonx],
- badRequest: [Function: bound],
- forbidden: [Function: bound],
- notFound: [Function: bound],
- ok: [Function: bound],
- serverError: [Function: bound],
- created: [Function: bound],
- negotiate: [Function: bound],
- guessView: [Function],
- view: [Function] },
- next: [Function: next],
- _startTime: Tue Apr 19 2016 15:12:34 GMT+1200 (NZST),
- file: [Function],
- body: { user: 'Jamie', pass: 'duck' },
- _body: true,
- length: undefined,
- read: [Function],
- originalMethod: 'POST',
- _route_index: 385,
- route:
- Route {
- path: '/user/login/:id?',
- method: 'post',
- callbacks: [Object],
- keys: [Object],
- regexp: /^\/user\/login(?:\/([^\/]+?))?\/?$/i,
- params: [Object] },
- params: [ id: undefined ],
- options:
- { detectedVerb: [Object],
- skipRegex: [],
- _middlewareType: 'CORS HOOK: sendHeaders',
- action: 'login',
- controller: 'user',
- actions: true,
- rest: false,
- shortcuts: false,
- index: true,
- prefix: '',
- restPrefix: '',
- pluralize: false,
- populate: true,
- autoWatch: true },
- allParams: [Function],
- flash: [Function: _flash],
- _sails:
- |> [a lifted Sails app on port 1337]
- \___/ For help, see: http://links.sailsjs.org/docs
- Tip: Use `sails.config` to access your app's runtime configuration.
- 18 Models:
- Client,Day,EmailQDone,EmailQueue,Errors,Graph,Guest,LogDay,LogGuest,LogTrip,Reservations,Signature,Staff,Trip,TripSignature,Users
- 32 Controllers:
- AdminController,AmazonSESController,AutomationQueueController,CampaignMonitorController,ClientController,DayController,DevController,EmailCampaignController,EmailQueueController,ErrorController,ExportController,GraphController,GuestController,KountaController,MailchimpController,MandrillController,MobipostController,PDFController,ProcharterController,ResbookController,ReservSafeController,ReservWherewolfController,ReservationsController,RezdyController,SMSBroadcastController,SMSBulletinController,SMSController,ShopController,TimezoneController,TripController,UserController,UtilityController
- 15 Hooks:
- moduleloader,logger,request,orm,views,blueprints,responses,controllers,sockets,policies,services,cors,userconfig,http,userhooks
- ,
- port: 1337,
- baseUrl: 'http://localhost:1337',
- validate: [Function: _validate],
- explicitlyAcceptsHTML: false,
- wantsJSON: true,
- _modifiedRouteParams: [] } }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement