-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
go-ipfs repo migration from 0.7.0 to 0.9.0-rc1 is broken #15937
go-ipfs repo migration from 0.7.0 to 0.9.0-rc1 is broken #15937
Comments
Verified
Steps:
In addition to Brave
My nodeDirect URIsIPFS
IPNS
Path gateway URL:
Subdomain links:
Imports - context-menu items for selection
|
Linked content | This page | Selected audio | Selected text | Selected image | Selected video |
---|---|---|---|---|---|
Sharing - "hamburger" -> flyout, on browser toolbar
IPFS -> Share local file using IPFS
Big Buck Bunny: https://upload.wikimedia.org/wikipedia/commons/c/c0/Big_Buck_Bunny_4K.webm
Share link: https://ipfs.io/ipfs/QmWUg6PJubdKTXWp4KqjkkCidrD8LPoCnoGyYxSKG71fTs?filename=Big_Buck_Bunny_4K.webm
IPFS -> Share local folder using IPFS
Share link: https://ipfs.io/ipfs/Qmb7MgAK5kZNkiFSkScbF7dG9jGftwqKe9Ndw4oNGvaLep
local file shared using IPFS | local folder shared using IPFS |
---|---|
Verification passed on
Brave | 1.27.78 Chromium: 91.0.4472.114 (Official Build) beta (64-bit)
-- | --
Revision | 4bb19460e8d88c3446b360b0df8fd991fee49c0b-refs/branch-heads/4472@{#1496}
OS | Windows 10 OS Version 2004 (Build 19041.1052)
Brave
Confirmed Start
, Stop
, Restart
, and My node
worked as expected along with following
brave://ipfs
-> brave://ipfs-internals
brave://ipfs-internals (0.7.0) | brave://ipfs-internals (0.9.0-rc1) |
---|---|
My node
IPNS
ipns://brantly.eth
ipns://en.wikipedia-on-ipfs.org
ipns://libp2p.io/
ipns://en.wikipedia-on-ipfs.org/wiki/Tokyo_National_Museum.html
ipns://browsers.today
ipns://ipfs.io
http://en.wikipedia-on-ipfs.org.ipns.localhost:48082/wiki/
-Open using IPFS
(badge in URL bar) ->ipns://en.wikipedia-on-ipfs.org/wiki/
http://en.wikipedia-on-ipfs.org.ipns.localhost:48082/wiki/ | ipns://en.wikipedia-on-ipfs.org/wiki/ |
---|---|
Imports - context-menu items for selection
Import to IPFS -> Linked content
https://brave.com/brave-search-beta/
Logged issue for linked content #16680
Import to IPFS -> This page
wikipedia.org
encountered #16680 (comment)
Import to IPFS -> Selected audio
https://file-examples-com.github.io/uploads/2017/11/file_example_OOG_5MG.ogg
Import to IPFS -> Selected image
https://homepages.cae.wisc.edu/~ece533/images/airplane.png
Import to IPFS -> Selected text
lipsum.com
Encountered #16680 (comment)
Import to IPFS -> Selected video
https://upload.wikimedia.org/wikipedia/commons/c/c0/Big_Buck_Bunny_4K.webm
Logged #16705
Selected audio | Selected image | Selected video | Selected video | video imports via import menu option |
---|---|---|---|---|
Sharing - "hamburger" -> flyout, on browser toolbar
IPFS -> Share local file using IPFS
Big Buck Bunny: https://upload.wikimedia.org/wikipedia/commons/c/c0/Big_Buck_Bunny_4K.webm
Share link: https://ipfs.io/ipfs/QmWUg6PJubdKTXWp4KqjkkCidrD8LPoCnoGyYxSKG71fTs?filename=Big_Buck_Bunny_4K.webm
IPFS -> Share local folder using IPFS
local file shared using IPFS | local folder shared using IPFS |
---|---|
.txt and .json files cannot be viewed in IPFS localhost Logged #16713
Verified PASSED
using the testplan from brave/brave-core#8892 and here, on build
Brave | 1.27.91 Chromium: 91.0.4472.124 (Official Build) beta (64-bit) |
---|---|
Revision | 7345a6d1bfcaff81162a957e9b7d52649fe2ac38-refs/branch-heads/4472_114@{#6} |
OS | Linux |
example | example | example |
---|---|---|
@spylogsster I took your advice and swapped the binary and found a bug.
Description
IPFS node fails to start if I swap
go-ipfs_v0.7.0_linux-amd64
binary and replace it with 0.9.0-rc1 (ipfs/kubo#8058), which suggests it is not safe to update go-ipfs component without additional work.Steps to Reproduce
ipns://en.wikipedia-on-ipfs.org
go-ipfs_v0.7.0_linux-amd64
)ipns://en.wikipedia-on-ipfs.org
Actual result:
brave://ipfs-internals/
produces two errors in log:Expected result:
Migration should be applied and
ipns://en.wikipedia-on-ipfs.org
should open correctly.Reproduces how often:
Every time
Desktop Brave version:
Nightly v1.26.22
Miscellaneous Information:
The very first command executed against the repo should be
ipfs daemon --migrate
to ensure that subsequent commands operate on repo with compatible data layoutI manually run
go-ipfs_v0.9.0-rc1_linux-amd64 daemon --migrate=true
command and migration works as expected, which means Brave does something extra (as suggested by double error), or there is a race condition when repo is accessed before migrations starts/finish:The text was updated successfully, but these errors were encountered: