community/ipfs: unable to start due to "outdated fs-repo"
~ # apk info kubo
kubo-0.21.0-r2 description:
Inter Platnetary File System (IPFS), a peer-to-peer hypermedia distribution protocol
kubo-0.21.0-r2 webpage:
https://ipfs.tech/
kubo-0.21.0-r2 installed size:
66 MiB
~ # service ipfs start
* Starting ipfs ...
* start-stop-daemon: /usr/bin/ipfs died
* Failed to start ipfs [ !! ]
* ERROR: ipfs failed to start
~ # cat /var/log/ipfs/ipfs.log
Initializing daemon...
Kubo version: 0.21.0
Repo version: 14
System version: amd64/linux
Golang version: go1.20.7
Found outdated fs-repo, migrations need to be run.
Looking for suitable migration binaries.
Need 1 migrations, downloading.
Failed to download migrations.
The migrations of fs-repo failed:
linux-musl not supported, you must build the binary from source for your platform
If you think this is a bug, please file an issue and include this whole log output.
https://github.com/ipfs/fs-repo-migrations
Error: linux-musl not supported, you must build the binary from source for your platform
~ #
It seems that kubo is trying to download binaries from the internet to execute them?! Odds are that it's missing the fs-repo-13-to-14
binary in the kubo
package.