I guessed this might be the problem so I have copied it again and repeated the steps a couple of times. It looks like I’m still using a local vault but I’m not sure why.
I’ll go again starting with downloading it afresh! Thanks Gabriel.
I guessed this might be the problem so I have copied it again and repeated the steps a couple of times. It looks like I’m still using a local vault but I’m not sure why.
I’ll go again starting with downloading it afresh! Thanks Gabriel.
Ok @happybeing , you can run safe --version
to make sure you have v0.2.2, same for safe_auth --version
and it should show v0.2.0. Perhaps the issue you have is that you are still running your local vault? I can see safe_auth will find it first before trying with shared vault, so probably make sure you stop your local vault?
I have:
$ safe --version
safe_cli 0.2.2
$ safe_auth --version
safe_auth 0.1.0 <- not 0.2.0
Both downloaded today from the links in last night’s post and it is definitely the version extracted from the archive safe_authenticator_cli-0.2.0-x86_64-unknown-linux-gnu.tar
. I just checked.
I only have the one vault running, so not an earlier local vault.
Now doing safe_auth --update
That’s odd, even after update things are still not working and safe_auth --version
still reports v0.1.0!
NOTE: One possibility is that other people already had the binaries and that --update worked, but I hadn’t downloaded any of these previously so have the version in the archive, and it seems not to update even though it says it will!
Right @happybeing @Sascha, we just spotted a bug then in the version reported by the safe_auth binary. I’ll raise it so we can fix it for next release.
@happybeing I think we can ignore the issue with the wrong version reported by the binary, you should be fine to use it. Not sure if I follow you, what I meant was that to connect to the shared vault you make sure you don’t run any local vault. I tried it and if you have a local vault running, even with the config file in place, the safe_auth seems to first connect to you local one. So can you try stopping/killing any/all your local vaults and then try to use the CLI to connect to shared vault?
Thanks Gabriel, I misunderstood. I was getting a timeout when I tried without first running safe_vault
so I thought the idea was to run the vault but with the alternative config.
This timeout still happened after you suggested I make sure I wasn’t running a local vault so I’m still having problems. I’m not sure if I’d updated before that but think I had. Will have to check later.
What is using the ~/.config/safe_vault/blah.config
when using the shared vault if it isn’t safe_vault
?
I guess the config file name can be misleading/confusing you, but the safe_auth (actually the SCL library) will use it to connect to the shared vault. Likewise, the browser would use it to connect to shared vault.
Also, the shared vault is a vault like the one we are all running locally, it’s just one that is running on a server so people can connect to it instead of running a local one. In fact I believe anyone can run a local vault, and share the config file with its public IP to others to connect to it with CLIs and browser.
I had the same problem. When you run the local vault, it creates the config file … and blows away the other config file that you downloaded from github that allows connecting to shared vault.
Overwrite the config file that the local vault created, with the one from github … and then never run the local vault again to avoid overwriting it again.
I am up and running to the shared vault on the same Windows 10 computer I struggled with yesterday on local vault. Local vault still not working, but shared vaults working great.
Here’s my contribution to the shared vault.
safe cat safe://hbyyyydumbcdx4yd55q4bg3yxfjkrw15rbepchpy5izded53useofe5fge > maidsafe.mp4
I suspect this is the answer! Thanks Tom. Confirmed - my running safe_vault
was overwriting the vault config and forcing connection to local vote or a timeout when the safe_vault
wasn’t running.
@Maidsafe I suggest the OP is clarified to say that to use the shared vault, do NOT run safe_vault
and always copy the shared config, because every time you run safe_vault
it resets the config to look for a locally running safe_vault
.
I can’t get
$ safe_auth --apps
to work. Am I doing something completely idiotic?
Also:
sascha@Knut-Mint:/mnt/Data/SAFE$ ./safe cat safe://hbyyyydumbcdx4yd55q4bg3yxfjkrw15rbepchpy5izded53useofe5fge > maidsafe.mp4
[2019-08-30T18:44:46Z ERROR safe] safe_cli error: [Error] NetDataError - Failed to GET Published ImmutableData: CoreError(No such data - CoreError::DataError -> NoSuchData)
Fragment of new Cyberpunk 2077 – Deep Dive Video:
safe cat safe://cyberpunk/banhammer.mp4 > banhammer.mp4
I wonder if safe_vault
overwriting the config automatically is wise. It could ask first, or perhaps better an option could be provided to allow or prevent overwriting the config. Thoughts @bochaco?
I think it should, however we should probably add flags to clients if you want to use connection info for connecting to other vaults than locally running one
I’m not sure how to use safe_auth --apps
either. I have the daemon running already and the following just hangs but possibly you aren’t supposed to run safe_auth
more than once?
safe_auth --apps
Secret:
Password:
Logged in the SAFE Network successfully!
I created a Ubuntu VM with Hyper-V on Windows 10 but I cannot make it work. I am new to Ubuntu Desktop, so this may be a basic usage error.
When I double click on safe-browser icon I get this error:
And in a terminal:
Beat you to it here . It’s a build bug, see:
For those who want to get up and running on the shared vault as fast as possible, here’s what I did (but I did not do this fast…)
safe_auth --test-coins
safe_auth --daemon 41805
safe auth
safe files put .your_dir_name --recursive
safe cat safe://hbyyyydumbcdx4yd55q4bg3yxfjkrw15rbepchpy5izded53useofe5fge > maidsafe.mp4
Also useful:
...
$ safe files put cyberpunk/ --recursive
FilesContainer created at: "safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc"
+ cyberpunk/banhammer.mp4 safe://hbyyyydw8ay879ejpdknrbmmig31gxjr9qexxqhe5bq3wsdhd3xwdxaasd
$ safe nrs create cyberpunk --link safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc?v=0
New NRS Map for "safe://cyberpunk" created at: "safe://hnyydyistmxhjpjw4txtik9187oe5wr3b6kg1qr83hn41dijjtcmuhuoxrbqh"
+ cyberpunk safe://hnyynyzyny5xx5fhp5uyiedbrph3akrw4oeuy4a7fsm9crjjnsawg3jybobnc?v=0
safe cat safe://cyberpunk
Files of FilesContainer (version 0) at "safe://cyberpunk":
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| Name | Size | Created | Modified | Link |
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /banhammer.mp4 | 931806 | 2019-08-30T19:48:56Z | 2019-08-30T19:48:56Z | safe://hbyyyydw8ay879ejpdknrbmmig31gxjr9qexxqhe5bq3wsdhd3xwdxaasd |
+----------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
And…
safe cat safe://dweb
Files of FilesContainer (version 0) at "safe://dweb":
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| Name | Size | Created | Modified | Link |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /404.html | 1513 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynb97jrsbxg3dnynczgoetg3xanitekfyhd1ep8q3syyax8recnuk |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /404/routeInfo.json | 82 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd41w4pcnmioy9ri1idn5xqki7esoeh4apj7rhjmdqw7chc3kfc4g |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /about/index.html | 4436 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn5oih7cgxd8zx134tr4uadbde6gt7fhz6a7hwhxhn44at1bajcbg |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /about/routeInfo.json | 1590 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyddwsgayu6eyyn6opmbji9xf3hef6ce3895iqy86r3j74m45fknmk |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/index.html | 26281 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynzq6ipkimu5fkz3pobkcxs31kpuwsuqeemc58u76o13bwepzke7s |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/001-how-to-set-up-your-own-dweb-site/index.html | 6739 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynpj5wdyug11sqpmrskgy91ptrw1xxcm1tm76ss8ddefk7f79uwfb |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/001-how-to-set-up-your-own-dweb-site/routeInfo.json | 2818 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydst43ay6oea5oww7tq6jrjfa7et76w9oq11rs8hingrmp3jub4g9 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/002-safegit-decentralised-git-on-safe-network/index.html | 33919 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyni4nhziwkbuu5a1ziizufit73kqmqxik6ejdsroubjdi6s6d9haj |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/002-safegit-decentralised-git-on-safe-network/routeInfo.json | 16435 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd4xustss4gf1ayijw3xdbdyswgakyjdt3p64fw1gdbta9nz47soa |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/003-solid-filemanager-on-safe-network/index.html | 12283 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydacog7jtqci7jp977cx88j7iq5hz8o56xpmft3thriexq91gx3tj |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/post/003-solid-filemanager-on-safe-network/routeInfo.json | 5566 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynodt6gmjkhf861ur4ujnr9d9jkzptxiko6wkargqanx5fpf59czc |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /blog/routeInfo.json | 24500 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyng8hwf91thzp8obcidzngk6gfszkaeqbkkc9h9yiraw6t7d1myri |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safedrive-logo-017778b748a2fa41a1a79855bc90dd6dda5f5051_2_1064x1000.jpeg | 138141 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynee3dxo618qwkwucp1nkfcjco8msnamuh444qokgg5pzgjrnoeaq |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safegit-logo-8a31ccf66202d8209de7345c105da82070b22876_2_1380x580.png | 13215 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydsb1y5jwnbs1hyc7imqaebstap75e4nia3nztstmtpjkbo4st1ui |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/safepresslogo.png | 25286 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynbtpmugmbgnj5cj5yo8tyf33dbaeks7a1h7yqhocbtam43bukqz9 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /images/solidonsafelogo.png | 15558 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynyzeowzzxxd5rzawyfn7hzf4t3meo9fkiokag65qssmuxchjm544 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /index.html | 9139 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydu5mwkxf4jztn1nr5yaa8rtxpfzyw56ffqp8a8feye35gi8gp737 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /main.b88055c4.js | 6371 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynw49wgw4c73nanfnknhcbs75jxyeijbm5qrcg5syoqeenzms1zcd |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /robots.txt | 14 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynf9frrhfe9tsmon5ssy53kxwx13jhxpas549u3gu6tiezyrnan7m |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /routeInfo.json | 3989 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn4bhb4wtjgao664rzxg45igtpgissjsr7x13hwzrm4jo8yccumat |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /styles.09a99144.css | 361 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynrzfhe7xbk1hihejq93hozwddtcpsy5k4a7aiu78hjac4zgoxomm |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/containers/Post.81937a63.js | 4260 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynmsi6ikd8tbwc57nkjqwmowjy43bxqt3ja4yz9uqxr18o9fjd5p4 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/404.b179122c.js | 255 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd9wuw9fprzzqnpb3xsjhq4kpu5jkiax55qxfu6tskc3uu9g6ew53 |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/about.089f2a9f.js | 3802 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydz979x3pe17ne8n8hjtzexeemkosgym71s6rcd459i3z5bryxrjf |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/blog.97a83f54.js | 507 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyn1fbt6u4yxjpzrgujie9my8irig314hnsd87c3zc4pjy64uq4zxi |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/src/pages/index.6e7af649.js | 4079 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyynn3q1fcmxa4dzsf3oqqicf8ti8y4symyqoer74xmtk4e18fk9k3f |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/styles.09a99144.js | 82 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyydcaipqe76qpnpxr9rtkkb9msf4w39suzi1zdta9en86bwtrycjrn |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+
| /templates/vendors~main.e0d0502a.js | 240918 | 2019-08-30T19:20:06Z | 2019-08-30T19:20:06Z | safe://hbyyyyd7zqih3pobjj73b3q3u1c8zdds515hwmq67qgaxud5j4yywc6iiw |
+----------------------------------------------------------------------------------+--------+----------------------+----------------------+-------------------------------------------------------------------+