Unknown Error on Couchbase Console
Hi guys,
I am constantly receiving an "Unexpected Error" message when I try to retrieve any documents from my Couchbase installation by using the admin console. Views are returning the right information, but there is no way I can access the values of the documents.
When I type the Id of a document and click the Lookup Id button, I get this on the Network inspector on my browser:
{
"error": "badrpc",
"reason": "{'EXIT',{{{badmatch,{error,closed}}, [{mc_client_binary,cmd_binary_vocal_recv,5}, {mc_client_binary,get_meta,3}, {ns_memcached,do_handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}, {gen_server,call, [{'ns_memcached-$data-default','ns...@127.0.0.1'}, {get_meta,<<\"4f9c3f6b-0387-4357-a3ee-790b559b27e0\">>,37}, 30000]}}}"
}
Any ideas on how to solve/recover this? I cannot access any document right now, not by using the console, nor by code. And this is a live server :(
Upgrades are, unfortunately, not supported across DPs and recent builds.
As far as the specific issue you're running into, it'd be good to get some data on it if the environment isn't completely gone. Was it DP4? If so, chances are it's been fixed already, but we'd want to verify.
Let me know if the environment is still around and we can get some data to look into it further.
Yes, it was. I was running DP4 on Ubuntu Precise 32 bits.
I managed to tar.gz the /opt/couchbase/var/lib/couchbase/logs/ some time after, hoping that some of the errors were still there after the upgrade. Just shoot me a PM, in case you want to take a look at them.
Update.
I've just tried to install build 1482 and I get this:
# dpkg -i couchbase-server-community_x86_2.0.0-1482-rel.deb
dpkg: warning: downgrading couchbase-server from 2.0.0dp4r to 2.0.0.
(Reading database ... 35466 files and directories currently installed.)
Preparing to replace couchbase-server 2.0.0dp4r (using couchbase-server-community_x86_2.0.0-1482-rel.deb) ...
* Stopped couchbase-server
Upgrading previous couchbase ... (2.0.0dp4r)
Stopping previous couchbase ... (2.0.0dp4r)
* Failed to stop couchbase-server
Saving previous couchbase config.dat ...
Cleaning symlinks ...
Unpacking replacement couchbase-server ...
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-1482-rel.
The upgrade process might take awhile.
Analysing...
Previous config.dat file is /opt/couchbase/var/lib/couchbase/config/config.dat.debsave
Target node: ns_1@127.0.0.1
ERROR: bucket default is configured but missing: /opt/couchbase/var/lib/couchbase/data/default
dpkg: error processing couchbase-server (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for ureadahead ...
Errors were encountered while processing:
couchbase-server
Ideas?