Comments (4)
we figured it out on irc, ipfs was downloading the glibc version, while the docker container uses musl.
@lgierth should I close this issue or do you want to keep it to track the bugfix :) ?
from fs-repo-migrations.
Lets keep it open to track the fix
from fs-repo-migrations.
Can close this one, issue is in go-ipfs 👍
from fs-repo-migrations.
For the record, I manually migrated my container:
root@ipfs-ink:~# /usr/bin/docker run -it --name go-ipfs --entrypoint sh -v /var/lib/go-ipfs:/data/ipfs -p 127.0.0.1:8080:8080 -p 4001:4001 -p 127.0.0.1:5001:5001 lab.rxv.cc/go-ipfs
/ $ mkdir /tmp/manual
/ $ cd /tmp/manual
/tmp/manual $ wget https://dist.ipfs.io/fs-repo-migrations/v1.2.0/fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz
--2017-02-12 20:31:53-- https://dist.ipfs.io/fs-repo-migrations/v1.2.0/fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz
Resolving dist.ipfs.io... 162.243.248.213, 178.62.61.185, 104.236.76.40, ...
Connecting to dist.ipfs.io|162.243.248.213|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2429498 (2.3M) [application/x-gzip]
Saving to: 'fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz'
fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz 100%[==================================================================================================================================>] 2.32M 4.20MB/s in 0.6s
2017-02-12 20:31:54 (4.20 MB/s) - 'fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz' saved [2429498/2429498]
/tmp/manual $
/tmp/manual $ tar xvvf fs-repo-migrations_v1.2.0_linux-musl-amd64.tar.gz
drwxrwxr-x user/user 0 2017-01-25 02:07:17 fs-repo-migrations/
-rwxr-xr-x user/user 9023864 2017-01-25 01:34:28 fs-repo-migrations/fs-repo-migrations
-rw-rw-r-- user/user 0 2017-01-25 02:07:17 fs-repo-migrations/build.log
/tmp/manual $ cd fs-repo-migrations/
/tmp/manual/fs-repo-migrations $ ./fs-repo-migrations
Found fs-repo version 4 at /data/ipfs
Do you want to upgrade this to version 5? [y/n] y
===> Running migration 4 to 5...
applying 4-to-5 repo migration
locking repo at "/data/ipfs"
- verifying version is '4'
> Upgrading datastore format to have sharding specification file
> creating a new flatfs datastore with new format
> converting current flatfs datastore to new format
Moving Keys...
150 keys so far
Cleaning Up...
All Done.
> moving new datastore into place
> moving transferred datastore back into place
updated version file
===> Migration 4 to 5 succeeded!
/tmp/manual/fs-repo-migrations $ root@ipfs-ink:~#
from fs-repo-migrations.
Related Issues (20)
- ipfs daemon -c PATH --migrate doesn't use supplied path HOT 2
- Build with CGO_ENABLED=0 for dist.ipfs.io binaries HOT 3
- Go 1.16 is EOL HOT 3
- panic: qtls.ClientHelloInfo doesn't match HOT 2
- [Tracker] Kubo 0.16 migration list
- Migration output should provide progress to completion HOT 3
- 11-to-12 migration fails with s3ds plugin HOT 1
- failed to download migration HOT 1
- Migration not working automatically HOT 1
- version is lower but cannot update HOT 2
- [windows] migration on windows 13-to-14 fails with `paramter is incorrect` message HOT 1
- 14 to 15 does not work with empty `HTTPHeader` field
- Document upgrade reversion HOT 5
- Configuration issue on Kubo 0.23dev and migration 14-15 HOT 2
- bug: repo migration errors HOT 12
- bug: cannot `go install github.com/ipfs/fs-repo-migrations@latest` HOT 2
- test: does IPFS fallback work properly for downloading repo migrations? HOT 2
- run.md unclear communication for container users.
- Implement trustless and verified HTTP retrieval
- Updating from 0.19.1 -> 0.29.0 errors with `panic: qtls.ClientSessionState doesn't match` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs-repo-migrations.