-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
failed to download latest fs-repo-migrations #111
Comments
@mrusme weird, it looks like there is something going on here related to the version of Linux you're running and how fs-repo-migrations work with it. It seems from ipfs/kubo#3698 that for some reason your version of Linux might not work with the normal Linux fs-repo-migrations binary, and instead requires one specially built using musl. It looks from ipfs/kubo#4219 that while we added in this musl based hack for a little while when the go-ipfs docker images were based on musl, we've long since moved to having the go-ipfs docker images based on glibc. You try manually downloading the latest version from https://dist.ipfs.io/#fs-repo-migrations and adding it to your path to see if that helps, however if that doesn't work then my guess is that you have two options:
@Stebalien @Kubuxu does this look right to you, and if so should we remove/alter the code in go-ipfs that tries to download the (non-existent) musl version of fs-repo-migrations? P.S. Why does this libc stuff matter? Is it based on the version of libc the Go compiler was built with? |
@mrusme I've put up a PR to go-ipfs (ipfs/kubo#7735), as this is really a go-ipfs issue, to clarify that linux + musl isn't supported at the moment (may still tweak the wording there a bit or add more documentation). As mentioned above: If you build this repo locally and put the fs-repo-migrations binary in your path it should work just fine. Additionally, if you're using an alpine docker image you could switch to something like one of the debian ones (e.g. go-ipfs uses golang:1.14.4-buster). Issue about publishing linux + musl binaries: ipfs/distributions#322 |
@aschmahmann thank you for the insightful explanation and quick resolution! Indeed, I'm using Alpine here. I will give manual building a try. If that doesn't work, I'll simply switch to |
I previously had an older version (
0.5.1
) of IPFS running. After upgrading to0.7.0
I get the following error:The text was updated successfully, but these errors were encountered: