Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

storjshare status: TypeError: Cannot read property 'toString' of undefined #6

Closed
JeromeGillard opened this issue Jan 11, 2017 · 0 comments

Comments

@JeromeGillard
Copy link

JeromeGillard commented Jan 11, 2017

After upgrading from storjshare-cli to sotorjshare-daemon, I got this:

root@JGI02:~# storjshare start --config /root/config.json
Secp256k1 bindings are not compiled. Pure JS implementation will be used.

  * starting share with config at /root/config.json
root@JGI02:~# storjshare status
stream.js:74
      throw er; // Unhandled stream error in pipe.
      ^

TypeError: Cannot read property 'toString' of undefined
    at /root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/cli-table/lib/index.js:182:26
    at Array.forEach (native)
    at generateRow (/root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/cli-table/lib/index.js:181:11)
    at /root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/cli-table/lib/index.js:275:16
    at Table.forEach (native)
    at Table.toString (/root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/cli-table/lib/index.js:258:10)
    at /root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/bin/storjshare-status.js:51:30
    at Proto.apply (/root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/dnode-protocol/index.js:123:13)
    at Proto.handle (/root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/dnode-protocol/index.js:99:19)
    at D.dnode.handle (/root/.nvm/versions/node/v6.9.1/lib/node_modules/storjshare-daemon/node_modules/dnode/lib/dnode.js:140:21)
root@JGI02:~# storjshare status

┌──────────────────────────────────────────┬─────────┬────────┬───────┬──────────┐
│ Node ID                                  │ Status  │ Uptime │ Peers │ % Shared │
├──────────────────────────────────────────┼─────────┼────────┼───────┼──────────┤
│ f**************************************9 │ stopped │ 17s    │ 0     │ ...      │
└──────────────────────────────────────────┴─────────┴────────┴───────┴──────────┘

Note that the daemon stops anyway (that's another bug) and is not stopped by the status command.

@44203 44203 closed this as completed in #4 Jan 11, 2017
aleitner pushed a commit that referenced this issue Jul 14, 2017
Update storjshare-daemon-alpine.dockerfile
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant