Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-364

Odd SG Installation errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.0
    • 2.5.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 22, CBG Sprint 23, CBG Sprint 24, CBG Sprint 25
    • 5

    Description

      I think this is a build/packaging issue but I'm having a very hard time tracking it down.

       

      For context, I maintain our automated demo environments through RightScale which in turn launches instances in AWS.  I recently upgraded these scripts to SG 2.5 and am now running into an issue when trying to install it.  The weirdest part so far is that the installation only fails when the server first starts up and works fine a little later.

       

      I'm working on finding a workaround for myself, but thought you might have an idea of where the issue is and/or that it might be affecting others:

      yum -y install couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm 
      Error in PREIN scriptlet in rpm package couchbase-sync-gateway-2.5.0-271.x86_64
      Loaded plugins: fastestmirror 
      Examining couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm: couchbase-sync-gateway-2.5.0-271.x86_64 
      Marking couchbase-sync-gateway-enterprise_2.5.0_x86_64.rpm to be installed 
      Resolving Dependencies
       --> Running transaction check
       ---> Package couchbase-sync-gateway.x86_64 0:2.5.0-271 will be installed
       --> Finished 
      Dependency Resolution
       Dependencies Resolved ================================================================================ 
      Package Arch Version Repository Size ================================================================================ 
      Installing: couchbase-sync-gateway x86_64 2.5.0-271 /couchbase-sync-gateway-enterprise_2.5.0_x86_64 31 M Transaction Summary ================================================================================ 
      Install 1 Package 
      Total size: 31 M 
      Installed size: 31 M 
      Downloading packages: 
      Running transaction check 
      Running transaction test 
      Transaction test succeeded 
      Running transaction 
      useradd: cannot create directory /opt/couchbase-sync-gateway error: %pre(couchbase-sync-gateway-2.5.0-271.x86_64) scriptlet failed, exit status 1 
      Verifying : couchbase-sync-gateway-2.5.0-271.x86_64 1/1 
      Failed: couchbase-sync-gateway.x86_64 0:2.5.0-271 
      Complete!
      

      Attachments

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

        Activity

          People

            ben.brooks Ben Brooks
            perry Perry Krug
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty