Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.1.0
-
None
-
Security Level: Public
-
None
-
Centos 64-bit
Description
Steps:
-linux centos64
-upgraded (rpm -Uvh) from 2.0.2 build 786 to 795.
-did not shutdown service.
-Encountered error. It failed to copy /opt/couchbase/var/lib/couchbase/config/config.dat
see below.
rw-rr- 1 root root 127886701 May 4 00:26 couchbase-server-enterprise_x86_64_2.0.2-786-rel.rpm
drwxr-xr-x 3 root root 4096 May 6 17:46 mm
rw-rr- 1 root root 128296356 May 10 09:54 couchbase-server-enterprise_x86_64_2.0.2-795-rel.rpm
[root@cen-1910 ~]# rpm -Uvh couchbase-server-enterprise_x86_64_2.0.2-795-rel.rpm
Preparing... ########################################### [100%]
Stopping couchbase-server
Minimum RAM required : 4 GB
System RAM configured : 8174464 kB
Minimum number of processors required : 4 cores
Number of processors on the system : 4 cores
1:couchbase-server ########################################### [100%]
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
Target node: ns_1@10.3.2.49
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,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: 15459573760
Free disk space factor: 2.0
Ok.
Analysis complete.
Copying /opt/couchbase/var/lib/couchbase/config/config.dat
cp /opt/couchbase/var/lib/couchbase/config/config.dat /opt/couchbase/bin/install/../../var/lib/couchbase/config/config.dat
Error: /opt/couchbase/bin/install/../../var/lib/couchbase/ip already exists while copying /opt/couchbase/var/lib/couchbase/ip.rpmsave
Starting couchbase-server[ OK ]
You have successfully installed Couchbase Server.
Please browse to http://cen-1910: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, 8092 and from 21100 to 21299.
By using this software you agree to the End User License Agreement.
See /opt/couchbase/LICENSE.txt.
[root@cen-1910 ~]# rpm -qa|grep couchbase
couchbase-server-2.0.2-795
[root@cen-1910 ~]#
Attachments
For Gerrit Dashboard: MB-8245 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
26304,1 | MB-8245: Always upgrade ip file | 2.0.2 | voltron | Status: MERGED | +2 | +1 |