come-maiz / ipfs-snap

IPFS packaged as a snap
MIT License
21 stars 6 forks source link

updates... raspbian #17

Open trijenhout opened 5 years ago

trijenhout commented 5 years ago

iam running the snap on raspbian on a raspberry pi.... the error i got on every ipfs command is ERROR: ld.so: object '/usr/lib/arm-linux-gnueabihf/libarmmem.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. realy dont care because it is working "fine" Aldo i am interested in helping test and i love a 0.4.20 branch.... my main server runs ipfs from the "offical" docker image and is on 0420... the pi i s running 0419 and is running fine for client testing... thanks for your work (Y)

come-maiz commented 5 years ago

@trijenhout Look at #18. v0.4.21 should be in the candidate channel, I would love if you give it a try and report your results. About that error, could you please ask in https://forum.snapcraft.io?

trijenhout commented 5 years ago

running now ipfs version 0.4.22-dev on a raspberry pi B3+ (raspbian-stretch-lite) whit external usb disk mounted @ /home/pi/snap/ipfs/1226/.ipfs. its now running a pin add on a +/-100gb folder so far running stable. web interface shows up only keeps a moving loading icon and no info... will check in a couple of hours when pin add is done and raspberry go's to idle state..

trijenhout commented 5 years ago

for a couple of days Ipfs running fine put it to the test whit next config (this is my second ipfs daemon on the same internet connection): { "Identity": { "PeerID": "Qmay84BNqUq8ceLQUQGCrHkLs6nEqvZstJqdzhH6BobET4", xxxxxxxxx }, "Datastore": { "StorageMax": "10GB", "StorageGCWatermark": 90, "GCPeriod": "1h", "Spec": { "mounts": [ { "child": { "path": "blocks", "shardFunc": "/repo/flatfs/shard/v1/next-to-last/2", "sync": true, "type": "flatfs" }, "mountpoint": "/blocks", "prefix": "flatfs.datastore", "type": "measure" }, { "child": { "compression": "none", "path": "datastore", "type": "levelds" }, "mountpoint": "/", "prefix": "leveldb.datastore", "type": "measure" } ], "type": "mount" }, "HashOnRead": false, "BloomFilterSize": 0 }, "Addresses": { "Swarm": [ "/ip4/0.0.0.0/tcp/4002" ], "Announce": [], "Announce": ["/ip4/xxxxxxx/tcp/4002"], "API": "/ip4/127.0.0.1/tcp/5002", "Gateway": "/ip4/0.0.0.0/tcp/8181" }, "Mounts": { "IPFS": "/ipfs", "IPNS": "/ipns", "FuseAllowOther": false }, "Discovery": { "MDNS": { "Enabled": true, "Interval": 10 } }, "Routing": { "Type": "dht" }, "Ipns": { "RepublishPeriod": "", "RecordLifetime": "", "ResolveCacheSize": 128 }, "Bootstrap": [ "/dnsaddr/bootstrap.libp2p.io/ipfs/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb", "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ", "/ip4/104.236.179.241/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM", "/ip6/2604:a880:1:20::203:d001/tcp/4001/ipfs/QmSoLPppuBtQSGwKDZT2M73ULpjvfd3aZ6ha4oFGL1KrGM", "/ip4/104.236.76.40/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64", "/ip6/2604:a880:800:10::4a:5001/tcp/4001/ipfs/QmSoLV4Bbm51jM9C4gDYZQ9Cy3U6aXMJDAbzgu2fzaDs64", "/ip4/178.62.158.247/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd", "/ip6/2a03:b0c0:0:1010::23:1001/tcp/4001/ipfs/QmSoLer265NRgSp2LA3dPaeykiS1J6DifTC88f5uVQKNAd", "/dnsaddr/bootstrap.libp2p.io/ipfs/QmNnooDu7bfjPFoTZYxMNLWUQJyrVwtbZg5gBMjTezGAJN", "/dnsaddr/bootstrap.libp2p.io/ipfs/QmQCU2EcMqAqQPR2i9bChDtGNJchTbq5TbXJJ16u19uLTa", "/dnsaddr/bootstrap.libp2p.io/ipfs/QmcZf59bWwK5XFi76CZX8cbJ4BhTzzA3gU1ZjYZcYW3dwt", "/ip4/128.199.219.111/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu", "/ip6/2400:6180:0:d0::151:6001/tcp/4001/ipfs/QmSoLSafTMBsPKadTEgaXctDQVcqN88CNLHXMkTNwMKPnu", "/ip4/xxxxxxxx/tcp/4001/ipfs/QmNRgHDo9GV8mgPU9xwiAouxfXmRVSMHijU6wpUMMctb8N" ], "Gateway": { "HTTPHeaders": { "Access-Control-Allow-Headers": [ "X-Requested-With", "Range", "User-Agent" ], "Access-Control-Allow-Methods": [ "GET" ], "Access-Control-Allow-Origin": [ "*" ] }, "RootRedirect": "", "Writable": true, "PathPrefixes": [], "APICommands": [], "NoFetch": false }, "API": { "HTTPHeaders": {} }, "Swarm": { "AddrFilters": null, "DisableBandwidthMetrics": false, "DisableNatPortMap": false, "DisableRelay": false, "EnableRelayHop": true, "EnableAutoRelay": true, "EnableAutoNATService": true, "ConnMgr": { "Type": "basic", "LowWater": 600, "HighWater": 900, "GracePeriod": "20s" } }, "Pubsub": { "Router": "", "DisableSigning": false, "StrictSignatureVerification": false }, "Reprovider": { "Interval": "12h", "Strategy": "all" }, "Experimental": { "FilestoreEnabled": true, "UrlstoreEnabled": false, "ShardingEnabled": false, "Libp2pStreamMounting": false, "P2pHttpProxy": false, "QUIC": false, "PreferTLS": false, "StrategicProviding": false } }

when raspberry is running idle load +/1 @ 1 per 5 min.... the web ineterface wont connenct to daemon . gate way running fine..

trijenhout commented 5 years ago

tested on 2 raspberrypi's b3+ rasbian buster, latest updates, snap --edge version. ipfs daemon running fine web interface never finish loading ...