Skip to content
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

Update IPFS node to 0.9.1 #17172

Closed
lidel opened this issue Jul 26, 2021 · 2 comments · Fixed by brave/brave-core-crx-packager#242
Closed

Update IPFS node to 0.9.1 #17172

lidel opened this issue Jul 26, 2021 · 2 comments · Fixed by brave/brave-core-crx-packager#242

Comments

@lidel
Copy link

lidel commented Jul 26, 2021

Description

release notes https://github.com/ipfs/go-ipfs/releases/tag/v0.9.1
artifacts https://dist.ipfs.io/go-ipfs/v0.9.1

Issue to update node to 0.9.1 for osx/win/linux

Expected result:

The node has been updated and all IPFS features are working correctly on all platforms.

Test Plan

@rebron rebron added this to Untriaged in IPFS via automation Jul 26, 2021
@spylogsster spylogsster moved this from Untriaged to Backlog in IPFS Aug 9, 2021
@spylogsster spylogsster moved this from Backlog to Backlog P1/P2 in IPFS Aug 9, 2021
@spylogsster spylogsster moved this from Backlog P1/P2 to In Progress in IPFS Aug 9, 2021
@spylogsster spylogsster self-assigned this Aug 9, 2021
@spylogsster spylogsster moved this from In Progress to In Review in IPFS Aug 9, 2021
IPFS automation moved this from In Review to Done Aug 9, 2021
@spylogsster spylogsster added this to the 1.30.x - Nightly milestone Aug 9, 2021
@stephendonner
Copy link

stephendonner commented Aug 11, 2021

Verified PASSED using --use-dev-goupdater-url

Brave 1.30.15 Chromium: 92.0.4515.131 (Official Build) nightly (x86_64)
Revision 6b8d6c56ce21e38a72f7c4becb5abc1fa5134f29-refs/branch-heads/4515@{#1933}
OS macOS Version 11.5.2 (Build 20G95)

Steps:

  1. ran all cases in Manual pass for go-ipfs 0.9.1 on macOS-Intel #17180
  2. confirmed that go-ipfs does not receive updates #16171 is working
  3. confirmed that .PNG .JPG and .GIF files cannot be viewed via IPFS import #16758 is working
  4. confirmed that Typo in IPFS log message: s/migragion/migration #16128
  5. confirmed that .avi, .mpeg files cannot be played via IPFS import #16752 is NOT working
0.7.0 -> 0.9.1
Screen Shot 2021-08-11 at 3 53 15 PM Screen Shot 2021-08-11 at 3 12 49 PM

Full migration log:

stephendonner@Stephens-MacBook-Pro MacOS % ./Brave\ Browser\ Nightly --use-dev-goupdater-url                                           
Error: daemon not running
Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/darwin
Golang version: go1.14.4
Swarm listening on /ip4/10.0.0.43/tcp/44002
Swarm listening on /ip4/127.0.0.1/tcp/44002
Swarm listening on /ip6/::1/tcp/44002
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.0.0.43/tcp/44002
Swarm announcing /ip4/127.0.0.1/tcp/44002
Swarm announcing /ip6/::1/tcp/44002
API server listening on /ip4/127.0.0.1/tcp/45002
WebUI: http://127.0.0.1:45002/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/48081
Daemon is ready

Received interrupt signal, shutting down...
(Hit ctrl-c again to force-shutdown the daemon.)
Error: ipfs repo needs migration
Initializing daemon...
go-ipfs version: 0.9.1
Repo version: 11
System version: amd64/darwin
Golang version: go1.16.6
Found outdated fs-repo, migrations need to be run.
Looking for suitable migration binaries.
Need 1 migrations, downloading.
Downloading migration: fs-repo-10-to-11...
Fetching with HTTP: "https://ipfs.io/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/v1.0.0/fs-repo-10-to-11_v1.0.0_darwin-amd64.tar.gz"
Downloaded and unpacked migration: /var/folders/qw/_3v08d_50b1c47mcw7pfd2z00000gn/T/migrations046126002/fs-repo-10-to-11 (v1.0.0)
Running migration fs-repo-10-to-11 ...
  => Running: /var/folders/qw/_3v08d_50b1c47mcw7pfd2z00000gn/T/migrations046126002/fs-repo-10-to-11 -path=/Users/stephendonner/Library/Application Support/BraveSoftware/Brave-Browser-Nightly/brave_ipfs -verbose=true
applying 10-to-11 repo migration
opening datastore at "/Users/stephendonner/Library/Application Support/BraveSoftware/Brave-Browser-Nightly/brave_ipfs"
upgrading pinning to use datastore
converted 2 pins from ipld storage into datastore
updated version file
Migration 10 to 11 succeeded
Success: fs-repo migrated to version 11.
Swarm listening on /ip4/10.0.0.43/tcp/44002
Swarm listening on /ip4/127.0.0.1/tcp/44002
Swarm listening on /ip6/::1/tcp/44002
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.0.0.43/tcp/44002
Swarm announcing /ip4/127.0.0.1/tcp/44002
Swarm announcing /ip6/::1/tcp/44002
API server listening on /ip4/127.0.0.1/tcp/45002
WebUI: http://127.0.0.1:45002/webui
Added migration file "fs-repo-10-to-11_v1.0.0_darwin-amd64.tar.gz": /ipfs/QmaCqq6KLw7p9DBYtVgegMmkDEuRXkS395LVweYqdY7vcq
Could not add migration to IPFS: nothing downloaded by ipfs fetcher
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/48081
Daemon is ready

@srirambv
Copy link
Contributor

srirambv commented Aug 12, 2021

Verification passed on

Brave 1.30.15 Chromium: 92.0.4515.131 (Official Build) nightly (64-bit)
Revision 6b8d6c56ce21e38a72f7c4becb5abc1fa5134f29-refs/branch-heads/4515@{#1933}
OS Linux
Verified successful migration from 0.7.0 to 0.9.1
$ brave-browser-nightly --use-dev-goupdater-url
Error: daemon not running
Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/linux
Golang version: go1.14.4
Swarm listening on /ip4/127.0.0.1/tcp/44002
Swarm listening on /ip6/::1/tcp/44002
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/44002
Swarm announcing /ip6/::1/tcp/44002
API server listening on /ip4/127.0.0.1/tcp/45002
WebUI: http://127.0.0.1:45002/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/48081
Daemon is ready

Received interrupt signal, shutting down...
(Hit ctrl-c again to force-shutdown the daemon.)
Error: ipfs repo needs migration
Initializing daemon...
go-ipfs version: 0.9.1
Repo version: 11
System version: amd64/linux
Golang version: go1.16.6
Found outdated fs-repo, migrations need to be run.
Looking for suitable migration binaries.
Need 1 migrations, downloading.
Downloading migration: fs-repo-10-to-11...
Fetching with HTTP: "https://ipfs.io/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/versions"
2021/08/12 12:57:55 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
Fetching with IPFS: "fs-repo-10-to-11/versions"
Fetching with HTTP: "https://ipfs.io/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/v1.0.0/fs-repo-10-to-11_v1.0.0_linux-amd64.tar.gz"
Fetching with IPFS: "fs-repo-10-to-11/v1.0.0/fs-repo-10-to-11_v1.0.0_linux-amd64.tar.gz"
Downloaded and unpacked migration: /tmp/migrations951715541/fs-repo-10-to-11 (v1.0.0)
Running migration fs-repo-10-to-11 ...
  => Running: /tmp/migrations951715541/fs-repo-10-to-11 -path=/home/tester/.config/BraveSoftware/Brave-Browser-Nightly/brave_ipfs -verbose=true
applying 10-to-11 repo migration
opening datastore at "/home/tester/.config/BraveSoftware/Brave-Browser-Nightly/brave_ipfs"
upgrading pinning to use datastore
converted 0 pins from ipld storage into datastore
updated version file
Migration 10 to 11 succeeded
Success: fs-repo migrated to version 11.
Swarm listening on /ip4/127.0.0.1/tcp/44002
Swarm listening on /ip4/192.168.1.4/tcp/44002
Swarm listening on /ip6/::1/tcp/44002
Swarm listening on /p2p-circuit
Swarm announcing /ip4/127.0.0.1/tcp/44002
Swarm announcing /ip6/::1/tcp/44002
API server listening on /ip4/127.0.0.1/tcp/45002
WebUI: http://127.0.0.1:45002/webui
Added migration file "fs-repo-10-to-11_v1.0.0_linux-amd64.tar.gz": /ipfs/QmVNFhVvWE6BbqCngaSRv8hPjni1JiwR4rzvb8a9NUv3E2
connected to migration peer "{12D3KooWCcPVYkVAMvwpxryoYb5gxfV24tNyHTY3NJ3PfPE3rVa7: [/ip4/127.0.0.1/tcp/35853]}"
Added migration file: "/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/versions"
Added migration file: "/ipfs/QmVxxcTSuryJYdQJGcS8SyhzN7NBNLTqVPAxpu6gp2ZcrR/fs-repo-10-to-11/v1.0.0/fs-repo-10-to-11_v1.0.0_linux-amd64.tar.gz"
migration peer 12D3KooWCcPVYkVAMvwpxryoYb5gxfV24tNyHTY3NJ3PfPE3rVa7 shutdown
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/48081
Daemon is ready
0.7.0 0.9.1
image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment