How can I get the version number from my WebViewer Server?

12 views
Skip to first unread message

Ramzi Chennafi

unread,
May 9, 2019, 1:51:25 PM5/9/19
to pdfne...@googlegroups.com
WebViewer Server has a couple of ways to find its version number. 

1. The first way is through the demo application at http://address/demo?s, which can be found in the Settings/Server Info dialogue.

2. The secondary way, when there is no demo, is to inspect the version.json. You will find the version.json inside of the root directory of your WebViewer Server directory at tomcat/internal_data/version.json, inside you will find several numbers. These numbers are the version major, minor and patch. Respectively, a major of 1, minor of 3 and patch of 0 indicates the version is 1.3.0.

Finally, if you do not have the original download and need to view a currently running server version you can do this by entering the WebViewer Server docker container (https://docs.docker.com/engine/reference/commandline/exec/) and searching for the version.json at /usr/local/apache-tomcat-9.0.6/internal_data/version.json and viewing the version numbers inside.

A possible series of commands to view the version on a running container:

docker ps

CONTAINER ID        IMAGE                           COMMAND                  CREATED             STATUS              PORTS                                               NAMES
1e224fdbf904        webviewer-server_pdfd-tomcat    "watchdog.sh"            35 seconds ago      Up 34 seconds       0.0.0.0:8091->8090/tcp, 0.0.0.0:8445->8443/tcp      Blackbox

docker exec -it 1e22 bash
cat
/usr/local/apache-tomcat-9.0.6/internal_data/version.json

{
    "version_minor":3,
    "version_major":1,
    "version_patch":0,
    "build_date":1557176959
}


Reply all
Reply to author
Forward
0 new messages