ipfs / ipfs/kubo

Unable to pin a plain, single-block DAG-JSON entry ( baguqeerazjjzmyw4skxuaqashzaihvgjyhnzn7gz4cpgeumuplonz22rr7pa )

Open
#9,282 7 comments 0 reactions 0 assignees View on GitHub
kind/bug need/triage
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

### Checklist

- [X] This is a bug report, not a question. Ask questions on [discuss.ipfs.io](https://discuss.ipfs.io).
- [X] I have searched on the [issue tracker](https://github.com/ipfs/kubo/issues?q=is%3Aissue) for my bug.
- [X] I am running the latest [kubo version](https://dist.ipfs.tech/#kubo) or have an issue updating.

### Installation method

built from source

### Version

```Text
~$ ipfs version --all
Kubo version: 0.15.0-3ae52a41e
Repo version: 12
System version: arm64/linux
Golang version: go1.18.3
```

### Config

```json
stock
```

### Description

```
~$ ipfs pin add --progress --timeout 5s baguqeerazjjzmyw4skxuaqashzaihvgjyhnzn7gz4cpgeumuplonz22rr7pa; echo $?
Error: timed outd 0 nodes
1
```

Switching codec:
```
~$ ipfs cid format baguqeerazjjzmyw4skxuaqashzaihvgjyhnzn7gz4cpgeumuplonz22rr7pa -b f
f01a9021220ca539662dc92af4040123e4083d4c9c1db96fcd9e09e6251947adcdceb518fde
```
```
f01a9021220ca539662dc92af4040123e4083d4c9c1db96fcd9e09e6251947adcdceb518fde
f01551220ca539662dc92af4040123e4083d4c9c1db96fcd9e09e6251947adcdceb518fde
```
```
~$ ipfs pin add f01551220ca539662dc92af4040123e4083d4c9c1db96fcd9e09e6251947adcdceb518fde
pinned bafkreigkkolgfxesv5aeaer6icb5jsob3olpzwpatzrfdfd23toowump3y recursively
```

Now that we have everything in the local blockstore things are happy:
```
~$ ipfs pin add --progress --timeout 5s baguqeerazjjzmyw4skxuaqashzaihvgjyhnzn7gz4cpgeumuplonz22rr7pa
pinned baguqeerazjjzmyw4skxuaqashzaihvgjyhnzn7gz4cpgeumuplonz22rr7pa recursively
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.