I can put, everything works fine but ls there.
What versions are you running?
Did you build yourself?
sn_cli 0.70.0
sn_node 0.75.0
from github didn`t build
I’ll install these tomorrow and check.
Early night for me #Zzzzzzzzzzzzzzzz
Nodes are doing so much though I see it as a nest of ants managing all the data, moving it around encrypting data, etc.
They are the unit, hence node. A collection of nodes/ants might live in a nest but the idea of nodes has always been for them to be as simple as possible, hence ants following simple rules. Also, they don’t encrypt data, the client does that!
Admittiing my own dumbness, safe cat container
does exactly what I wanted.
Is files still not fixed in the latest release?
I pulled and built with git pull && cargo build --release --features statemap,otlp,build-bin,data-network
My script to clean up previous, run a 20 node baby-fleming and set up the gnesis wallet exited with
Public Key: b413215c466d50264a208cbb5339ffbc1ff5d39913e81ec730be46e4d7e1443822a52bcfe39f090bdbf30df71b58a2c2
Secret Key: 0a58e00cd2b20ecc1a22c7e27dac313ac005f6e68d4c587ecb9c73d2a456fdcf
Keypair saved at /home/willie/.safe/cli/credentials
Safe CLI now has write access to the network
The master wallet is at address: safe://hyryynywaf6wsxai7wfni11pyujont9k4cthrxam3xsgm5h1ipmk5rrapuab6o
Node PID: 602957, prefix: Prefix(), name: f76bcd(11110111).., age: 5, connection info:
"127.0.0.1:53111"
Error:
0: ClientError: Did not receive sufficient ACK messages from Elders to be sure this cmd (MsgId(baf2..3d74)) passed, expected: 7, received 5.
1: Did not receive sufficient ACK messages from Elders to be sure this cmd (MsgId(baf2..3d74)) passed, expected: 7, received 5.
Location:
/rustc/d5a82bbd26e1ad8b7401f6a718a9c57c96905483/library/core/src/convert/mod.rs:726
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
============================================
then safe files put barfed
willie@gagarin:~$ safe files put coo.jpg
error: Found argument 'files' which wasn't expected, or isn't valid in this context
USAGE:
safe [OPTIONS] <SUBCOMMAND>
For more information try --help
EDIT: ignore this for now - I may have an old binary.
Never try to cook and compile at same time, folks
EDIT2: I do have an old binary
willie@gagarin:~/projects/maidsafe/safe_network$ sudo cp target/release/safe /usr/local/bin/
[sudo] password for willie:
willie@gagarin:~/projects/maidsafe/safe_network$ which safe
/usr/local/bin/safe
willie@gagarin:~/projects/maidsafe/safe_network$ ls -l /usr/local/bin/safe
-rwxr-xr-x 1 root willie 32451672 Feb 28 19:27 /usr/local/bin/safe
willie@gagarin:~/projects/maidsafe/safe_network$ safe --version
sn_cli 0.71.0
willie@gagarin:~/projects/maidsafe/safe_network$ /usr/local/bin/safe --version
sn_cli 0.72.1
willie@gagarin:~/projects/maidsafe/safe_network$ safe --version
sn_cli 0.71.0
Need to look a little harder. There is def no safe binary in ~/projects/maidsafe/safe_network though.
isnt it in release/target/etc?
Can someone explain just WTF is going on here?
THis is a linux problem - and a basic one at that - not SAFE specific - at least I dont think so
willie@gagarin:~/projects/maidsafe/safe_network$ sudo cp target/release/safe /usr/local/bin/
willie@gagarin:~/projects/maidsafe/safe_network$ ls -l /usr/local/bin/safe
-rwxr-xr-x 1 root willie 32451672 Feb 28 19:56 /usr/local/bin/safe
willie@gagarin:~/projects/maidsafe/safe_network$ /usr/local/bin/safe --version
sn_cli 0.72.1
willie@gagarin:~/projects/maidsafe/safe_network$ ls -l target/release/safe
-rwxrwxr-x 2 willie willie 32451672 Feb 28 18:32 target/release/safe
willie@gagarin:~/projects/maidsafe/safe_network$ target/release/safe --version
sn_cli 0.72.1
willie@gagarin:~/projects/maidsafe/safe_network$ which safe
/usr/local/bin/safe
willie@gagarin:~/projects/maidsafe/safe_network$ safe --version
sn_cli 0.71.0
In any case my original problem above is of course a stale binary - that is hanging around like a stale fart.
do a ls please on that folder
and do a exec bash
please
it might be that your terminal has a cache of safe
do a ls please on that folder
willie@gagarin:~/projects/maidsafe/safe_network$ ls -l /usr/local/bin
total 116240
lrwxrwxrwx 1 1001 app 52 Feb 23 2022 arduino -> /home/willie/projects/arduino/arduino-1.8.19/arduino
lrwxrwxrwx 1 1001 app 37 Dec 3 07:48 aws -> /usr/local/aws-cli/v2/current/bin/aws
lrwxrwxrwx 1 1001 app 47 Dec 3 07:48 aws_completer -> /usr/local/aws-cli/v2/current/bin/aws_completer
lrwxrwxrwx 1 1001 app 45 Oct 4 16:18 corepack -> ../lib/node_modules/corepack/dist/corepack.js
lrwxrwxrwx 1 1001 app 40 Aug 6 2022 gulp -> ../lib/node_modules/gulp-cli/bin/gulp.js
lrwxrwxrwx 1 1001 app 37 Oct 3 18:10 jshint -> ../lib/node_modules/jshint/bin/jshint
lrwxrwxrwx 1 1001 app 22 Dec 31 2021 lynis -> /usr/local/lynis/lynis
lrwxrwxrwx 1 1001 app 27 Oct 4 15:52 n -> ../lib/node_modules/n/bin/n
-rwxr-xr-x 1 1001 app 86575280 Oct 4 16:18 node
lrwxrwxrwx 1 root root 38 Dec 21 02:54 npm -> ../lib/node_modules/npm/bin/npm-cli.js
lrwxrwxrwx 1 root root 38 Dec 21 02:54 npx -> ../lib/node_modules/npm/bin/npx-cli.js
lrwxrwxrwx 1 1001 app 20 Jan 4 2022 packettracer -> /opt/pt/packettracer
lrwxrwxrwx 1 root root 39 Feb 12 05:23 rubyripper_cli -> /opt/rubyripper-0.6.2/rubyripper_cli.rb
-rwxr-xr-x 1 root willie 32451672 Feb 28 19:48 safe
lrwxrwxrwx 1 1001 app 36 Sep 21 14:38 yarn -> ../lib/node_modules/yarn/bin/yarn.js
lrwxrwxrwx 1 1001 app 36 Sep 21 14:38 yarnpkg -> ../lib/node_modules/yarn/bin/yarn.js
no do ls on the safe_network please and exec bash and try again safe --version
willie@gagarin:~/projects/maidsafe/safe_network$ exec bash
willie@gagarin:~/projects/maidsafe/safe_network$ safe --version
sn_cli 0.71.0
ok wierd, do an ls
on safe_network folder
willie@gagarin:~/projects/maidsafe/safe_network$ ls -l
total 5648
-rw-rw-r-- 1 willie willie 8217 Feb 24 06:23 100.dbc
-rw-rw-r-- 1 willie willie 5253880 Dec 12 18:05 5mb.mp4
-rw-rw-r-- 1 willie willie 125871 Feb 28 18:31 Cargo.lock
-rw-rw-r-- 1 willie willie 235 Feb 23 21:20 Cargo.toml
-rw-rw-r-- 1 willie willie 204878 Dec 6 21:32 CHANGELOG.md
-rw-rw-r-- 1 willie willie 32 Dec 6 21:32 codeowners
-rw-rw-r-- 1 willie willie 47 Dec 6 21:32 Cross.toml
drwxrwxr-x 3 willie willie 4096 Feb 21 02:28 DBC-testing
-rw-rw-r-- 1 willie willie 36320 Dec 6 21:32 LICENSE
-rw-rw-r-- 1 willie willie 1516 Jan 4 00:41 LICENSE-BSD
-rw-rw-r-- 1 willie willie 1065 Jan 4 00:41 LICENSE-MIT
drwxrwxr-x 2 willie willie 4096 Feb 28 18:31 log_cmds_inspector
-rw-rw-r-- 1 willie willie 28316 Feb 1 17:57 Makefile
-rw-rw-r-- 1 willie willie 4404 Feb 23 21:20 README.md
drwxrwxr-x 7 willie willie 4096 Dec 6 21:32 resources
drwxrwxr-x 5 willie willie 4096 Feb 27 15:27 sn_api
drwxrwxr-x 5 willie willie 4096 Feb 28 08:08 sn_cli
drwxrwxr-x 5 willie willie 4096 Feb 27 23:38 sn_client
drwxrwxr-x 3 willie willie 4096 Feb 27 15:27 sn_cmd_test_utilities
drwxrwxr-x 3 willie willie 4096 Feb 27 15:27 sn_comms
drwxrwxr-x 4 willie willie 4096 Feb 28 08:08 sn_fault_detection
drwxrwxr-x 3 willie willie 4096 Feb 28 18:31 sn_interface
drwxrwxr-x 6 willie willie 4096 Feb 28 18:31 sn_node
drwxrwxr-x 3 willie willie 4096 Feb 23 21:20 sn_updater
drwxrwxr-x 3 willie willie 4096 Jan 11 21:17 sqlite
drwxrwxr-x 3 willie willie 4096 Dec 6 21:35 target
drwxrwxr-x 2 willie willie 4096 Feb 24 16:58 testnet
-rw-rw-r-- 1 willie willie 8217 Feb 24 06:35 whee.dbc
-rw-rw-r-- 1 willie willie 8217 Feb 24 06:37 wheen.dbc
wierd as f*ck!!!
I am out of ideas
do you maybe got any terminal caching?
ok new plan, move out of the safe_network folder and try again safe --version
Look in ~/.safe/ ?
my thinking is that there is some kind of caching on his terminal and in the safe_network folder it outputs 0.71.0 for safe --version as it finds it somewhere else than which safe