Hello everyone,
when moving my two nodes to another machine, I noticed that I still have data from these two deactivated satellites:
europe-north-1
blobs folder: 6r2fgwqz3manwt4aogq343bfkh2n5vvgg4ohqqgggrrunaaaaaaaa
us2
blobs folder: arej6usf33ki2kukzd5v6xgry2tdr56g45pp3aao6llsaaaaaaaa
Can I just delete them? Do I have to issue a command to delete them “properly”?
Thank you very much!
Greetings CubeFan
Great, thank you.
Let me get this straight.
My config is here:
C:\Program Files\Storj1\Storage Node\config.yaml
My identity here (6 files):
Y:\Storj\Identity\storagenode
The Storj data is located here:
Y:\Storj\
So I have to open the windows cmd in the folder where storj is installed and use this command? Or without the config.yaml?
storagenode forget-satellite --force 12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB 12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo --config-dir "C:\Program Files\Storj1\Storage Node\config. yaml" --identity-dir "Y:\Storj\Identity\storagenode\"
I’m not sure why I use linux, but it should be correct
Alexey
January 2, 2024, 12:14pm
5
almost
it should be
storagenode forget-satellite --force 12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB 12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo --config-dir "C:\Program Files\Storj1\Storage Node\\" --identity-dir "Y:\Storj\Identity\storagenode\\"
note the double backslashes - they’re important
2 Likes
Thanks, it worked like this for me
storagenode forget-satellite --force 12rfG3sh9NCWiX3ivPjq2HtdLmbqCrvHVEzJubnzFzosMuawymB 12tRQrMTWUWwzwGh18i7Fqs67kmdhH9t6aToeiwbo5mfS2rUmo --config-dir Y:\Storj\ --identity-dir Y:\Storj\Identity\storagenode\
config-dir does not mean the location of the config but where the folder order and storage is located
1 Like
Alexey
January 3, 2024, 8:06am
7
Yes, it’s also depends on what shell you have used… If you use a PowerShell - the double backslash at the end is not needed, but if you use a cmd
- it’s needed for some reason, especially if you use quotes.
bney
July 30, 2024, 1:48pm
8
Also note that you need to run the cmd shell as administrator
Alexey
August 1, 2024, 8:28am
9
It should not be required, because it would connect to the service listening the private address and pass this command.
Did you receive an error?
bney
August 1, 2024, 8:44am
10
Yes. I had a permissions error that did not occur when run as administrator
1 Like