Baby Fleming Public Shared Section

My setup was a bit messed up when I started this as my old ~/.safe had been deleted and I skipped the local single section release. This is what happened and my progress fixing this:

A gotcha that might need a code fix. Having earlier downloaded safe to ~/bin/safe which is on my path I updated as instructed above. Using safe update works fine, but then:

safe auth update
[2020-03-31T10:54:59Z ERROR safe] safe-cli error: [Error] AuthdClientError - Failed to execute authd from '/home/mrh/.safe/authd/safe-authd': No such file or directory (os error 2)

Looking in ~/bin shows that safe was updated but nothing else:

$ ls -l ~/bin/safe*
-rwxr-xr-x 1 mrh mrh  26824936 Mar 26 15:12 /home/mrh/bin/safe
-rwxr-xr-x 1 mrh mrh  17447520 Feb 24 21:10 /home/mrh/bin/safe0.2.2
-rwxr-xr-x 1 mrh mrh  13560224 Feb 24 21:10 /home/mrh/bin/safe_auth
-rwxr-xr-x 1 mrh mrh  19023728 Feb 24 21:10 /home/mrh/bin/safe_auth0.2.0
-rwxr-xr-x 1 mrh mrh 112504460 Feb 24 21:10 /home/mrh/bin/safe-browser.AppImage
-rwxr-xr-x 1 mrh mrh  12239576 Feb 24 21:10 /home/mrh/bin/safe_vault
-rwxr-xr-x 1 mrh mrh  18526096 Feb 24 21:10 /home/mrh/bin/safe_vault0.19.0

So I guess we need to only install safe and its buddies in ~/.safe/. Ideally this should be enforced, and documented in the mean time.

I’ve posted this as issue #496, but also here for visibility.

I’ve run the install.sh and it has installed .safe/cli/safe but nothing else, so I’m missing .safe/auth etc. How is that supposed to be installed?

OK, ok, RTFM…

safe vault install
safe auth install

And to finish…

safe networks add shared-section https://safe-vault-config.s3.eu-west-2.amazonaws.com/shared-section/vault_connection_info.config
safe networks switch shared-section

But oops… Not sure if this is a more general issue, but:

safe networks switch shared-section
Switching to 'shared-section' network...
Fetching 'shared-section' network connection information from 'https://safe-vault-config.s3.eu-west-2.amazonaws.com/shared-section/vault_connection_info.config' ...
[2020-03-31T11:31:09Z ERROR safe] safe-cli error: Unable to write config in /home/mrh/.config/safe_vault/vault_connection_info.config: No such file or directory (os error 2)

The last error is fixed by mkdir ~/.config/safe_vault so maybe the command should check for its existance?

I’ve done safe auth start but am unable to create an account:

safe auth create-acc --test-coins
Passphrase: 
Password: 
Creating a SafeKey with test-coins...
Unexpected error Io(Custom { kind: UnexpectedEof, error: "failed to fill whole buffer" })
Sending account creation request to authd...
[2020-03-31T11:43:08Z ERROR safe] safe-cli error: [Error] AuthdError - [Error] AuthError - Failed to create an account: Account containers creation error: NFS error: NfsError::CoreError -> Data error -> Balance does not exist - CoreError::DataError -> NoSuchBalance. Login to attempt recovery.

Seemed better after safe auth restart, but then fails to bootstratp:

safe auth create-acc --test-coins
Passphrase: 
Password: 
Creating a SafeKey with test-coins...
Sending account creation request to authd...
[2020-03-31T12:01:39Z ERROR safe] safe-cli error: [Error] AuthdError - [Error] AuthError - Failed to create an account: Account containers creation error: Core error: Unexpected: Connection timed out when bootstrapping to the network. Login to attempt recovery.

Also, don’t I need SAFE App or something for auth?

FYI, this is Ubuntu 19.10 with:
safe-cli 0.11.0
safe-auth 0.11.0
safe-vault 0.11.0

7 Likes