Questions tagged [ipfs-cli]
16 questions
3
votes
0 answers
504 Gateway Time-out (Openresty)
i am trying to upload my website folder in ipfs. However when i try run it showing me 504 Gateway.
Can someone help me?
Thank you

TechDev
- 415
- 5
- 18
3
votes
1 answer
How to get file contents from ipfs-http-client
I am using ipfs-http-client to read the contents of a file form infura, how do i use the "cat" funtionality to correctly get the data in a string/json format?
const client = create({
url: ipfsUrl(),
headers: {
authorization:…

Emmanuel Thomas
- 159
- 1
- 12
2
votes
1 answer
Pin 100k hashes on own IPFS cluster
I am running an IPFS cluster in the cloud and I would like to pin about 100k hashes of objects from the network.
I'm currently iterating through the list using the ipfs pin add , but it's taking forever (as some hashes can't be found…

Giovanni G
- 73
- 1
- 8
2
votes
3 answers
Running IPFS Desktop and CLI simultaneously
This is a rather beginner question. Apologies for nothing more challening :)
I am running IPFS Desktop on my computer. I downloaded it via the Ubuntu Software Center. I believe it's a snap install. I am using Ubuntu 20.04
I want to be able to access…

nbz
- 3,806
- 3
- 28
- 56
1
vote
1 answer
Why IPFS Cluster nodes cannot find each other
I setup two instances for IPFS nodes. 1 IPFS for bootstrap node and 1 IPFS for client node. I already setup a private network for both IPFS nodes. I already bootstrap the 2 IPFS nodes and they can find and talk to each other. Like if I add a file in…

Test
- 43
- 4
1
vote
0 answers
POST request from AWS Lambda gives an unexpected redirect eror (GO)
So I have a node running on an EC2 instance using ipfs kubo docker library. I wrote a simple upload API in Go using ipfs-go-api package that will connect to the node in EC2, upload the image and return its hash.
When I deploy the API locally it…

Vasu Mistry
- 781
- 2
- 6
- 18
1
vote
1 answer
how to do ipfs pin add and get within 10 seconds?
In my project, I need to download data from ipfs by giving a CID.
What I do is:
ipfs pin add {CID}
ipfs get {CID}
But I found these two steps are quite time-consuming, it takes at least 1min above.
I tried localhost and infura.
What can I do to…

Wai
- 113
- 2
- 8
0
votes
1 answer
What is the right way to locally copy pinned data in ipfs and what is the use of datastore folder?
I figured out pinned data is cached in blocks folder. Can I just get away with copying the files I need in blocks folder to backup? Is datastore folder generated automatically by ipfs daemon?
I tried copying only the blocks folder to another ipfs…

da-nav
- 31
- 3
0
votes
0 answers
Unable to access ipfs gateway using ingress
I have deployed Private IPFS cluster in kubernetes with clusterIP service.
I am able to add and access files to ipfs using ipfs-cluster-ctl command line tool by port-forwarding the ClusterIP service to the local.
Now I have created an ingress which…

Soundarya
- 153
- 1
- 2
- 12
0
votes
0 answers
What is the minimum hardware requirements for private IPFS node setup?
I want to set up private IPFS. What is the minimum hardware requirements for a single node?

prabuganesan
- 72
- 5
0
votes
1 answer
Uploading folders to IPFS from command line returns hash but folder doesn't exist on network
I am trying to upload a folder to IPFS using the command line. It always executes and returns the hash using
ipfs add folder --recursive
But when I try to view the folder it just keeps loading searching for the folder. When I check the network the…

Ryan D
- 741
- 1
- 11
- 29
0
votes
1 answer
How can I find out if a given content can be found in IPFS?
I want to see if a given string ("hello" in this case) is accessible via IPFS. I am trying this:
echo hello | ipfs add -nq | ipfs cat
I am getting this:
Error: lock /root/.ipfs/repo.lock: someone else has the lock
What's going on? Is there a…

Irina Rapoport
- 1,404
- 1
- 20
- 37
0
votes
0 answers
Getting error in ipfs.add() method wile using ipfs with ejs to upload file
I am trying to upload a file to ipfs using ejs app. I have go to a lot of posted problems but i have not seen a problem like i am getting.
when we use ipfs.add() method with a simple string "Hello World" it still worked for others but in my case it…

Abidullah
- 159
- 3
- 13
0
votes
0 answers
Is docker daemon of ipfs connecting to peers?
Good day!
This is the situation.
We developed an application with IPFS using its container version on docker. But there is a suspicion that it does not connect to peers, because if you run the search locally, it will go through quickly.
So, are…

Zethuman
- 59
- 2
0
votes
1 answer
Unable to pin CID to remote pinning service (Pinata) from Docker container
I am having trouble using the IPFS CLI to pin a CID to a remote service (Pinata) from within a Docker container. This works fine when running from the host.
I am calling the following from the Dockerfile:
# Pull base image
ARG AWS_ACCOUNT_ID
ARG…

Alex Ianovski
- 1
- 1