Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-19679

Silent install isn't completely silent - it triggers a browser to open up Couchbase Console

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • bug-backlog
    • 4.5.0
    • installer
    • None
    • Windows

    Description

      Also raised here: CBD-1832, please feel free to close one as duplicate as needed.

      Summary: The Couchbase installer, even when running unattended (per docs: http://developer.couchbase.com/documentation/server/4.5/install/windows-install-unattended.html) will still pop a URL to the couchbase console (e.g. http://localhost:8091). This could cause issues where this behavior is not expected. Specifically when trying to create a Chocolately NuGet package: https://chocolatey.org/packages/couchbase-community/4.0.0

      Repro is to run according to docs (link above).

      Expected: No website popup (or maybe a separate flag to silence the website popup)

      Actual: Website pops up no matter what.

      This issue seems specific to Windows and is an issue when using https://chocolatey.org/.

      From what I can tell, the popup is triggered from here https://github.com/couchbase/voltron/blob/master/win/server/Script%20Files/Setup.Rul#L1324:

      if (MODE !=SILENTMODE && !PortTaken(szPort)) then
          MessageBox("Looks like Couchbase Server doesn't respond in time.\n" +
                     "Please manually refresh browser and wait for the Admin Console to fully start.",
                     WARNING);
      endif;
      LaunchBrowser(szSite);
      

      This is in the 'OnFirstUIAfter' function, which is triggered after the file transfer has completed (this is part of the InstallShield framework I think).
      I think that the LaunchBrowser command should be within the if statement checking if it is in silent mode so that it doesn't pop up if in silent mode.

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            matthew.groves Matthew Groves
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty