aschmahmann changed the topic of #ipfs to: Heads Up: To talk, you need to register your nick! Announcements: go-ipfs 0.7.0 and js-ipfs 0.50.2 are out! Get them from dist.ipfs.io and npm respectively! | Also: #libp2p #ipfs-cluster #filecoin #ipfs-dev | IPFS: https://github.com/ipfs/ipfs | Logs: https://view.matrix.org/room/!yhqiEdqNjyPbxtUjzm:matrix.org/ | Forums: https://discuss.ipfs.io | Code of Conduct: https://git.io/vVBS0
arcatech has quit [Ping timeout: 272 seconds]
arcatech has joined #ipfs
p8m has joined #ipfs
arcatech has quit [Ping timeout: 246 seconds]
arcatech has joined #ipfs
nullheroes has joined #ipfs
catonano_ has joined #ipfs
catonano has quit [Ping timeout: 240 seconds]
catonano_ is now known as catonano
nhkays has quit [Ping timeout: 240 seconds]
KeiraT has quit [Ping timeout: 240 seconds]
KeiraT has joined #ipfs
gde33 has quit [Ping timeout: 265 seconds]
gde33 has joined #ipfs
supercoven_ has joined #ipfs
supercoven has quit [Ping timeout: 240 seconds]
gmoro_ has joined #ipfs
gmoro has quit [Ping timeout: 260 seconds]
worc3131 has quit [Ping timeout: 272 seconds]
_whitelogger has joined #ipfs
KempfCreative has joined #ipfs
ipfs-stackbot1 has quit [Remote host closed the connection]
ipfs-stackbot1 has joined #ipfs
jrt is now known as Guest71029
Guest71029 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
jrt has joined #ipfs
jcea has quit [Ping timeout: 260 seconds]
john2gb has joined #ipfs
spinza has quit [Read error: Connection reset by peer]
maxzor_ has joined #ipfs
Belkaar has quit [Ping timeout: 272 seconds]
Belkaar_ has joined #ipfs
czer00 has quit [Ping timeout: 265 seconds]
maxzor has quit [Ping timeout: 272 seconds]
arcatech has quit [Quit: Be back later.]
spinza has joined #ipfs
czer00 has joined #ipfs
chachasmooth has quit [Ping timeout: 265 seconds]
chachasmooth has joined #ipfs
arcatech has joined #ipfs
lootshot[m] has left #ipfs ["User left"]
lootshot[m] has joined #ipfs
KeiraT has quit [Remote host closed the connection]
cris has quit [Read error: Connection reset by peer]
cris has joined #ipfs
erikj has quit [Ping timeout: 265 seconds]
erikj has joined #ipfs
cristi_ has quit [Quit: cristi_]
<Sheogorath[m]>
Mhm, I had a rather strange thing happen to me yesterday: I was running `ipfs-cluster-ctl add -r -H _site` and it uploaded the directory but for some reason files like my main.css file is missing online, but not in the directory
worc3131 has joined #ipfs
p-core has quit [Remote host closed the connection]
ib07 has quit [Ping timeout: 260 seconds]
<hsanjuan[m]>
Sheogorath: if you re-add, do you get the same hash ?
<Sheogorath[m]>
nope, which is also something I don't fully understand .-.
<Sheogorath[m]>
Funnily enough it added the main.css.map file
<hsanjuan[m]>
and does it print the main.css file as being added in the output? What is the root hash of the folder
<Sheogorath[m]>
And no, it's not printed .-. And that's what confuses me
<hsanjuan[m]>
what if you add just the _site/assets/css folder, does it print it?
<Sheogorath[m]>
Yes it does
LHLaurini has joined #ipfs
<hsanjuan[m]>
so if you add _site it does not print main.css, and if you add _site/assets/css it does... that is weird... can you add your site as a zip so I can grab it an test?
simonfx[m] has left #ipfs ["User left"]
<Sheogorath[m]>
While I upload it, just to help the reproduction, I use `ipfs-cluster-ctl version 0.13.0` from the download page
<Sheogorath[m]>
And I was running the add comment in a tmpfs (which might also have some sort of impact?)
<Sheogorath[m]>
CID of the site.tar.gz is: QmXLK9wepzr2NJ1A5FJECkVyWXGVf7gTJ9qMZdDBTBMuvY
Nact has quit [Quit: Konversation terminated!]
ib07 has joined #ipfs
<Sheogorath[m]>
You might also want to note, that I use a remote cluster means I use the `--host` and `--basic-auth` flags (just in case it matters for reproduction)
<hsanjuan[m]>
ack Sheogorath , let me try it out
<hsanjuan[m]>
Sheogorath: what's your ipfs peer id?
<hsanjuan[m]>
are you behind nat?
<Sheogorath[m]>
yes, in both cases
<Sheogorath[m]>
the cluster itself is behind NAT due to running in docker without anything exposed and locally I'm behind NAT as well
<Sheogorath[m]>
(anything except 9096 and the RESTAPI behind basic auth)
<hsanjuan[m]>
I'm asking because I have trouble fetching that file
<Sheogorath[m]>
ouch, just got a nice little email from my hoster. would have been nice to see a little warning about not-using the server profile in one or another quickstart guide 👀
<hsanjuan[m]>
Sheogorath: when I added it correctly included the main.css
luismanfroni has quit [Ping timeout: 272 seconds]
<Sheogorath[m]>
mhm, I see
KeiraT has joined #ipfs
jcea has joined #ipfs
luismanfroni has joined #ipfs
ipfs-stackbot1 has quit [Remote host closed the connection]
ipfs-stackbot1 has joined #ipfs
<hsanjuan[m]>
Sheogorath: so i am not sure. Does "ipfs add" produce the same hash as "ipfs-cluster-ctl add" ? Is there anything special to that file (permissions, user-ownership, extended attributes?). The codepath followed by ipfs and cluster to list-and-add files is very similar and I don't quite see how a specific file may be silently left out.
seba-- has quit [Remote host closed the connection]
plexigras has quit [Ping timeout: 272 seconds]
ylp has quit [Quit: Leaving.]
bengates has quit [Remote host closed the connection]
<lordcirth>
I'm running NixOS, and I have ipfs running under the user "ipfs", with IPFS_PATH=/var/lib/ipfs. I want my user to be able to run ipfs commands - add, cat, etc. I added myself to the ipfs group but a lot of files in IPFS_PATH are owner-only. Would changing ipfs's umask solve this, or is there a better way?
verum_alpha[m] has quit [Quit: Idle for 30+ days]
ib07 has quit [Ping timeout: 240 seconds]
<hsanjuan[m]>
lordcirth: does it work if you pass `ipfs --api /ip4/127.0.0.1/tcp/5001` explicitally ?
<lordcirth>
hsanjuan[m], nope, still "Error: error loading plugins: open /var/lib/ipfs/config: permission denied"
<hsanjuan[m]>
lordcirth: what if you remote IPFS_PATH and `ipfs init` with your normal user
<lordcirth>
hsanjuan[m], sorry, what do you mean by "remote IPFS_PATH"? Set IPFS_PATH to an API URI?
<hsanjuan[m]>
lordcirth: remove, sorry. Not remote. As in, unexport
<lordcirth>
Oh. Well then presumably I would have my own seperate ~/.ipfs that the daemon doesn't know about? That's not what I want
<lordcirth>
or would it just write a config and use the API? I guess I can try
<lordcirth>
Yeah, it generated a db and everything
<hsanjuan[m]>
it would hopefully just use the API provided by your normal daemon, even though you'll have a local config
<hsanjuan[m]>
(theoretically)
<lordcirth>
Hmm, ok, I will add a file and see where it goes
<lordcirth>
hsanjuan[m], No, it put the data in ~/.ipfs
<hsanjuan[m]>
there should be an /var/lib/ipfs/api file when you run the daemon. You can copy that file into the ~/.ipfs folder too. That should tell it that it should expect an online daemon. Otherwise, "add" will work in offline mode (I think)
<hsanjuan[m]>
what I would do is to run the daemon with a non-default port too, and add the "~/.ipfs/api" file only (perhaps it does not even need a full "init")
<hsanjuan[m]>
ahh, ipfs switched to unix sockets for the local API. Perhaps you need to give your user access to that socket file too.
<lordcirth>
Ahah! I rm -r .ipfs, init, cp api, add, and the ~/.ipfs stayed at 1.1M
<lordcirth>
I will try rm -r and only api
<hsanjuan[m]>
yep
<lordcirth>
It worked! Thanks!
<lordcirth>
Presumably the api file could be a symlink too... If I configure home-manager to symlink ~/.ipfs/api, that should be automatic on all my machines
<lordcirth>
I should remove IPFS_PATH from global env then
<lordcirth>
So, I add a trivial text file on my VPS (static IP on the internet), and I fetch it with my PC (port-forwarded). It takes about 1 minute for it to show up. How can I trace what is taking so long?
<lordcirth>
Oh, no, port forward was from a different box. I'll benchmark it again
mir100 has quit [Quit: WeeChat 2.8]
mir100 has joined #ipfs
dsiypl4 has joined #ipfs
ZaZ has joined #ipfs
netrace has quit [Quit: bye]
jmsx has joined #ipfs
jcea has joined #ipfs
is_null has quit [Ping timeout: 260 seconds]
netrace has joined #ipfs
plexigras has quit [Ping timeout: 256 seconds]
plexigras has joined #ipfs
is_null has joined #ipfs
siulManfroni has joined #ipfs
luismanfroni has quit [Read error: Connection reset by peer]
siul_ has joined #ipfs
siulManfroni has quit [Ping timeout: 272 seconds]
ZaZ has quit [Read error: Connection reset by peer]
tryte has quit [Remote host closed the connection]
tryte has joined #ipfs
ZaZ has joined #ipfs
drathir_tor has quit [Ping timeout: 240 seconds]
drathir_tor has joined #ipfs
defnofdumb has joined #ipfs
jokoon has quit [Quit: Leaving]
stkw0 has quit [Ping timeout: 246 seconds]
drathir_tor has quit [Remote host closed the connection]
drathir_tor has joined #ipfs
dethos has quit [Ping timeout: 240 seconds]
ZaZ has quit [Ping timeout: 240 seconds]
Newami has joined #ipfs
siulManfroni has joined #ipfs
siul_ has quit [Read error: Connection reset by peer]