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

Offline Upgrade fails if ip file is empty on Linux

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 2.0.1
    • 2.0.1
    • installer
    • Security Level: Public
    • None
    • Linux version 2.6.18-308.el5 (mockbuild@builder10.centos.org)

    Description

      If the ip file under /opt/couchbase/var/lib/couchbase is empty, offline upgrade will not start transfer data.

      [root@thor08 ~]# time rpm -U couchbase-server-enterprise_x86_64_2.0.0-1976-rel.rpm
      Stopping couchbase-server ...
      Stopping couchbase-server
      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.
      Upgrading your Couchbase Server to 2.0.0-1976-rel.
      The upgrade process might take awhile.
      NOTE: all item data will be read from 1.8.x sqlite database files
      and converted to new files in 2.0 couchstore file format. This can
      be a lengthy, slow operation for large datasets and/or fragmented
      database files.
      Analysing...
      Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat
      Target node: ns_1@127.0.0.1
      ERROR: no previously configured dbdir
      Starting couchbase-server[ OK ]

      You have successfully installed Couchbase Server.
      Please browse to http://thor08: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: 11211, 11210, 11209, 4369,
      8091 and from 21100 to 21299.

      By using this software you agree to the End User License Agreement.
      See /opt/couchbase/LICENSE.txt.

      Stopping couchbase-serverNOTE: shutdown failed

      {badrpc,nodedown}

      real 0m14.480s
      user 0m5.445s
      sys 0m1.660s

      Attachments

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

        Activity

          People

            farshid Farshid Ghods (Inactive)
            Chisheng Chisheng Hong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty