Skip to content
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

Error Opening the file issue #12

Open
mubarak117136 opened this issue Dec 29, 2023 · 1 comment
Open

Error Opening the file issue #12

mubarak117136 opened this issue Dec 29, 2023 · 1 comment

Comments

@mubarak117136
Copy link

hi,
I am pretty new on ipfs things. I just try to sync pinata ipfs file in subgraph ipfs node. For sync i try this package and not work for me maybe syntax error or other issue. Here is my command:

docker run -it ghcr.io/graphprotocol/ipfs-mgm sync -s https://ipfs.io/ipfs/ -d https://api.thegraph.com/ipfs/ -f QmQB7BR5JNM6ctxi7hyTcTYJYhSdSrXL3CyCuYhrWRqd5U

output:

Syncing from https://ipfs.io/ipfs/ to https://api.thegraph.com/ipfs/ using the file <QmQB7BR5JNM6ctxi7hyTcTYJYhSdSrXL3CyCuYhrWRqd5U> as input
Error opening the file <QmQB7BR5JNM6ctxi7hyTcTYJYhSdSrXL3CyCuYhrWRqd5U>

anyone can help me out what i am doing wrong!
thank you

@rotarur
Copy link
Contributor

rotarur commented May 10, 2024

first of all the hash is not the file. this is a limitation in this script which I'll fix later.
if you run the docker you need to mount the file inside it before

docker run -it ghcr.io/graphprotocol/ipfs-mgm sync -s https://ipfs.thegraph.com -d https://api.thegraph.com -f file
2024/05/10 09:18:34 Syncing from https://ipfs.thegraph.com to https://api.thegraph.com using the file <file> as input
Error opening the file <file>

this file exists locally on my laptop but If I don't mount it it won't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants