I don’t really understand the storage node dashboard API procedure.
Do I have to remove the container and run the command with the -p 127.(etc) ADDED at the end of the command?
Do I need to use the curl -s command with the satellites specified as given in your post or do I put my own storage node ID in the command?
I’m on Windows, downloaded jq-win64.exe, renamed it to jq.exe.
BTW the dashboard says this:
Internal 127.0.0.1:7778
External myhostname:28967
I find the dashboard, the logs, the API, and all that, thoroughly puzzling, and frankly I am now at a point where I might just give up this node. It is all too complex, too unreliable.
Between the constant Storj updates and the monthly windoze updates this is all getting too much work and too little compensation. AND NO… I am not going to run Linux. I am running Linux already on one node, and I do not use that system for anything else. The other two systems have multiple roles, and I need Windows for those.
I ran V2 on Windows for several YEARS now, without a major outage. So. There you have it.
Docker command:
docker run -d --restart unless-stopped -p 127.0.0.1:14002:14002 -p 28967:28967 -e WALLET=“0xXXXXXXXXXXXXXXXXXXXXXXXXX” -e EMAIL="my@email.com" -e ADDRESS=“myhostname.com:28967” -e BANDWIDTH=“100TB” -e STORAGE=“8TB” --mount type=bind,source=“C:\Users\USER\AppData\Roaming\Storj\Identity\storagenode”,destination=/app/identity --mount type=bind,source=“S:\”,destination=/app/config --name storagenode storjlabs/storagenode:beta
Still the same log errors BTW.
EDIT: I managed to get the output:
C:\Users\Me>curl -s -v 127.0.0.1:14002/api/dashboard | jq .data.satellites
- Trying 127.0.0.1…
- TCP_NODELAY set
- Connected to 127.0.0.1 (127.0.0.1) port 14002 (#0)
GET /api/dashboard HTTP/1.1
Host: 127.0.0.1:14002
User-Agent: curl/7.55.1
Accept: /
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Fri, 13 Sep 2019 17:15:53 GMT
< Content-Length: 634
<
{ [634 bytes data]
- Connection #0 to host 127.0.0.1 left intact
[
“12EayRS2V1kEsWESU9QMRseFhdxYxKicsiFmxrsLZHeLUtdps3S”,
“118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW”,
“121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6”,
“12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs”
]
C:\Users\Me>curl -s 127.0.0.1:14002/api/satellite/118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW | jq .data.audit
{
“totalCount”: 12512,
“successCount”: 12502,
“alpha”: 11.97473878476754,
“beta”: 8.02526121523242,
“score”: 0.5987369392383782
}
C:\Users\ME>curl -s 127.0.0.1:14002/api/satellite/118UWpMCHzs6CvSgWd9BfFVjw5K9pZbJjkfZJexMtSkmKxvvAW | jq .data.uptime
{
“totalCount”: 41040,
“successCount”: 39573,
“alpha”: 99.9999999999992,
“beta”: 1.7530752169427732e-19,
“score”: 1
}