Could not Install Couchbase 2.0 Release after Uninstalling 1.8
Hey all,
Figured I'd share my issue and the solution to it.
I was running Couchbase 1.8 and after uninstalling it and installing the 2.0 Release (December 11th Release),
I was getting a starting/stopping couchbase server error with Couchbase 2.0
Solution:
******BACKUP YOUR DATA FIRST ******
I had an empty database. Deleting /opt/couchbase will delete your database data.
After you uninstall Couchbase 1.8 with
sudo dpkg -r couchbase-server
I had to delete the files in /opt/couchbase manually.
Thanks! Sounds good.
So before installing a new version of Couchbase you need to uninstall it, this is documented here:
http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-uninstallin...
Also, we have started a discussion in our JIRA to see how to document this process properly:
http://www.couchbase.com/issues/browse/MB-7411
feel free to comment if you want
The confusion for me was that I DID uninstall my 1.8 install but, /opt/couchbase was not removed. (I think this is expected).
What wasn't obvious is that to install 2.0 all the old files in /opt/couchbase had to be removed. :-)
Hello,
Yes you have to backup your data and delete the /opt/couchbase folder content.
This is the correct approach.
Depending of the distribution it is part of the Readme file but using the installer you do not have any information.
I will capture this in our Documentation Bug database to be sure we are adding this information.
Thanks for you feedback
Tug
Tug
@tgrall