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

Upgrade from 1.6.5.4 ->1.7.0 -> 1.7.1.1 is not supported

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.7.1.1, 1.7.2
    • Fix Version/s: 1.7.2
    • Component/s: installer
    • Security Level: Public
    • Flagged:
      Release Note

      Description

      ERROR MESSAGES:-
      [2011-09-20 10:17:49,023] - [remote_util] [47550853327296] - ERROR - Would overwrite the following files:
      [2011-09-20 10:17:49,023] - [remote_util] [47550853327296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default
      [2011-09-20 10:17:49,024] - [remote_util] [47550853327296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-0.mb
      [2011-09-20 10:17:49,024] - [remote_util] [47550853327296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-3.mb
      [2011-09-20 10:17:49,024] - [remote_util] [47550853327296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-2.mb
      [2011-09-20 10:17:49,024] - [remote_util] [47550853327296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-1.mb
      [2011-09-20 10:17:49,025] - [remote_util] [47550853327296] - ERROR - ERROR: upgrade failed for bucket: default
      [2011-09-20 10:17:49,025] - [remote_util] [47550853327296] - ERROR - dpkg: error processing membase-server (--install):
      [2011-09-20 10:17:49,025] - [remote_util] [47550853327296] - ERROR - subprocess installed post-installation script returned error exit status 1
      [2011-09-20 10:17:49,025] - [remote_util] [47550853327296] - ERROR - Errors were encountered while processing:
      [2011-09-20 10:17:49,026] - [remote_util] [47550853327296] - ERROR - membase-server
      [2011-09-20 10:17:49,026] - [remote_util] [47550853327296] - INFO - (Reading database ... 53283 files and directories currently installed.)

      [2011-09-20 10:17:49,037] - [remote_util] [47550853327296] - INFO - /opt/membase/bin/mbdbupgrade /var/opt/membase/1.6.5.4/data/ns_1/default /var/opt/membase/1.6.5.4/data/ns_1/default-data
      [2011-09-20 10:17:49,037] - [remote_util] [47550853327296] - INFO - mbdbupgrade pid: 22871
      [2011-09-20 10:17:49,037] - [remote_util] [47550853327296] - INFO - mbdbupgrade err: 256
      [2011-09-20 10:17:49,037] - [remote_util] [47550853327296] - INFO - Processing triggers for ureadahead ...

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

        Activity

        Hide
        karan Karan Kumar (Inactive) added a comment -

        Install 1654
        Upgrade to 170

        dpkg -i /tmp/membase-server-enterprise_x86_64_1.7.1.1.deb

        [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - Would overwrite the following files:
        [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default
        [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-0.mb
        [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-3.mb
        [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-2.mb
        [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-1.mb
        [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - ERROR: upgrade failed for bucket: default
        [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - dpkg: error processing membase-server (--install):
        [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - subprocess installed post-installation script returned error exit status 1
        [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - Errors were encountered while processing:
        [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - membase-server
        [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - INFO - (Reading database ... 53273 files and directories currently installed.)
        [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - INFO - Preparing to replace membase-server 1.7.0 (using .../membase-server-enterprise_x86_64_1.7.1.1.deb) ...
        [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - * Stopped Membase server
        [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Upgrading previous membase ... (1.7.0)
        [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Stopping previous membase ... (1.7.0)
        [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - * Stopped Membase server
        [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Saving previous membase config.dat ...
        [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Cleaning symlinks ...
        [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Unpacking replacement membase-server ...
        [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Setting up membase-server (1.7.1.1) ...
        [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Upgrading from 1.7.0, directory /opt/membase/var/lib/membase/config ...
        [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - /opt/membase/bin/mbupgrade -c /opt/membase/var/lib/membase/config -a yes
        [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Automatic mode: running without interactive questions or confirmations.
        [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Upgrading your Membase Server to 1.7.1.1.
        [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - The upgrade process might take awhile.
        [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Analysing...
        [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Previous config.dat file is /opt/membase/var/lib/membase/config/config.dat.debsave
        [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Target node: ns_1@10.1.4.82
        [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Membase should not be running.
        [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Please use: /etc/init.d/membase-server stop
        [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - Database dir: /var/opt/membase/1.6.5.4/data/ns_1
        [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - Buckets to upgrade: default
        [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Checking disk space available for buckets in directory:
        [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - /var/opt/membase/1.6.5.4/data/ns_1
        [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk bucket space wanted: 36515840.0
        [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk bucket space available: 11640205312
        [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk space factor: 2.0
        [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Ok.
        [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Analysis complete.
        [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO -
        [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Copying /opt/membase/var/lib/membase/config/config.dat.debsave
        [2011-09-22 10:11:46,830] - [remote_util] [47760455887296] - INFO - cp /opt/membase/var/lib/membase/config/config.dat.debsave /opt/membase/var/lib/membase/config/config.dat
        [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - mkdir -p /var/opt/membase/1.6.5.4/data/ns_1/default-data
        [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Ensuring dbdir owner/group: /var/opt/membase/1.6.5.4/data/ns_1
        [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - chown -R membase:membase /var/opt/membase/1.6.5.4/data/ns_1
        [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Upgrading buckets.
        [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Upgrading bucket: default
        [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - /opt/membase/bin/mbdbupgrade /var/opt/membase/1.6.5.4/data/ns_1/default /var/opt/membase/1.6.5.4/data/ns_1/default-data
        [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - mbdbupgrade pid: 23247
        [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - mbdbupgrade err: 256

        Show
        karan Karan Kumar (Inactive) added a comment - Install 1654 Upgrade to 170 dpkg -i /tmp/membase-server-enterprise_x86_64_1.7.1.1.deb [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - Would overwrite the following files: [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default [2011-09-22 10:11:46,820] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-0.mb [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-3.mb [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-2.mb [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - /var/opt/membase/1.6.5.4/data/ns_1/default-data/default-1.mb [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - ERROR: upgrade failed for bucket: default [2011-09-22 10:11:46,821] - [remote_util] [47760455887296] - ERROR - dpkg: error processing membase-server (--install): [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - subprocess installed post-installation script returned error exit status 1 [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - Errors were encountered while processing: [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - ERROR - membase-server [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - INFO - (Reading database ... 53273 files and directories currently installed.) [2011-09-22 10:11:46,822] - [remote_util] [47760455887296] - INFO - Preparing to replace membase-server 1.7.0 (using .../membase-server-enterprise_x86_64_1.7.1.1.deb) ... [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - * Stopped Membase server [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Upgrading previous membase ... (1.7.0) [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Stopping previous membase ... (1.7.0) [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - * Stopped Membase server [2011-09-22 10:11:46,823] - [remote_util] [47760455887296] - INFO - Saving previous membase config.dat ... [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Cleaning symlinks ... [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Unpacking replacement membase-server ... [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Setting up membase-server (1.7.1.1) ... [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - Upgrading from 1.7.0, directory /opt/membase/var/lib/membase/config ... [2011-09-22 10:11:46,824] - [remote_util] [47760455887296] - INFO - /opt/membase/bin/mbupgrade -c /opt/membase/var/lib/membase/config -a yes [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Automatic mode: running without interactive questions or confirmations. [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Upgrading your Membase Server to 1.7.1.1. [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - The upgrade process might take awhile. [2011-09-22 10:11:46,825] - [remote_util] [47760455887296] - INFO - Analysing... [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Previous config.dat file is /opt/membase/var/lib/membase/config/config.dat.debsave [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Target node: ns_1@10.1.4.82 [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Membase should not be running. [2011-09-22 10:11:46,826] - [remote_util] [47760455887296] - INFO - Please use: /etc/init.d/membase-server stop [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - Database dir: /var/opt/membase/1.6.5.4/data/ns_1 [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - Buckets to upgrade: default [2011-09-22 10:11:46,827] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Checking disk space available for buckets in directory: [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - /var/opt/membase/1.6.5.4/data/ns_1 [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk bucket space wanted: 36515840.0 [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk bucket space available: 11640205312 [2011-09-22 10:11:46,828] - [remote_util] [47760455887296] - INFO - Free disk space factor: 2.0 [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Ok. [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Analysis complete. [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - [2011-09-22 10:11:46,829] - [remote_util] [47760455887296] - INFO - Copying /opt/membase/var/lib/membase/config/config.dat.debsave [2011-09-22 10:11:46,830] - [remote_util] [47760455887296] - INFO - cp /opt/membase/var/lib/membase/config/config.dat.debsave /opt/membase/var/lib/membase/config/config.dat [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - mkdir -p /var/opt/membase/1.6.5.4/data/ns_1/default-data [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Ensuring dbdir owner/group: /var/opt/membase/1.6.5.4/data/ns_1 [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - chown -R membase:membase /var/opt/membase/1.6.5.4/data/ns_1 [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Upgrading buckets. [2011-09-22 10:11:46,831] - [remote_util] [47760455887296] - INFO - Upgrading bucket: default [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - /opt/membase/bin/mbdbupgrade /var/opt/membase/1.6.5.4/data/ns_1/default /var/opt/membase/1.6.5.4/data/ns_1/default-data [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - mbdbupgrade pid: 23247 [2011-09-22 10:11:46,832] - [remote_util] [47760455887296] - INFO - mbdbupgrade err: 256
        Hide
        steve Steve Yen added a comment -

        Double-checking, as 1.7.1.1 shipped already.

        Did you mean instead that the following upgrade pathway failed? 1.6.5.4->1.7.0->1.7.1.1->1.7.2r-LATEST

        Show
        steve Steve Yen added a comment - Double-checking, as 1.7.1.1 shipped already. Did you mean instead that the following upgrade pathway failed? 1.6.5.4->1.7.0->1.7.1.1->1.7.2r-LATEST
        Hide
        steve Steve Yen added a comment - - edited

        Hi,
        I just talked to Karan, and reconfirmed that he found that 1.7.1.1 has the same upgrade bug as 1.7.2r-9. That is, the following does not work: 1.6.5.4->1.7.0->1.7.1.1

        However, he has confirmed that the following does work: 1.6.5.4->1.7.1.1->1.7.2r-LATEST

        Please reopen this bug if the following (or other cases against 1.7.2r-LATEST doesn't work): 1.6.5.4->1.7.x->1.7.2r-LATEST

        Show
        steve Steve Yen added a comment - - edited Hi, I just talked to Karan, and reconfirmed that he found that 1.7.1.1 has the same upgrade bug as 1.7.2r-9. That is, the following does not work: 1.6.5.4->1.7.0->1.7.1.1 However, he has confirmed that the following does work: 1.6.5.4->1.7.1.1->1.7.2r-LATEST Please reopen this bug if the following (or other cases against 1.7.2r-LATEST doesn't work): 1.6.5.4->1.7.x->1.7.2r-LATEST
        Hide
        karan Karan Kumar (Inactive) added a comment -

        For the sake of completeness 1654 -> 170 -> 172 works fine on Ubuntu.

        Show
        karan Karan Kumar (Inactive) added a comment - For the sake of completeness 1654 -> 170 -> 172 works fine on Ubuntu.
        Hide
        karan Karan Kumar (Inactive) added a comment -

        1.6.5.4->1.7.0->1.7.1.1 NOT SUpported.

        Show
        karan Karan Kumar (Inactive) added a comment - 1.6.5.4->1.7.0->1.7.1.1 NOT SUpported.

          People

          • Assignee:
            karan Karan Kumar (Inactive)
            Reporter:
            karan Karan Kumar (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes