-
-
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
command line "ipfs files ls" output is blank #8631
Comments
Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
Finally, remember to use https://discuss.ipfs.io if you just need general support. |
I've found the problem. It seems that the tutorial might be out of date - along with many other on the web. This will add the content along with a file label and "ipfs files ls" will output: See: ipfs files write -h This is not the best system in my mind. But if it's going to stay that way, at least update the docs. |
Yes, this is a known issue (#8504). Until that issue and it's changes are closed, use |
@gitgit3 I don't think you were properly following that tutorial. As mentioned in the linked issue MFS (the thing used by If you have more general support questions check out discuss.ipfs.io or one of the IPFS chat channels. |
Checklist
Installation method
ipfs-update or dist.ipfs.io
Version
Config
Description
I added a simple file (a text file containing 9 chars) using ipfs add at the command line (with or without the -w option, the result is the same):
ipfs add -w tmp.txt
output:
added QmVvgQpYGcvtsmr1fFDATLPdYqAQgUpaLUWVZduNGcwEgj tmp.txt
added QmZSGZL1hSPknXuyqdzCqHYyLCqfu8EhJUNEzSzEamSsaC
Now I type
ipfs files ls
and the output is blank. This is always the case. Also if I go to the webui, there are no files listed. However, I have added some larger files (videos of say 10MB) and the "Allblocks" indicator goes up which indicates that the content has been added.
I can retrieve the content like this:
ipfs cat QmVvgQpYGcvtsmr1fFDATLPdYqAQgUpaLUWVZduNGcwEgj
output:
some data
I have been using version 0.9 on another (almost identical) machine and the command "ipfs files ls" always returns a list of files which were added. (Both these machines are RaspberryPi if that is any help).
uname -a
Linux raspi2.sandybrook.pearcey.net 5.10.17-v7l+ #1414 SMP Fri Apr 30 13:20:47 BST 2021 armv7l GNU/Linux
I was following this tutorial:
https://flyingzumwalt.gitbooks.io/decentralized-web-primer/content/files-on-ipfs/lessons/wrap-directories-around-content.html
which worked on one machine but not the other.
The text was updated successfully, but these errors were encountered: