go-ipfs migration 0.7.0→0.9.0 not working in Brave Stable on macOS
See original GitHub issueDescription
Users who had repo created with go-ipfs 0.7.0 are no longer able to start their node and are forced to use public gateway for resolving IPFS addresses.
Steps to Reproduce
- have repo produced by go-ipfs 0.7.0
- receive update to 0.9.0
- restart browser or IPFS node
- try using IPFS
Or artificial:
- activate ipfs in brave
- remove
brave_ipfs
directory (IPFS_PATH
used by Brave) - replace go-ipfs binary with 0.7.0 (store original 0.9.0 for later)
(go-ipfs binary is in a directory of one of extensions, they have random names like
oecghfpdmkjlhnfpmmjegjacfimsomething
the binary is named/Users/user/Library/Application\ Support/BraveSoftware/Brave-Browser/{extension-id}/{version}/go-ipfs_v0.9.0_darwin-amd64
– keep the name, just replace it with older verison) - start ipfs node again (a repo with 0.7.0 schema will be created)
- stop brave
- restore go-ipfs binary 0.9.0
- start brave and try using IPFS
Actual result:
Node fails to start. Clicking on “Start” on diagnostic screen starts the daemon without migrations enabled, producing an error:
Expected result:
Node starts as expected.
Reproduces how often:
Every time?
Brave version (brave://version info)
Brave 1.26.74 Chromium: 91.0.4472.124 (Official Build) (x86_64 translated)
Revision 7345a6d1bfcaff81162a957e9b7d52649fe2ac38-refs/branch-heads/4472_114@{#6}
OS macOS Version 11.2.3 (Build 20D91) JavaScript V8 9.1.269.36 User agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36
Version/Channel Information:
- Can you reproduce this issue with the current release?
- yes
- Can you reproduce this issue with the nightly channel?
- no this specific error, but is having a different issue: https://github.com/ipfs/go-ipfs/issues/8240#issuecomment-878616424
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Brave is not woking on macOS Monterey. Any solutions?
After updating my macOS to Monterey, Brave browser stop working on it. it is says: 'You can't open the application “Brave Browser” because ......
Read more >Suddenly Unable to Load Any Website with Brave on macOS ...
Description of the issue: Yesterday, as usual, Brave was working fine with multiple profiles, windows, and tabs running. As of this morning, ...
Read more >Brave crashes upon launch on brand new M1 iMac 12.1
Fresh install Brave browser on iMac 24" (macOS 12.1) Try to launch Brave crashes and does not open Expected result: Brave should open...
Read more >New Mac with MacOS Venture 13.0.1 does not support Brave
Is there a solution? Brave does not appear in Applications.
Read more >IPFS Support in Brave
Over the past several months, the Brave team has been working with Protocol Labs on adding InterPlanetary File System (IPFS) support in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bbondy yes.
go-ipfs
tries to run migration every time it starts, so adding a working migration binary toPATH
will enable existing users to finish migration and restore IPFS node to be fully operational.Only additional thing we need is to upstream migration fix from Nightly (always run
daemon
with--migrate=true
, which seems to be missing in current Stable)Great! Now please do the same for
nljcddpbnaianmglkpkneakjaapinabi/1.0.6
— we’re getting the dreadful“fs-repo-10-to-11” cannot be opened error message
again. See https://community.brave.com/t/fs-repo-10-to-11-cannot-be-opened-error-message/271783/7 — the issue appears to be the lack of notarization, same as before with 1.0.5.Thanks in advance!