question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

go-ipfs migration 0.7.0→0.9.0 not working in Brave Stable on macOS

See original GitHub issue

Description

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

  1. have repo produced by go-ipfs 0.7.0
  2. receive update to 0.9.0
  3. restart browser or IPFS node
  4. try using IPFS

Or artificial:

  1. activate ipfs in brave
  2. remove brave_ipfs directory (IPFS_PATH used by Brave)
  3. 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)
  4. start ipfs node again (a repo with 0.7.0 schema will be created)
  5. stop brave
  6. restore go-ipfs binary 0.9.0
  7. 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:

Screenshot 2021-07-12 at 23 00 27

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:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lidelcommented, Jul 13, 2021

@bbondy yes. go-ipfs tries to run migration every time it starts, so adding a working migration binary to PATH 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)

0reactions
GwynethLlewelyncommented, Sep 19, 2021

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found