You mean try the same command again?
I will try tonight.
It would be really nice if that would work and that the browser could access it.
My computer cannot handle a lot of ram, so running nodes remotely is a must for me.
Try to run this again: $ safe auth unlock --self-auth, then retry files put cmd.
Thanks, Gabriel. I can upload and create wallets but the “out of order” error in transfers persist.
I’m not aware of a nice workaround for that error. You can can still get a new keypair for the CLI, i.e. create a new Safe with auth create --test-coins, and then self-auth CLI when unlocking the Safe with auth unlock -self-auth, and that may allow you to upload some more files I presume (obviously these new files will be owned by the new and different keypair).
I’m not sure if I’m doing what’s suggested, but it isn’t working for me:
$ safe auth unlock --self-auth
[2020-12-19T17:51:36Z DEBUG safe] Starting Safe CLI...
[2020-12-19T17:51:36Z DEBUG safe::cli] Processing command: CmdArgs { cmd: Some(Auth { cmd: Some(Unlock { config_file_str: None, self_auth: true }) }), output_fmt: None, output_json: false, dry: false, xorurl_base: None, endpoint: None }
[2020-12-19T17:51:36Z INFO safe::operations::auth_daemon] Using passphrase from provided ENV var: SAFE_AUTH_PASSPHRASE
[2020-12-19T17:51:36Z INFO safe::operations::auth_daemon] Using password from provided ENV var: SAFE_AUTH_PASSWORD
Sending action request to authd to unlock the Safe...
[2020-12-19T17:51:36Z ERROR safe] sn_cli error: [Error] AuthdError - [Error] ClientError - Data error -> Requested data not found
$ safe files put ~/src/safe/vdash/src/bin/ --recursive
[2020-12-19T17:51:47Z DEBUG safe] Starting Safe CLI...
[2020-12-19T17:51:47Z DEBUG safe::cli] Processing command: CmdArgs { cmd: Some(Files(Put { location: "/home/mrh/src/safe/vdash/src/bin/", dest: None, recursive: true, follow_links: false })), output_fmt: None, output_json: false, dry: false, xorurl_base: None, endpoint: None }
[2020-12-19T17:51:47Z DEBUG safe::operations::auth_and_connect] Connecting...
[2020-12-19T17:51:47Z ERROR safe] sn_cli error: [Error] NetDataError - Failed to store Public Sequence data: Data error -> Unexpected error: Could not get history for key PublicKey::Ed25519(851926..) - ClientError::DataError -> Unexpected("Could not get history for key PublicKey::Ed25519(851926..)")
I have value set for SAFE_AUTH_PASSWORD and SAFE_AUTH_PASSPHRASE, and started my network with:
RUST_LOG="sn_node=trace,safe=trace" safe node run-baby-fleming -t
Try with a new Safe as well @happybeing
Sorted, I’m nearly there but not seeing any TRACE output. Any comments on: Safe Network Dev Update - December 17, 2020 - #79 by happybeing
Or if I can detect PUT and GET from the INFO output?
EDIT: I now have a good number of messages for two things that look like PUTS:
sn-node-genesis/sn_node.log:[sn_node] INFO 2020-12-19T17:50:41.200007221+00:00 [src/chunk_store/mod.rs:134] Writing chunk succeeded!
and possibly also:
sn-node-genesis/sn_node.log:[sn_node] INFO 2020-12-19T17:50:41.200217593+00:00 [src/node/elder_duties/data_section/metadata/map_storage.rs:475] MapStorage: Writing chunk PASSED!
Although the second is related to MapStorage, but I guess still a PUT?
I’m looking for something I use to count GETS.
This looks promising matching on the “Get” of “GetSequence” etc in:
[sn_node] INFO 2020-12-19T18:09:39.968758995+00:00 [src/node/mod.rs:223] Running as Node: SendToSection [ msg: MsgEnvelope { message: QueryResponse { response: QueryResponse::GetSequence(Success), id: MessageId(f43e31..), correlation_id: MessageId(7a42ea..), query_origin: Client(157bd5..) }, origin: MsgSender { entity: Entity::TransientElderKey::Ed25519(2fa316..)BlsShare(97be30..)ElderNode(Metadata), sig: Some(EntitySignature::Elder::BlsShare(..)) }, proxies: [] } ]
So I’ll try those for now.
The following one I’m seeing as the closest possible, but you’d have to filter duplicates as I see it logged more than once for the same chunk:
[sn_node] INFO 2020-12-19T15:11:11.871542122-03:00 [src/node/mod.rs:205] Running as Adult: RunAsChunkStore(ReadChunk(MsgEnvelope { message: Query { query: Data(Public(bbe703..)), id: MessageId(f10c88..) }....
I’m having a problem creating an account. Not seen this error before.
user@deb-dev:~/.config$ safe auth status
Sending request to authd to obtain a status report...
+------------------------------------------+--------+
| Safe Authenticator status | |
+------------------------------------------+--------+
| Authenticator daemon version | 0.0.12 |
+------------------------------------------+--------+
| Is there a Safe currently unlocked? | No |
+------------------------------------------+--------+
| Number of pending authorisation requests | 0 |
+------------------------------------------+--------+
| Number of notifications subscribers | 0 |
+------------------------------------------+--------+
user@deb-dev:~/.config$ safe auth create --test-coins
Passphrase:
Password:
Sending request to authd to create a Safe...
[2020-12-19T18:23:23Z ERROR safe] sn_cli error: [Error] AuthdError - [Error] ClientError - QuicP2P error: ReadExactError(FinishedEarly)
Hey mates, hey @dirvine,
I just wanted to say that I honestly didn’t believe that this was ever going to happen. Congratulations, that you prove me wrong and good luck for things ahead. ![]()
(following from year 1 on btw)
I’ve published vdash v0.5.0 which has been updated to work with the latest sn_node release (v0.25.15). It’s a quick first go, so not necessary counting GETS/PUTS precisely but does provide a useful indication and animated display.
Note: you will need Rust installed, details in the README but very easy on Linux (cargo install vdash) A bit more tricky on Windows, but it has been done before!
Thanks to Josh for doing a lot of renaming “vault” to “node” and Gabriel for helping get the GET/PUT stuff tested. Enjoy!
Is there a reason Rust can’t be installed from Debian/Ubuntu/Mint repositories using apt-get?
Might work, try and if it doesn’t uninstall.
I like using apt. Do you know the exact name of the package needed?
Nope, try rustlang?
No “rustlang”, but a whole bunch of other possibilities.
sascha@Knut:~$ sudo apt-get install rust
Display all 695 possibilities? (y or n)
Try rustc for starters and accept the suggested packages
I already have rust on the desktop and my laptop so I cant verify without possibly screwing a working system. Dunno if this ALL you need but it certainly looks close enough.
Let us know how you get on.
EDIT: Install Rust - Rust Programming Language is pretty straightforward - if you (t)rust their script…
curl --proto ‘=https’ --tlsv1.2 -sSf https://sh.rustup.rs | sh
I’d like to be able to use the standard repositories, so I went ahead and did this.
sascha@Knut:~$ sudo apt-get install --install-suggests rustc
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-54 linux-headers-5.4.0-54-generic linux-image-5.4.0-54-generic linux-modules-5.4.0-54-generic linux-modules-extra-5.4.0-54-generic
Use ‘sudo apt autoremove’ to remove them.
The following additional packages will be installed:
cargo cargo-doc fonts-font-awesome fonts-open-sans gdb-doc libhttp-parser2.9 libjs-highlight.js libstd-rust-1.43 libstd-rust-dev lld-9 rust-doc rust-gdb rust-src
The following NEW packages will be installed:
cargo cargo-doc fonts-font-awesome fonts-open-sans gdb-doc libhttp-parser2.9 libjs-highlight.js libstd-rust-1.43 libstd-rust-dev lld-9 rust-doc rust-gdb rust-src rustc
0 upgraded, 14 newly installed, 0 to remove and 0 not upgraded.
Need to get 110 MB of archives.
After this operation, 706 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Well?
Did you?
agogometer at 9.7
I sure did. But we’ll see when I get around to actually testing anything. There is the usual fishing and stuff, and I will also do some Russian-Swedish interpreting over the phone tomorrow.
