I’m trying to join as a node now. It looks promising, but I’m not sure how to interpret the output. Is there a log file that cab easily TAILed? Or maybe @happybeing’s script works. I can’t remember the name of it.
sascha@sascha-Librem-15-v3:~/.safe/node$ RUST_LOG=safe_network=info,qp2p=info ~/.safe/node/sn_node --skip-auto-port-forwarding
Starting logging to stdout
INFO 2021-12-19T16:39:09.753877Z [sn/src/routing/routing_api/mod.rs:L152]:
➤ 5fef48… Bootstrapping a new node.
INFO 2021-12-19T16:39:10.194300Z [sn/src/routing/routing_api/mod.rs:L166]:
➤ 5fef48… Joining as a new node (PID: 72453) our socket: 138.199.55.46:3707, bootstrapper was: 159.65.52.30:12000, network’s genesis key: PublicKey(03a4…e396)
sascha@sascha-Librem-15-v3:/media/sascha/Data/Safe_Put_Cat$ time safe files put Tobacco_drying.jpg
FilesContainer created at: “safe://hyryyryyna7otdupgfbcsxb34mszeqkd3yz5aacd8bos5h83uus7z7yturweoeuy?v=hds6w46icdsqi3484a8e1nr1rb8q98u1t8ac48d9jqo4kwt8ze9xo”
vdash was a great tool from @happybeing but AIUI needs a lot of work to make it compatible with the latest code.
I’m a bit distracted - Celtic have just won the first trophy of the season - but I too am not quickly finding the logs - other than what I am piping to stdout
willie@gagarin:~$ truncate -s 10M 10MBtest
willie@gagarin:~$ time safe files put 10MBtest
FilesContainer created at: "safe://hyryyryyns37wbyh81q94zybd4qqhqqek8jty68m358qmo3jumzjyqzw6x46oeuy?v=hgip1akd6y1eg5cnzxjfqayrb7yyyobuttozu3uwcoggpcnoq1aho"
E 10MBtest <ClientError(NotEnoughChunks(10, 1))>
real 0m1.311s
user 0m0.193s
sys 0m0.036s
FilesContainer created at: "safe://hyryyryyniraq156ga7et3tfffs8swjz8qto374w97w6936e9xbz3rkpa9d3oeuy?v=hc9omuaxyshdcqmqo4kyd6mi5ntx8cghmxqk1us56f3uzuxmtpeay"
+ leonidas-ps5.mp4 safe://hy8ayqyybmqtidu3z4cd5prqbysnrbqkhwrjtb8m8ro7jhbk5epi3ygekycio
real 0m5.364s
user 0m1.741s
sys 0m0.842s
cant see it cause you havent specified what it is to save it?
used files get and it didnt work got an error:
safe files get safe://hy8ayqyybkfqfze6814rar8ihr4kqb1j1w8ettcunmofxc144qo4nxuz7mf8y
Error:
0: You can target files only by providing a FilesContainer with the file's path
Location:
sn_cli/src/subcommands/files_get.rs:338
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.