augur-node: Error: market and outcome not found for shareToken
OS: Ubuntu 16.0.4
On an untouched Ubuntu instance with a local Parity node, npm installed successfully. Below output is from executing npm run clean-start
/setting up augur-node for first time.
connecting to ethereum-node: {"http":"http://localhost:8545","ws":"http://localhost:8546"}
websocket http://localhost:8546 closed: 1006 connection failed
websocket http://localhost:8546 closed: 1006 connection failed
connected to ethereum
Deleting existing DB for this configuration as the upload block number is not equal: OLD: 0 NEW: 5926223
Moving database /home/ubuntu/augur-node/augur-1-2.db to /home/ubuntu/augur-node/backup-augur-1-1533755130009.db 2
(node:31515) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, rename '/home/ubuntu/augur-node/augur-1-2.db' -> '/home/ubuntu/augur-node/backup-augur-1-1533755130009.db 2'
(node:31515) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:31515) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
/home/ubuntu/augur-node/augur-1-2.db
Getting Augur logs from block 5926223 to block 6112095
got 1156 logs in blocks { fromBlock: 6077535, toBlock: 6083294 }
Fetching blocks details from 6080002 to 6083282
new block: 6080002, 1533288120 (Fri Aug 03 2018 09:22:00 GMT+0000 (UTC))
Processing 3 logs
market and outcome not found for shareToken 0x19b11dc141d21e014faf08bd04185d635c58119a (0xe06c295508cf34df5b1bab4ee2b24b9772115a10a54336629e886bd94dba3e48
Stopping Augur Node Server
Unhandled rejection Error: market and outcome not found for shareToken 0x19b11dc141d21e014faf08bd04185d635c58119a (0xe06c295508cf34df5b1bab4ee2b24b9772115a10a54336629e886bd94dba3e48
at db.first.from.where.asCallback (/home/ubuntu/augur-node/build/blockchain/log-processors/order-created.js:20:29)
at tryCatcher (/home/ubuntu/augur-node/node_modules/bluebird/js/release/util.js:16:23)
at Promise.successAdapter [as _fulfillmentHandler0] (/home/ubuntu/augur-node/node_modules/bluebird/js/release/nodeify.js:22:30)
at Promise._settlePromise (/home/ubuntu/augur-node/node_modules/bluebird/js/release/promise.js:566:21)
at Promise._settlePromise0 (/home/ubuntu/augur-node/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/home/ubuntu/augur-node/node_modules/bluebird/js/release/promise.js:693:18)
at Async._drainQueue (/home/ubuntu/augur-node/node_modules/bluebird/js/release/async.js:133:16)
at Async._drainQueues (/home/ubuntu/augur-node/node_modules/bluebird/js/release/async.js:143:10)
at Immediate.Async.drainQueues [as _onImmediate] (/home/ubuntu/augur-node/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
connecting to augur-node: undefined
connecting to ethereum-node: {"http":"http://localhost:8545","ws":"http://localhost:8546"}
websocket http://localhost:8546 closed: 1006 connection failed
websocket http://localhost:8546 closed: 1006 connection failed
connected to ethereum
got 1156 logs in blocks { fromBlock: 6077535, toBlock: 6083294 }
Fetching blocks details from 6080002 to 6083282
got 1521 logs in blocks { fromBlock: 6083295, toBlock: 6089054 }
Fetching blocks details from 6083321 to 6089044
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! augur-node@5.4.0-1 start: `node ./build/runServer`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the augur-node@5.4.0-1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ubuntu/.npm/_logs/2018-08-08T19_05_35_356Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! augur-node@5.4.0-1 clean-start: `npm run rebuild && npm start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the augur-node@5.4.0-1 clean-start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
NPM log below:
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'clean-start' ]
2 info using npm@5.6.0
3 info using node@v8.11.3
4 verbose run-script [ 'preclean-start', 'clean-start', 'postclean-start' ]
5 info lifecycle augur-node@5.4.0-1~preclean-start: augur-node@5.4.0-1
6 info lifecycle augur-node@5.4.0-1~clean-start: augur-node@5.4.0-1
7 verbose lifecycle augur-node@5.4.0-1~clean-start: unsafe-perm in lifecycle true
8 verbose lifecycle augur-node@5.4.0-1~clean-start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ubuntu/augur-node/node_modules/.bin:/home/ubuntu/bin:/home/ubuntu/.l$
9 verbose lifecycle augur-node@5.4.0-1~clean-start: CWD: /home/ubuntu/augur-node
10 silly lifecycle augur-node@5.4.0-1~clean-start: Args: [ '-c', 'npm run rebuild && npm start' ]
11 silly lifecycle augur-node@5.4.0-1~clean-start: Returned: code: 1 signal: null
12 info lifecycle augur-node@5.4.0-1~clean-start: Failed to exec clean-start script
13 verbose stack Error: augur-node@5.4.0-1 clean-start: `npm run rebuild && npm start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid augur-node@5.4.0-1
15 verbose cwd /home/ubuntu/augur-node
16 verbose Linux 4.4.0-1061-aws
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "clean-start"
18 verbose node v8.11.3
19 verbose npm v5.6.0
20 error code ELIFECYCLE
21 error errno 1
22 error augur-node@5.4.0-1 clean-start: `npm run rebuild && npm start`
22 error Exit status 1
23 error Failed at the augur-node@5.4.0-1 clean-start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (11 by maintainers)
We are going to push out recommended arg for running local parity node. Stay tuned.