Skip to content

Support modern versions of kubo newer than v0.29 #157

Description

@bahner

Is there an existing issue for this?

  • I have searched the existing issues

Package version

v1.22.1

Golang version

go1.23.4

Bug description

While it's possible to get the library to work with kubo versions older than 30 - 29 will work - later does not. The version of boxo doesn't support versions other than 15, where as the currently used version is 16.

Current behavior

bahner@colossus:~/src/go-foo$ go run .
2024/12/29 05:56:21 Repository is already initialized.
2024/12/29 05:56:21 IPFS repository is ready at: /home/bahner/.ipfs
2024/12/29 05:56:21 Failed to open IPFS repo: Your programs version (15) is lower than your repos (16).
Please update ipfs to a version that supports the existing repo, or run
a migration in reverse.

See https://github.com/ipfs/fs-repo-migrations/blob/master/run.md for details.
exit status 1

Expected behavior

This was expected to run with a post kubo 0.29 version.

Environment

Linux Ubuntu 24.04

Other

I suspect "just" upgrading the boxo dependency will be enough, but It was more difficult than I could manage, with little knowledge of this software. I attempted a pull request but had to give up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmore info neededWaiting for a response

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions