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