-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start-up crashing due to Error: root can't be a file (unixfs type: File) [possibly related to recent Kubo 0.34.0 upgrade] #10762
Comments
Does this error mean that it could not Per $ ls -al /ipfs/ipfsd.service/
drwxr-x---. 1 ipfs ipfs 16 Mar 21 01:00 ./
drwxrwx---. 1 ipfs ipfs 26 Mar 21 01:00 ../
drwxr-x---. 1 ipfs ipfs 0 Mar 21 01:00 ipfs/
drwxr-x---. 1 ipfs ipfs 0 Mar 21 01:00 ipns/
$ ls -al /ipfs/ipfsd.service/ipfs/
total 0
drwxr-x---. 1 ipfs ipfs 0 Mar 21 01:00 ./
drwxr-x---. 1 ipfs ipfs 16 Mar 21 01:00 ../
$ ls -al /ipfs/ipfsd.service/ipns/
total 0
drwxr-x---. 1 ipfs ipfs 0 Mar 21 01:00 ./
drwxr-x---. 1 ipfs ipfs 16 Mar 21 01:00 ../ |
@vorburger thank you for reporting this. It looks like you are using unofficial RPM package from https://github.com/taw00/ipfs-rpm Before we spend time investigating, are you able to reproduce problem if you use prebuilt binaries attached to https://github.com/ipfs/kubo/releases/latest or when building it locally? |
ACK, that makes sense. I'll see if I can reproduce this problem when building it locally from source, and then update here. If needed, I'll add some better debugging logs in the coffee. (But I won't get to this before next weekend.) |
OK yeah so I can reproduce this, with binary built from source at 370bb9f instead of from that RPM, and using the same manually cobbled together startup-up parameters as it would if it ran under systemd from where I'm seeing this:
I'll see if I can debug it a bit more, using this... |
With #10770 I was able to see: I'm guess this comes from here? From my (limited) understanding, that would presumably indicate having a "corrupt" MFS? Understanding that, indeed doing this "fixes" (works around) it, of course:
Having figure this out is "good enough" to unblock me, and I won't further pursue this myself. I'll have to leave it up to maintainers if this condition should be handled more gracefully, or if this is "expected" and "working as intended". (Let me know if you would like me to share my |
triage note: will investigate further to determine necessary action |
Checklist
Installation method
third-party binary
Version
Config
Description
See taw00/ipfs-rpm#8; TL;DR :
I'm not entirely sure if this is a problem in this project (IPFS Kubo) something wrong "downstream" (that systemd RPM for Fedora which is graciously maintained by @taw00) - so I'll open issues in both repos.. 😸
Looks like #10340 and #2383 ? Except I'm not trying to upload anything anywhere - just starting it.
My hunch is that this could be related to and caused by (yesterday's!) Kubo 0.34.0 release, which via https://github.com/taw00/ipfs-rpm, I seem to now run on. It may also be a coincidence and totally unrelated - but seemed worth pointing out.
The text was updated successfully, but these errors were encountered: