Comments (9)
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.
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.
Fixed and released. Note: I've also uploaded OpenBSD binary builds to dist.ipfs.io.
from fs-repo-migrations.
tested and confirmed from my end. thanks!
from fs-repo-migrations.
strange...it was working...now I'm getting a 404 again. :(
from fs-repo-migrations.
from fs-repo-migrations.
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.
Ah... I forgot. go-ipfs hard-codes the dist URL so we can't really fix this without a release.
Options:
- Download and run the migrations manually.
- Ship the migration binary along with go-ipfs.
- Set the IPFS_DIST_PATH env variable to a new URL with the migrations. Specifically, https://ipfs.io/ipfs/QmXuKUDChMXkcq36CbaggvY3UaAtgpi7yyoAiNy5VD9Dfr.
- Apply ipfs/kubo#7311
Given that you're shipping a port, option 4 is probably the best.
from fs-repo-migrations.
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)
- fs-repo-migrations is difficult to package HOT 3
- 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
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.