Errors after upgrading on Debian
I manually installed Couchbase Server 2.0.0 Community edition by downloading the 64bit .deb file and installing it on my server.
I added the couchbase repos to my /etc/apt/sources.list.d directory, to get the couchbase libraries.
Everything was working fine until today when I ran:
sudo apt-get update sudo apt-get upgrade
At first the upgrade was trying to use python, which I didn't have installed. I think there should be a dependency check in place to install python if its not already installed. But even once Python was installed, I keep getting the following error:
Setting up couchbase-server (2.0.0) ... 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. Upgrading your Couchbase Server to 2.0.0-1976-rel. The upgrade process might take awhile. NOTE: all item data will be read from 1.8.x sqlite database files and converted to new files in 2.0 couchstore file format. This can be a lengthy, slow operation for large datasets and/or fragmented database files. Analysing... Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat.debsave Target node: email@example.com ERROR: no previously configured dbdir dpkg: error processing couchbase-server (--configure): subprocess installed post-installation script returned error exit status 1 configured to not write apport reports Errors were encountered while processing: couchbase-server E: Sub-process /usr/bin/dpkg returned an error code (1)
I am not sure why its trying to upgrade, since it seems to be trying to upgrade from 1.8.x but I am already running 2.0.0. I also have the same issue on one of my laptops running Linux Mint 14, which was also fine until today.
Any assistance would be greatly appreciated, because its becoming extremely annoying seeing the couchbase errors every single time I install a new package.
Thanks in advance!