Hello
I have such a problem,
i created block explorer and when I connect with my coin writes an error:
root@newera:/explorer# node scripts/sync.js index reindex
Script already running..
root@newera:/explorer# node scripts/sync.js index reindex
script launched with pid: 29567
Unable to connect to explorer API
index cleared (reindex)
TypeError: Cannot read property 'length' of undefined
at /root/explorer/lib/database.js:642:36
at Request._callback (/root/explorer/lib/explorer.js:107:14)
at Request.self.callback (/root/explorer/node_modules/request/request.js:187:22)
at Request.EventEmitter.emit (events.js:98:17)
at Request. (/root/explorer/node_modules/request/request.js:1044:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage. (/root/explorer/node_modules/request/request.js:965:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:920:16
at process._tickCallback (node.js:415:13)
newera.conf
rpcuser=newerarpc
rpcpassword=mypassword
rpcallowip=127.0.0.1
rpcport=49110
listen=0
server=1
txindex=1
blockexplorer -
http://178.62.226.109:3001I use server ubuntu 16.04 digitalocean.com
please explain what the problem is