Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Couchbase | Couchbase Server 2.0

Errors after upgrading on Debian

No replies
  • Login or register to post comments
Tue, 02/19/2013 - 07:33
ashleykZA
Offline
Joined: 02/19/2013
Groups: None

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: ns_1@127.0.0.1
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!

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker