guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IPFS trouble


From: Laura Lazzati
Subject: Re: IPFS trouble
Date: Tue, 18 Dec 2018 12:56:26 -0300

Hi Björn - and guix -

Here is everything I tried

mkdir ipfsFiles
cd
cd videosWithoutTranslation/
cp audio-input-list3.txt /home/laura/ipfsFiles/
cp video-input-list3.txt /home/laura/ipfsFiles/
ipfs add -r ipfsFiles/
cd ipfsFiles
ipfs  init
initializing IPFS node at /home/laura/.ipfs
generating 2048-bit RSA keypair...done
peer identity: QmVJW3dAuoXaqeeHeVrsD7fJHhrAxoriR2JurtGNx3e8he
to get started, enter:

    ipfs cat /ipfs/QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv/readme
cd
ipfs add -r ipfsFiles/
added QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
ipfsFiles/audio-input-list3.txt
added QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
ipfsFiles/video-input-list3.txt
added Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB ipfsFiles
 115 B / 115 B 
[=================================================================================================================]
100.00%

localhost:9090/ipfs/QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
 did not work either

ipfs config Addresses.Gateway /ip4/0.0.0.0/tcp/9090

https://ipfs.io/ipfs/QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe
no one else has my hash

ipfs daemon
Initializing daemon...
go-ipfs version: 0.4.19-dev-
Repo version: 7
System version: amd64/linux
Golang version: go1.11.1
Successfully raised file descriptor limit to 2048.
Swarm listening on /ip4/10.0.2.15/tcp/4001
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
Swarm listening on /p2p-circuit
Swarm announcing /ip4/10.0.2.15/tcp/4001
Swarm announcing /ip4/127.0.0.1/tcp/4001
Swarm announcing /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/9090
Daemon is ready

went to webui:
In explore tab, inserting the hash of a file

After I don't know how much time I waited (I did not count it, but the
response time was ubearable, it was not 5 min at all)

CIDQmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9

Size48 B
Links0
Data
Object {type: "file", data: Buffer[40], blockSizes: Array[0]}

type: "file"
data: Buffer[40]
blockSizes: Array[0]

Doing the same with my directory:

CIDQmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
Size261 B
Links2
Data

Object {type: "directory", data: undefined, blockSizes: Array[0]}
type: "directory"

data: undefined
blockSizes: Array[0]

Path
CID 0
audio-input-list3.txt QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
1 video-input-list3.txt QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe

without problems

But if I go to the files tab, I cannot see the files. I only have the
option of add file, that was what I was trying to write yesterday

https://ipfs.io/ipfs/Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
Waits forever ends up with about: blank, it is impossible to see it

in my terminal: ipfs ls QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9
nothing shown

ipfs ls Qmd2aRaa6rSEkwU95Lk3RGtHp7oBzJyM97oxgTk7ENrVaB
(istantly, daemon always running but not in background)
QmVmtcXockAvmA9ZorgksmwK4PiSV4AoRx7KpoLczg2AD9 48 audio-input-list3.txt
QmTtutKMVDCWtinAC8m1Xft4u4P84uCjPhqJ9amVswCSAe 83 video-input-list3.txt

ipfs cat
ipfs: Reading from /dev/stdin; send Ctrl-d to stop.
^C
Error: Post http://127.0.0.1:5001/api/v0/cat?encoding=json&stream-channels=true:
context canceled

Is it OK to share my ipfs id and that hash of my directory so that you
see  my files?

Regards!
Laura



reply via email to

[Prev in Thread] Current Thread [Next in Thread]