It works…!
I had to restart everything again to get it to work,
linux fedora vpn
Well, that’s very interesting :/.
I sent the log to qi_ma, and he thinks it’s a little strange that the replication message is coming in. Perhaps the neighbors of a node have nothing to replicate to that node, but it is very rare.
Will you want a local backup of datamaps you’ve uploaded? Would we only want it in the cloud?? (I think the short answer is kind of yes. We can probably store most of what’s in the client folder in the cloud, but some folk may not want to, or will want a backup)
Yes but it could be optional I think.
What I am comparing it to is a 12/24 word seed phrase. Memorize that and you can store all your assets in your head.
Yeh, I suspect we’ll have something like this. We haven’t dove into modern ux of a SAFE yet (or at least, I haven’t been about it, @JimCollinson is probably all over it!).
I’m getting an “ERROR: Bad port” in one of the lines after executing your script, everything else went fine after installing a lot of missing dependencies. Also I couldn’t use openSUSE easily for the time being, so I’m using Debian for the first test.
I’m running it in a podman container, I forwarded port 4700 (I selected to only use one node for the first test)… I guess I will need to open it in my router as well, right? Is anything else needed? Otherwise I’ll need to dig deeper into the script.
It could also be that 4700 is the port being used by the client?
edit: also tried without containers, directly from my openSUSE machine, no luck (obviously for this I had to readapt the script, but didn’t touch anything related to ports).
edit2: I would say it kind of works, at least a couple of nodes from 10 managed to earn some nanos after only a few minutes… I can’t test very throughly and actually they’re running in a raspberry pi 4 which is my actual DNS, so I don’t trust it to leave it running while far from home. Might do some further testing during the weekend.
I try to clear the client’s folder, but again I get an error:
Installing safe.exe for x86_64-pc-windows-msvc at C:\Users\gggg\safe...
[########################################] 6.72 MiB/6.72 MiB
safe.exe 0.86.90 is now available at C:\Users\gggg\safe\safe.exe
PS C:\Users\gggg> rmdir /s C:\Users\<username>\AppData\Roaming\safe
Remove-Item : A positional parameter cannot be found that accepts argument 'C:\Users\<username>\AppData\Roaming\safe'.
At line:1 char:1
+ rmdir /s C:\Users\<username>\AppData\Roaming\safe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
What could be the reason?
Yes and instead of data_map per file you only need one. The root_dir and from that all your files can be retrieved. (the root dir will likely be an address of an encrypted register though)
You need to replace <username>
there with your actual username, which appears to be gggg
.
Thx, of course, I’m too unfocused.
But after entering the correct username, the error continues:
PS C:\Users\gggg> rmdir /s C:\Users\gggg\AppData\Roaming\safe
Remove-Item : A positional parameter cannot be found that accepts argument 'C:\Users\gggg\AppData\Roaming\safe'.
At line:1 char:1
+ rmdir /s C:\Users\gggg\AppData\Roaming\safe
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Remove-Item], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand
Not sure exactly, but you could try this as an alternative:
Remove-Item -Recurse -Force "C:\Users\gggg\AppData\Roaming\safe"
Or you could even just delete it in Windows Explorer.
Might it be safe.exe
?
Btw, we didn’t change anything here with safeup
. Maybe whatever was in between you and your connectivity to S3 got better?
Odd as I’ve not noticed issues with other things.
Fingers crossed. Next thing you know I’ll be able to run a node, that would be sweet.
Is that a NAT thing, or is there something specific in here that’s caused you a problem? Sorry, I don’t have time to read the thread in detail.
No worries. I haven’t tried for some time so probably worth waiting to see what improved hole punching does when we get that.
hashtag #MeToo
for the private unshared, you will need the whole metadata (which is the datamap chunk for the uploaded file)
Using Windows 10 and Client v0.86.97
All public files I’ve uploaded have been successful. I’ve also been able to retrieve all public files.
So I’ve uploaded a file without the -p
flag making it private. After uploading, I now have the 'hex address'
for this file. I also have a file metadata
inside the safe\client\chunk_artifacts\'hex address'
directory.
This is all good so far. But how would I go about downloading this private file? All attempts so far have been unsuccessful. Every attempt ends with Network Error GetRecord Query Error RecordNotFound.
I understand just having the hex address
shouldn’t be enough to download the file, so then what would the command syntax look like to download a private file? How would I go about utilizing the metadata
file?