Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs pin ls fails on old repo #5622

Open
xloem opened this issue Oct 21, 2018 · 3 comments
Open

ipfs pin ls fails on old repo #5622

xloem opened this issue Oct 21, 2018 · 3 comments
Labels
status/in-progress In progress topic/repo Topic repo

Comments

@xloem
Copy link

xloem commented Oct 21, 2018

Version information:

$ ipfs version --all
go-ipfs version: 0.4.17-
Repo version: 7
System version: amd64/linux
Golang version: go1.10.3

Type:

Bug / Support Issue

Description:

I booted up an old ipfs box, tried to check my pins using whatever old versio of ipfs it had:

$ ipfs pin ls
Error: The block referred to by 'QmfKGWG9hUFFE8wyMLKszYk4p9oZywpGmHrxWEUgumhX4h' was not a valid merkledag node

It looked like a bug, since I didn't recall having any reason to think the data was corrupt. So I upgraded ipfs to this current version and migrated the repo from 6 to 7. Unfortunately I still get an error:

$ ipfs pin ls
Error: failed to decode Protocol Buffers: incorrectly formatted merkledag node: unmarshal failed. proto: illegal wireType 7

which is even more cryptic!

Any hints on how to recover what remains from these pins?

@schomatis
Copy link
Contributor

Hey @xloem, could you share your repo to try to reproduce the problem?

@schomatis schomatis added topic/repo Topic repo need/author-input Needs input from the original author labels Oct 22, 2018
@xloem
Copy link
Author

xloem commented Oct 23, 2018

@schomatis
Copy link
Contributor

That's a bit more than I can store at the moment. @lgierth Do you know where can I download and test this?

@schomatis schomatis added status/in-progress In progress and removed need/author-input Needs input from the original author labels Oct 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/in-progress In progress topic/repo Topic repo
Projects
None yet
Development

No branches or pull requests

2 participants