# Files not available

**URL:** <https://discuss.ipfs.tech/t/files-not-available/12684>\
**Category:** Help\
**Created:** [November 17, 2021, 11:30am UTC](https://discuss.ipfs.tech/t/files-not-available/12684 "2021-11-17T11:30:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hogchop](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hogchop/32/5681_2.png) [@hogchop](https://discuss.ipfs.tech/u/hogchop)\
**Post date:** [November 17, 2021, 11:30am UTC](https://discuss.ipfs.tech/t/files-not-available/12684/1 "2021-11-17T11:30:38Z")

</div>

Hi, I’m at a complete loss. I’m new to using IPFS and I’ve just tried a few basic things. I’ve used the CLI, run `ipfs init`, then `ipfs daemon`. With it running, I’ve added a file using `ipfs add <fileline>,` and received the hash.

Now I cannot for the life of me access it remotely. I first tried to add the CID to Pinata, but after 2 days, the file has still not been found. Next, I opened the web gui via the link given when you run ipfs daemon. The files don’t show up but I can see the file size of the .ipfs folder go up when I add files via the command line.

Next, I used the web gui to add a file. This worked. I can access it by changing from my local address, to [ipfs.io/ipfs/](http://ipfs.io/ipfs/) and this file displays. However, none of the files I add via command line will display.

Any suggestions on what I’m doing wrong? I’ve looked around and found a few people post with this issue, but their solutions don’t work or lead to now broken links.

CID of uploaded via CLI: Qme33z62veDYcartcWnk5VKtwmShamkAa9buwCcaZe4gYX  
CID of file uploaded via web interface: QmVGNAP4U7fRxGz3pfoJnN4qzsRm9FVs2YT2WWdPVgtHiY

I’ve also run `ipfs id` and confirmed it seems to be connected. I have also used `ipfs cat <file>` to pull down a file successfully.

Any guidance would be helpful. I’ve been stuck on this for days!

---

<div class="post-metadata">

**Author:** ![SionoiS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/sionois/32/5103_2.png) [@SionoiS](https://discuss.ipfs.tech/u/SionoiS)\
**Post date:** [November 17, 2021, 2:11pm UTC](https://discuss.ipfs.tech/t/files-not-available/12684/2 "2021-11-17T14:11:03Z")

</div>

Just to be sure, your own node was running for 2 days but Pinata did not found the CID?  
Make sure it’s accessible from the internet. I don’t think `ipfs id` would tell you that.

If you use the explore tab in webui can you see your file/folder?  
If yes, your file was added but will not show up in [MFS](https://docs.ipfs.io/concepts/file-systems/#mutable-file-system-mfs).

MFS is separate, files will not show up when added with `ipfs add`

---

<div class="post-metadata">

**Author:** ![hogchop](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hogchop/32/5681_2.png) [@hogchop](https://discuss.ipfs.tech/u/hogchop)\
**Post date:** [November 17, 2021, 11:35pm UTC](https://discuss.ipfs.tech/t/files-not-available/12684/3 "2021-11-17T23:35:02Z")

</div>

Thanks for your reply, SionoiS.

That’s correct, I kept my node running and Pinata didn’t find the CID when using `ipfs add <filename>`. The file I uploaded via the local web interface was found by Pinata, however. I was under the assumption that adding a file via the web gui was akin to saying `ipfs add`.

In my explorer tab, I cannot see the file I added via the CLI. I can import it using the hash, however it doesn’t display the image. Eg I can view it locally, but when I use a sharable link, the file won’t load: [https://bafybeihjhdnj5557n5jcuobaw52ogx6hhxrcsgbpjq5zpu6vrrbahbasfa.ipfs.dweb.link/](https://bafybeihjhdnj5557n5jcuobaw52ogx6hhxrcsgbpjq5zpu6vrrbahbasfa.ipfs.dweb.link/)

If my goal is to add an image via the CLI and have it found by pinata and accessible on other nodes, is there something further I should be doing? Or is this an error I’ve introduced possibly in my setup?

---

<div class="post-metadata">

**Author:** ![SionoiS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/sionois/32/5103_2.png) [@SionoiS](https://discuss.ipfs.tech/u/SionoiS)\
**Post date:** [November 18, 2021, 1:36pm UTC](https://discuss.ipfs.tech/t/files-not-available/12684/4 "2021-11-18T13:36:50Z")

</div>

Did you pin the file added via CLI? Maybe it was GCed, I think files in MFS are “pinned” by default.

I would do a `ipfs repo gc` then `ipfs add --cid-version=1 <YourFile.file>` then `ipfs pin add <CidFromPreviousStep>`. Ounce that’s done explore the CID to be sure. If you see the data then you can try Pinata and/or gateways.

---

<div class="post-metadata">

**Author:** ![hogchop](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hogchop/32/5681_2.png) [@hogchop](https://discuss.ipfs.tech/u/hogchop)\
**Post date:** [November 22, 2021, 10:50am UTC](https://discuss.ipfs.tech/t/files-not-available/12684/5 "2021-11-22T10:50:51Z")

</div>

Hi SionoiS,

I followed your steps and it seems to have done the trick. Looks like I was a bit ignorant, I followed the _get started_ guide on the [ipfs.io](http://ipfs.io) site but didn’t realise that it doesn’t automatically pin remotely. Looks to be working now – thanks so much for your assistance. I got a bit carried away with the file size too, as an aside.

 ![](https://us1.discourse-cdn.com/flex020/uploads/ipfs1/original/2X/a/aedc72e16d59a601b2a5ea900a644d30f34259f0.png)
