Uploaded image for project: 'Couchbase Mobile'
  1. Couchbase Mobile
  2. CM-1128

sgcollect should collect the installed version

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • SyncGateway
    • None

    Description

      Problem
      Currently sgcollect gets the version via two ways:

      1. Hitting an endpoint
      2. Print the version in the header of the logs

      Point one does not work when SWG is not running. Two can be pretty confusing as multiple versions can be printed out and then the timestamps have to be compared.

      This makes the support tool much more complex.

      Suggestion
      The output of --version is captured and put into the sync_gateway.log

      This will also be useful when checking to see if the running and installed versions match.

      Workaround

      In the mean time the following workaround can be used to find the installed version.

      strings sync_gateway | rg /home/couchbase/jenkins | cut -d / -f 7 | uniq
      

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              priya.rajagopal Priya Rajagopal
              pvarley Patrick Varley (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty