Package Details: storjshare-daemon 5.0.1-1

Git Clone URL: https://aur.archlinux.org/storjshare-daemon.git (read-only)
Package Base: storjshare-daemon
Description: A CLI Client for running a farming node
Upstream URL: https://github.com/Storj/storjshare-daemon
Licenses: AGPL3
Replaces: storjshare-cli
Submitter: Artraxon
Maintainer: arjen
Last Packager: arjen
Votes: 3
Popularity: 0.742580
First Submitted: 2017-03-30 17:45
Last Updated: 2017-09-21 07:39

Latest Comments

doronbehar commented on 2017-08-05 14:41

The authenticity of host 'github.com (192.30.253.112)' can't be established.aemon@3.5.5 checking installable status
RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.

Anyone knows how to fix this error? The installation stucks after I see this message.
I read https://github.com/Storj/storjshare-daemon/issues/73 and tried to edit PKGBUILD and append `--unsafe-perm` and it didn't help neither.

cemsbr commented on 2017-07-19 18:49

The error below happens after starting the farmer. It can only be seen if the daemon is started in foreground:

$ storjshare daemon -F

* starting daemon in foreground

{"level":"info","message":"attempting to start share with config at path /home/cemsbr/.config/storjshare/config/config.json","timestamp":"2017-07-19T18:44:25.180Z"}
internal/streams/legacy.js:59
throw er; // Unhandled stream error in pipe.
^

TypeError: conf.storageAllocation.match is not a function
at Object.exports.validateAllocation (/usr/lib/node_modules/storjshare-daemon/lib/utils.js:83:31)
at RPC.start (/usr/lib/node_modules/storjshare-daemon/lib/api.js:121:11)
at Proto.apply (/usr/lib/node_modules/storjshare-daemon/node_modules/dnode-protocol/index.js:123:13)
at Proto.handle (/usr/lib/node_modules/storjshare-daemon/node_modules/dnode-protocol/index.js:99:19)
at Object.dnode.handle (/usr/lib/node_modules/storjshare-daemon/node_modules/dnode/lib/dnode.js:140:21)
at Object.dnode.write (/usr/lib/node_modules/storjshare-daemon/node_modules/dnode/lib/dnode.js:106:22)
at Socket.ondata (_stream_readable.js:555:20)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:547:20)

ordtrogen commented on 2017-06-29 17:57

It's great to have it here in AUR!

Please update it to the latest version, which is 3.4.0

ordtrogen commented on 2017-06-12 22:43

It worked fine for me after I changed

depends=('nodejs>=6.9' 'python2>=2.7.0')

to

depends=('nodejs-lts-boron' 'python2>=2.7.0')

(thanks cemsbr) in the file PKGBUILD

Please maintainer, could you fix this in the package?

cemsbr commented on 2017-06-06 19:53

It doesn't work with nodejs v8. Changing the dependency from nodejs to nodejs-lts-boron worked for me.

gcarq commented on 2017-04-15 16:33

Hi,

please rewrite the package() function. Never use sudo in PKGBUILDs!
Not only will that make the build system unclean,
these changes also won't show up on install time on the system you use
it.

It could be written as:
package() {
cd "$srcdir"
npm install --user root -g --prefix "$pkgdir/usr" "v${pkgver}.tar.gz"
}

PS: also set sha256sums=() with a valid hash to verify file integrity.

See https://aur.archlinux.org/packages/nodejs-jshint/ for reference

Thanks!