Description
- /opt/couchbase/bin/install/cbupgrade -c /opt/couchbase/var/lib/couchbase/config -a yesAutomatic mode: running without interactive questions or confirmations.
Upgrading your Couchbase Server to 2.0.0-1495-rel.
The upgrade process might take awhile.
Analysing...
Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat.debsave
Target node: ns_1@127.0.0.1
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
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: 9656688640
Free disk space factor: 2.0
Ok.
Analysis complete.
Copying /opt/couchbase/var/lib/couchbase/config/config.dat.debsave
cp /opt/couchbase/var/lib/couchbase/config/config.dat.debsave /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 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
Upgrading buckets.
Upgrading bucket: default
/opt/couchbase/bin/install/../tools/cbtransfer /opt/couchbase/var/lib/couchbase/data/default-data/default couchstore-files:///opt/couchbase/var/lib/couchbase/data -b default --source-vbucket-state=active --destination-vbucket-state=active
cbdbupgrade pid: 23829
..............................................................................................................................................................................................................
bucket: default, msgs transferred...
: total | last | per sec
batch : 1025 | 1025 | 197.2
byte : 20606931 | 20606931 | 3963754.7
msg : 10000 | 10000 | 1923.5
done
cbdbupgrade err: 0
Upgrading bucket: default
/opt/couchbase/bin/install/../tools/cbtransfer /opt/couchbase/var/lib/couchbase/data/default-data/default couchstore-files:///opt/couchbase/var/lib/couchbase/data -b default --source-vbucket-state=replica --destination-vbucket-state=replica
cbdbupgrade pid: 23836
..............................................................................................................................................................................................................
bucket: default, msgs transferred...
: total | last | per sec
batch : 1025 | 1025 | 2218.7
byte : 0 | 0 | 0.0
msg : 0 | 0 | 0.0
done
cbdbupgrade err: 0
Ensuring bucket owner/group: /opt/couchbase/var/lib/couchbase/data/default
chown -R couchbase:couchbase /opt/couchbase/var/lib/couchbase/data/default
Done.
root@ubuntu1104-64:~#