docker-zen-node icon indicating copy to clipboard operation
docker-zen-node copied to clipboard

zen-secnodetracker stuck at "Unable to collect stats without a nodeid" after install

Open sebavasile opened this issue 6 years ago • 1 comments

I might do something wrong, but after a fresh install I get these logs: Waiting to register Unable to collect stats without a nodeid

The issues seems to be raised by the fact there is nodeid: null in the config.json file. If I enter the container "docker exec -it zen-secnodetracker bash" and I execute the same steps from the install script: cd /home/node/
&& git clone https://github.com/ZencashOfficial/secnodetracker.git
&& cd secnodetracker
&& npm install

and i answer with the already preconfigured infos it will generate a config.json file without the "nodeid": null line. I restart zen-secnodetracker and it registers, receiving a new nodeid.

If this is an accepted error i will prepare a PR. thanks

sebavasile avatar Jan 14 '19 12:01 sebavasile

nodeid is set to null when you run the installer, but it'll autogenerate one afterwards. There's currently an issue open #121 too which is related to this too

We should try to set it

333miiko avatar Jan 16 '19 05:01 333miiko