Coder Social home page Coder Social logo

Comments (9)

stensonb avatar stensonb commented on July 24, 2024

Downloading this repo, and running the migration manually seems to work fine:

$ go get -u github.com/ipfs/fs-repo-migrations
go: downloading golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa
go: extracting golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa
go: finding golang.org/x/net latest
go: downloading golang.org/x/net v0.0.0-20200506145744-7e3656a0809f
go: extracting golang.org/x/net v0.0.0-20200506145744-7e3656a0809f
$ fs-repo-migrations                                                                                                                                                                                                     
Found fs-repo version 7 at /<path_redacted>/.ipfs
Do you want to upgrade this to version 9? [y/n] y
===> Running migration 7 to 8...
applying 7-to-8 repo migration
locking repo at "/<path_redacted>/.ipfs"
  - verifying version is '7'
> Upgrading config to new format
updated version file
===> Migration 7 to 8 succeeded!
===> Running migration 8 to 9...
applying 8-to-9 repo migration
updated version file
===> Migration 8 to 9 succeeded!
$

So, perhaps we just need to add the openbsd GOOS binary here?

from fs-repo-migrations.

Stebalien avatar Stebalien commented on July 24, 2024

We distribute through https://github.com/ipfs/distributions which doesn't appear to support OpenBSD. I'll look into adding support now.

from fs-repo-migrations.

Stebalien avatar Stebalien commented on July 24, 2024

Fixed and released. Note: I've also uploaded OpenBSD binary builds to dist.ipfs.io.

from fs-repo-migrations.

stensonb avatar stensonb commented on July 24, 2024

tested and confirmed from my end. thanks!

from fs-repo-migrations.

stensonb avatar stensonb commented on July 24, 2024

strange...it was working...now I'm getting a 404 again. :(

from fs-repo-migrations.

Stebalien avatar Stebalien commented on July 24, 2024

from fs-repo-migrations.

stensonb avatar stensonb commented on July 24, 2024

OpenBSD amd64

$ curl https://ipfs.io/ipfs/QmUgfXycSjF9R8F4Tyauaz6LZ4bj5nbksg54G9GdF4fit6/fs-repo-migrations/v1.5.1/fs-repo-migrations_v1.5.1_openbsd-amd64.tar.gz

from fs-repo-migrations.

Stebalien avatar Stebalien commented on July 24, 2024

Ah... I forgot. go-ipfs hard-codes the dist URL so we can't really fix this without a release.

Options:

  1. Download and run the migrations manually.
  2. Ship the migration binary along with go-ipfs.
  3. Set the IPFS_DIST_PATH env variable to a new URL with the migrations. Specifically, https://ipfs.io/ipfs/QmXuKUDChMXkcq36CbaggvY3UaAtgpi7yyoAiNy5VD9Dfr.
  4. Apply ipfs/kubo#7311

Given that you're shipping a port, option 4 is probably the best.

from fs-repo-migrations.

stensonb avatar stensonb commented on July 24, 2024

makes sense to me. i just verified #3 works. i'll work to add a patch to the code locally when building for OpenBSD (#4).

thank you.

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.