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

Upgrade: Block upgrade from 4.x to 6.0.0 since it is not supported

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Critical
    • 6.5.0
    • 6.0.0
    • installer
    • 4
    • Build Team 2018 Sprint 24, Build Team 2018 Sprint 26, Build Team 2019 Sprint 1, Build Team 2019 Sprint 2

    Description

      As per the upgrade matrix for Alice, direct upgrade from 4.x to 6.0 is not supported. But currently, it does work. Upgrade from 4.x to 6.0 should be blocked.

      Upgrade Matrix
      https://docs.google.com/document/d/15YHt3xdIoL4vc16j2cAquUN0M6gWsabYMIXEog0Dnlo/edit?ts=5b5a3e90

      Upgrade console output from 4.6.5 -> 6.0

      rpm -U couchbase-server-enterprise-6.0.0-1614-centos6.x86_64.rpm | tee upgrade.log
      Stopping couchbase-server
      [  OK  ]
      Minimum RAM required  : 4 GB
      System RAM configured : 3.79 GB
       
      Minimum number of processors required : 4 cores
      Number of processors on the system    : 4 cores
       
      warning: /opt/couchbase/etc/couchdb/local.ini saved as /opt/couchbase/etc/couchdb/local.ini.rpmsave
      warning: /opt/couchbase/var/lib/couchbase/config/config.dat saved as /opt/couchbase/var/lib/couchbase/config/config.dat.rpmsave
      Upgrading couchbase-server ...
        /opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yes 
      Automatic mode: running without interactive questions or confirmations.
      Analysing...
      Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat.rpmsave
      Target node: ns_1@127.0.0.1
      Upgrading from 2.0
       
      Couchbase should not be running.
        Please use: /etc/init.d/couchbase-server stop
       
      Database dir: /opt/couchbase/var/lib/couchbase/data
       
      Buckets to upgrade: beer-sample,gamesim-sample,travel-sample
       
      Checking disk space available for buckets in directory:
        /opt/couchbase/var/lib/couchbase/data
        Free disk bucket space wanted: 0.0
        Free disk bucket space available: 31250513920
        Free disk space factor: 2.0
        Ok.
       
      Analysis complete.
       
      Copying /opt/couchbase/var/lib/couchbase/config/config.dat.rpmsave
          cp /opt/couchbase/var/lib/couchbase/config/config.dat.rpmsave /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
      Ensuring bucket data directories.
      Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/beer-sample
          mkdir -p /opt/couchbase/var/lib/couchbase/data/beer-sample
      Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/gamesim-sample
          mkdir -p /opt/couchbase/var/lib/couchbase/data/gamesim-sample
      Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/travel-sample
          mkdir -p /opt/couchbase/var/lib/couchbase/data/travel-sample
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
          chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
      Ensuring dbdir owner/group: /opt/couchbase/var/lib/couchbase/data
          chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data
       
      Done.
      Starting couchbase-server
      [  OK  ]
       
      You have successfully installed Couchbase Server.
      Please browse to http://centos-64-x64:8091/ to configure your server.
      Please refer to http://couchbase.com for additional resources.
       
      Please note that you have to update your firewall configuration to
      allow connections to the following ports:
      4369, 8091 to 8094, 9100 to 9105, 9998, 9999, 11207, 11209 to 11211,
      11214, 11215, 18091 to 18093, and from 21100 to 21299.
       
      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.
      
      

      Attachments

        Issue Links

          For Gerrit Dashboard: MB-31244
          # Subject Branch Project Status CR V

          Activity

            People

              thuan Thuan Nguyen
              mihir.kamdar Mihir Kamdar (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty