Couchbase Server Upgrade On Linux

Upgrade Couchbase Server is quite simple. You can upgrade your couchbase server with a few steps .
I am going to upgrade my server from 6.0 to 6.5. Couchase allows directly upgrade from 6.0 to 6.5.
If you want to upgrade from previous versions, you have to upgrade previous paths before upgrade the latest version which are below.

My Couchbase server is under the /app/couchbase/inst1 path.
There are two files for Couchase which are opt and usr. Before upgrade, we need to move these files into another file, then will be ready to install new version of the Couchbase.

First, move the opt and usr files into the new file.
Go to your installed Couchbase Server path,
cd /app/couchbase/inst1 then write ‘ls’ command. You will see opt and usr files.

mv opt opt_backup
mv usr usr_backup 

our opt and usr files moved to their new files.

Now import your new version of Couchbase Server rpm file under
cd /app/couchbase/inst1
Then run the command which is below, to install new version of Couchbase Server.

rpm2cpio couchbase-server-enterprise-6.5.0-centos7.x86_64.rpm| cpio --extract --make-directories --no-absolute-filenames  

Couchbase server has been installed. Use ls command, there is new opt and usr file are created.

Go to 
cd opt/couchbase
then run the command 
./bin/install/ `pwd`  
 Then Start server
 ./bin/couchbase-server \-- -noinput -detached 

Your Couchbase Server is upgraded succesfully.

Related Post

5 thoughts on “Couchbase Server Upgrade On Linux

  1. Long time supporter, and thought I’d drop a comment.

    Your wordpress site is very sleek – hope you don’t mind me asking what theme you’re using?

    (and don’t mind if I steal it? :P)

    I just launched my site –also built in wordpress like yours–
    but the theme slows (!) the site down quite a bit.

    In case you have a minute, you can find it by searching for “royal cbd” on Google (would appreciate any feedback) – it’s still in the works.

    Keep up the good work– and hope you all take care of yourself
    during the coronavirus scare!

  2. all the time i used to read smaller posts which as well clear their motive, and that is also happening with this article which I am
    reading at this place.

  3. I have been browsing online more than 4 hours today, yet I never
    found any interesting article like yours. It’s pretty worth enough for me.
    In my opinion, if all website owners and bloggers made good content as you did, the internet will be a lot more useful than ever

    Look into my homepage; King

Leave a Reply

Your email address will not be published. Required fields are marked *