brocaar / chirpstack-application-server

ChirpStack Application Server is an open-source LoRaWAN application-server.
https://www.chirpstack.io
MIT License
500 stars 325 forks source link

Show version number in Web Interface #316

Open physec-rex opened 5 years ago

physec-rex commented 5 years ago

Is this a bug or a feature request?

Feature request

What did you expect?

I think it is a good idea to show the current version of the lora-app-server in the web interface. When I created a bug report, I looked for the version number in the web interface and was surprised I could not find it.

What version are your using?

2.6.0

brocaar commented 5 years ago

Please note that you can run lora-app-server version :-) See also:

$ lora-app-server --help

LoRa App Server is an open-source application-server, part of the LoRa Server project
        > documentation & support: https://www.loraserver.io/lora-app-server
        > source & copyright information: https://github.com/brocaar/lora-app-server

Usage:
  lora-app-server [flags]
  lora-app-server [command]

Available Commands:
  configfile  Print the LoRa Application Server configuration file
  help        Help about any command
  version     Print the LoRa App Server version

Flags:
  -c, --config string   path to configuration file (optional)
  -h, --help            help for lora-app-server
      --log-level int   debug=5, info=4, error=2, fatal=1, panic=0 (default 4)

Use "lora-app-server [command] --help" for more information about a command.

In case of Docker, I recommend to use the version tags, e.g. loraserver/lora-app-server:x.y.z to make sure you pull a specific version.

physec-rex commented 5 years ago

Thanks for your information. I did not notice that.

However, I still think it is a good idea to be able to see the running version in the web interface for users that do not have access to the server lora-app-server is running on.

henricazottes commented 5 years ago

Or when you are running it from the Gateway OS... where this command doesn't work :/

brocaar commented 5 years ago

Or when you are running it from the Gateway OS... where this command doesn't work :/

It does, try /opt/loraserver/loraserver --help :-)

brocaar commented 4 years ago

This is coming soon with the next Concentratord and ChirpStack Gateway Bridge update:

image

(see https://github.com/brocaar/chirpstack-concentratord/commit/6c7ce84a14c6df4e22b257f8bbd51cc6a68ccc1f)