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

Upgrade from 3.1.6 to 5.5.0 shows error in logs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Major
    • 6.5.0
    • 5.5.0
    • ns_server
    • None
    • Untriaged
    • No

    Description

      Build: 5.5.0-2709
      Coming from verification of --MB-27985--

      Tried updating single node cluster from 3.1.6 to 5.5.0-2709 and observed that update goes fine with following error in info.log

      Error:
      [ns_server:error,2018-05-15T02:04:12.725-07:00,ns_1@127.0.0.1:ns_config<0.157.0>:ns_config_default:upgrade_config:532]Detected an attempt to offline upgrade from unsupported version {3,1,5}. Terminating.

      On command line server status is shown as running but UI does not come up for the server.

      Here is output of "rpm -U couchbase-server-enterprise-5.5.0-2709-centos6.x86_64.rpm"

      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: default,beer-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: 30716248064
       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/default
       mkdir -p /opt/couchbase/var/lib/couchbase/data/default
       Ensuring bucket data directory: /opt/couchbase/var/lib/couchbase/data/beer-sample
       mkdir -p /opt/couchbase/var/lib/couchbase/data/beer-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.
       warning: erase unlink of /opt/couchbase/lib/python/pysqlite2.tar failed: No such file or directory
       warning: erase unlink of /opt/couchbase/lib/python/pysnappy2.tar failed: No such file or directory
       Starting couchbase-server
       [ OK ]
       
      You have successfully installed Couchbase Server.
       Please browse to [http://tmpl-rhel65-20160524:8091/] to configure your server.
       Please refer to [http://couchbase.com|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.
       
      -bash-4.1# service couchbase-server status
       couchbase-server is running
      
      

      As per comment, can we fix this issue.

      Attachments

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

        Activity

          People

            ajit.yagaty Ajit Yagaty [X] (Inactive)
            mahesh.mandhare Mahesh Mandhare (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty