-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
repo migration failing when attempting to update to ipfs v0.4.16-rc1 #5191
Comments
I can confirm. Manually running ipfs-update works (what I've been doing) but the |
I believe this may have been broken in the original commands lib update but never noticed. Updating from v0.4.10 to v0.5.15 fails with the same error. |
Basically, we're now opening the repo every time we run every command. |
Should be fixable by adding the command to https://github.com/ipfs/go-ipfs/blob/master/cmd/ipfs/ipfs.go#L89 |
A quick inspection indicates that that won't be sufficient. However, I'm not sure how this has ever worked properly. Looking at the |
Yeah... this has been a bug since at least 0.4.6. Upgrading 0.4.6 - 0.4.11 fails. |
This breaks commands like `ipfs update` that expect IPFS to *not* be running. fixes #5191 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
This breaks commands like `ipfs update` that expect IPFS to *not* be running. fixes #5191 License: MIT Signed-off-by: Steven Allen <steven@stebalien.com>
@lanzafame by the way, thanks for finding this! |
@Stebalien no worries, thanks for fixing 👍 |
So. Bad news. While this bug has been fixed, it's a bug in the current version of go-ipfs so the fix won't help users of go-ipfs 0.4.15 upgrading to 0.4.16. |
I'll reopen this issue as the bug still manifests itself to |
Unfortunately, there isn't really anything we can do as it's a bug in shipped code. I guess we could have done an intermediate release that fixed the bug without the migration but we didn't want to delay the migration as it fixed a burning IPNS issue. |
Dear all, any news on that issue. it still does not work, even manually...: sh-3.2# ipfs-update install v0.4.17 |
A bit late but make sure you're mot running IPFS in another process. (closing as we're not going to be able to do anything about this issue other than field support requests) |
Version information:
Current:
go-ipfs version: 0.4.15-
Repo version: 6
System version: amd64/darwin
Golang version: go1.10.2
attempting to update to:
go-ipfs version: 0.4.16-rc1
Repo version: 7
System version: amd64/darwin
Golang version: go1.10.2
Type:
Bug
Description:
Attempting to install
go-ipfs
v0.4.16-rc1 via the latest version ofipfs-update
v1.5.3 and I am getting the following error. The ipfs daemon was not running whilst I ranipfs update install v0.4.16-rc1
.Not sure if this is related to #5179 or fs-repo-migrations.
The text was updated successfully, but these errors were encountered: