helium / miner

Miner for the helium blockchain
Apache License 2.0
609 stars 266 forks source link

Docker Image: cat: can't open '/etc/lsb_release': No such file or directory #851

Open derjohn opened 3 years ago

derjohn commented 3 years ago

The Docker Image is Alpine and has no file /etc/lsb_release . Provide that file in image or switch to a different firmware discovery method. E.G. use /etc/os-release from Alpine.

/opt/miner # miner info summary

********************
Miner General Info
********************

+----------------+-------------------------------------------------------------+
|      name      |                           result                            |
+----------------+-------------------------------------------------------------+
|   miner name   |                   rich-pirate-parrot                   |  |
|     uptime     |           0 Days, 0 Hours, 56 Minutes, 14 Seconds           |
| peer book size |                            20028                            |
|firmware version|cat: can't open '/etc/lsb_release': No such file or directory|
|gateway details |                 gateway not found in ledger                 |
+----------------+-------------------------------------------------------------+
evanmcc commented 3 years ago

info summary hasn't been updated for validators. it's a support command for hotspots.

derjohn commented 3 years ago

Yes, but it's useful for validators, too. Would be nice if, the command will "adapt" to the role of the machine it's running on.

madninja commented 3 years ago

Yes, but it's useful for validators, too. Would be nice if, the command will "adapt" to the role of the machine it's running on.

sure! want to submit a PR for the niceties? :-)

derjohn commented 3 years ago

Erlang, are you mad ?! :-) Well, yes, I'll give it a try

rgds, Erlang-N00b