Coder Social home page Coder Social logo

Comments (4)

kpcyrd avatar kpcyrd commented on August 27, 2024

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.

whyrusleeping avatar whyrusleeping commented on August 27, 2024

Lets keep it open to track the fix

from fs-repo-migrations.

 avatar commented on August 27, 2024

Can close this one, issue is in go-ipfs 👍

from fs-repo-migrations.

kpcyrd avatar kpcyrd commented on August 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.