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

[nonroot] script fails to upgrade from 5.5.x and 6.0.x to 6.5.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: User Error
    • Critical
    • 6.5.1
    • 6.5.1
    • tools
    • None
    • Oracle Enterprise Linux 7.6, centos 7.6

    Description

      Install Couchbase server 5.5.0 via nonroot script.
      Upgrade Couchbase server to 6.5.1 via nonroot script => Failed.
      Then same error when upgrade from 6.0.4 to 6.5.1

      [clckwrk@ip-172-31-18-1 ~]$  ./cb_non_package_installer  --install --install-location one --package couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm -v
      Successfully installed
      [clckwrk@ip-172-31-18-1 ~]$ cd one/opt/couchbase/
      [clckwrk@ip-172-31-18-1 couchbase]$ ./bin/couchbase-server \-- -noinput -detached
       
      The maximum number of open files for the couchbase user is set too low.
      It must be at least 70000.
       
      Normally this can be increased by adding the following lines to
      /etc/security/limits.conf:
       
      couchbase              soft    nofile                  <value>
      couchbase              hard    nofile                  <value>
       
      Where <value> is greater than 70000. The procedure may be totally
      different if you're running so called "non-root/non-sudo install" or
      if you've built Couchbase Server from source.
       
      [clckwrk@ip-172-31-18-1 couchbase]$ cd ..
      [clckwrk@ip-172-31-18-1 opt]$ cd ..
      [clckwrk@ip-172-31-18-1 one]$ cd ..
      [clckwrk@ip-172-31-18-1 ~]$ cd one/opt/couchbase/
      [clckwrk@ip-172-31-18-1 couchbase]$ ./bin/couchbase-server -k
      [clckwrk@ip-172-31-18-1 couchbase]$ cd ../../../
      [clckwrk@ip-172-31-18-1 ~]$ ls
      cb_non_package_installer  couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm  couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm  one
      [clckwrk@ip-172-31-18-1 ~]$  ./cb_non_package_installer  --upgrade --install-location one --package couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm -v
      2020/03/30T18:35:36 ERROR: Can only upgrade to version 6.0.X
      [clckwrk@ip-172-31-18-1 ~]$ 
      [clckwrk@ip-172-31-18-1 ~]$ ls
      cb_non_package_installer  couchbase-server-enterprise-5.5.0-oel7.x86_64.rpm  couchbase-server-enterprise-6.0.4-oel7.x86_64.rpm  couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm  one
      [clckwrk@ip-172-31-18-1 ~]$ 
       
       
      [clckwrk@ip-172-31-18-1 ~]$ rm -rf one/*
      [clckwrk@ip-172-31-18-1 ~]$  ./cb_non_package_installer  --install --install-location one --package couchbase-server-enterprise-6.0.4-oel7.x86_64.rpm -v
      Successfully installed
      [clckwrk@ip-172-31-18-1 ~]$ ./one/opt/couchbase/bin/couchbase-server \-- -noinput -detached
       
      The maximum number of open files for the couchbase user is set too low.
      It must be at least 70000.
       
      Normally this can be increased by adding the following lines to
      /etc/security/limits.conf:
       
      couchbase              soft    nofile                  <value>
      couchbase              hard    nofile                  <value>
       
      Where <value> is greater than 70000. The procedure may be totally
      different if you're running so called "non-root/non-sudo install" or
      if you've built Couchbase Server from source.
       
      [clckwrk@ip-172-31-18-1 ~]$ ./one/opt/couchbase/bin/couchbase-server -k
      [clckwrk@ip-172-31-18-1 ~]$  ./cb_non_package_installer  --upgrade --install-location one --package couchbase-server-enterprise-6.5.1-6286-oel7.x86_64.rpm -v
      2020/03/30T18:54:48 ERROR: Can only upgrade to version 6.0.X
      [clckwrk@ip-172-31-18-1 ~]$ 
      

      Attachments

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

        Activity

          People

            thuan Thuan Nguyen
            thuan Thuan Nguyen
            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