启动ipfs daemon错误:The migrations of fs-repo failed

C:\WINDOWS\system32>ipfs daemon
Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/windows
Golang version: go1.14.4
Found outdated fs-repo, migrations need to be run.
Run migrations now? [y/N] y
  => Looking for suitable fs-repo-migrations binary.
  => None found, downloading.
  => Failed to download fs-repo-migrations.
The migrations of fs-repo failed:
  failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp 31.13.71.7:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
If you think this is a bug, please file an issue and include this whole log output.
  https://github.com/ipfs/fs-repo-migrations

Error: failed to find latest fs-repo-migrations: http.DefaultClient.Do error: Get "https://ipfs.io/ipfs/Qmdo5m6bpQXCayzfGghyvgXJdVHSsXsCKDUo9vWktDKq3K/fs-repo-migrations/versions": dial tcp 31.13.71.7:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

git clone https://github.com/ipfs/fs-repo-migrations

打开 fs-repo-migrations 文件

输入make install

C:\Desktop\file\I\fs-repo-migrations>make install
go install -mod=vendor
fs-repo-migrations now installed, type 'fs-repo-migrations' to run

输入fs-repo-migrations

C:\Desktop\file\I\fs-repo-migrations>fs-repo-migrations
Found fs-repo version 9 at C:\Users\h11chen/.ipfs
Do you want to upgrade this to version 10? [y/n] y
===> Running migration 9 to 10...
applying 9-to-10 repo migration
locking repo at "C:\\Users\\h11chen/.ipfs"
  - verifying version is '9'
> Upgrading config to new format
updated version file
===> Migration 9 to 10 succeeded!

最后再启动 成功

C:\Desktop\file\I\fs-repo-migrations>ipfs daemon
Initializing daemon...
go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/windows
Golang version: go1.14.4
Swarm listening on /ip4/10.0.75.1/tcp/4001
Swarm listening on /ip4/10.0.75.1/udp/4001/quic
Swarm listening on /ip4/10.243.229.144/tcp/4001
Swarm listening on /ip4/10.243.229.144/udp/4001/quic
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/127.0.0.1/udp/4001/quic
Swarm listening on /ip4/169.254.133.177/tcp/4001
Swarm listening on /ip4/169.254.133.177/udp/4001/quic
Swarm listening on /ip4/169.254.138.168/tcp/4001
Swarm listening on /ip4/169.254.138.168/udp/4001/quic
Swarm listening on /ip4/169.254.32.175/tcp/4001
Swarm listening on /ip4/169.254.32.175/udp/4001/quic
Swarm listening on /ip4/169.254.75.140/tcp/4001
Swarm listening on /ip4/169.254.75.140/udp/4001/quic
Swarm listening on /ip4/192.168.160.161/tcp/4001
Swarm listening on /ip4/192.168.160.161/udp/4001/quic
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /ip6/::1/udp/4001/quic
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.243.229.144/tcp/4001
Swarm announcing /ip4/10.243.229.144/udp/4001/quic
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip4/127.0.0.1/udp/4001/quic
Swarm announcing /ip6/::1/tcp/4001
Swarm announcing /ip6/::1/udp/4001/quic
API server listening on /ip4/127.0.0.1/tcp/5001
WebUI: http://127.0.0.1:5001/webui
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值