Skip to content

can't blobs.add anymore #43

Description

@cryptix

I'm trying to re-add some files I used to share but when I do ssb-server blobs.add $file I just get a (wrong) hash and the server crashes with this error:

/home/cryptix/ssb/server/node_modules/multiblob/index.js:210%)
        if(err) throw explain(err, 'no callback provided')
                ^

Error: no callback provided
    at cb (/home/cryptix/ssb/server/node_modules/multiblob/index.js:210:23)
    at /home/cryptix/ssb/server/node_modules/multiblob/index.js:235:28
  Error: could not write to tmpfile
    at /home/cryptix/ssb/server/node_modules/multiblob/index.js:235:31
    at next (/home/cryptix/ssb/server/node_modules/pull-write-file/index.js:14:26)
    at /home/cryptix/ssb/server/node_modules/pull-stream/throughs/map.js:19:9
    at /home/cryptix/ssb/server/node_modules/pull-stream/throughs/through.js:19:9
    at source (/home/cryptix/ssb/server/node_modules/muxrpc/pull-weird.js:47:22)
    at /home/cryptix/ssb/server/node_modules/pull-stream/throughs/through.js:16:14
    at /home/cryptix/ssb/server/node_modules/pull-stream/throughs/map.js:11:7
    at /home/cryptix/ssb/server/node_modules/pull-write-file/index.js:19:35
    at FSReqCallback.wrapper [as oncomplete] (fs.js:638:5)
  Error: stream ended with:1423 but wanted:4096
    at drain (/home/cryptix/ssb/server/node_modules/pull-reader/index.js:43:26)
    at /home/cryptix/ssb/server/node_modules/pull-reader/index.js:63:18
    at /home/cryptix/ssb/server/node_modules/pull-reader/index.js:114:13
    at drain (/home/cryptix/ssb/server/node_modules/stream-to-pull-stream/index.js:126:18)
    at Socket.<anonymous> (/home/cryptix/ssb/server/node_modules/stream-to-pull-stream/index.js:143:5)

The hash isn't available after restart, so that's good but I don't know what to do about this error... I tried it with v16 and v15 of ssb-server, v14 sadly doesn't build anymore for me (some leveldb/v8 problem).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions