Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
casmeiron's picture
Asked 1 month 1 week ago

NodeJS couchbase@2.0.0-beta error with view query

Hi,

Im trying to execute a query using couchbase@2.0.0-beta for NODEJS and the server is 3.0 beta. The follow error occurs whatever view query I try:

Floating point exception: 8

No stacktraces whatsoever, no more information, nothing!

The query invocation is quite...

dgriffin's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

Limiting Initial pull

Hey guys,

We are using Sync Gateway channels as users to save user specific data.

Lets say user have data for 1 year, all the documents have "date_created" field.

On the reinstall/fresh install, How do I make pull request for last 3 months data?

I know we can create...

casmeiron's picture
Asked 1 month 1 week ago

QueryView TypeError Problem

Hi,

We've trying the new couchbase nodejs client (2.0.0) but we cannot use queryview.

In bucket.js, line 591 we have the follow:

if (query instanceof ViewQuery.Default) {

It's failing, saying query isn't of type ViewQuery.Default.

TypeError: First argument...

Bas Vijfwinkel's picture
Asked 1 month 1 week ago
Latest activity 3 weeks 5 days ago

Couchbase with Wamp server

I don't know where to post it but I hope this saves somebody the trouble of figuring on his own:
Just woudl like to add some indications to get Wamp working with Couchbase.

The couchbase php client for windows fails silently without any indication what might be wrong when trying to...

Nick Padilla's picture
Asked 1 month 1 week ago
Latest activity 1 month 4 days ago

How to secure individual documents

Hello All!

I am trying to figure out if there is a way to secure individual documents. Preferably there would be a pre-accept hook that would allow checking if the current user has access to the requested document(s). In a standard web application you may want to have object level...

clc_drew's picture
Asked 1 month 1 week ago

How to get a list of the XDCR replications?

I'm trying to get a list of the XDCR replications for a given remote cluster, so I can check whether a bucket has replication set up for ElasticSearch, via HTTP. I thought I'd be able to get that by going to the remote cluster URI returned from `GET /pools/default/remoteClusters` (...

shivshankar.dayal's picture
Asked 1 month 1 week ago
Latest activity 1 month 4 days ago

How to run couchbase web console under https?

Hi,

I have searched it on google but found nothing as to how to run couchbase web console under https?

Respect,

leogz's picture
Asked 1 month 1 week ago
Latest activity 1 month 4 days ago

UPDATE DOCUMENT

have any way to update part of document in couchbase with PHP?

{
_id: 199
"STATUS": 1,
"FLAG": 2,
"LOCK": 1
}

Need update only (suposed) "field" LOCK .

Something like:

...
leogz's picture
Asked 1 month 1 week ago

PHP DP2 Compilation Error

I try to compile DP2 PHP extension on my system and got error:

couchbase/cluster.c -fPIC -DPIC -o .libs/cluster.o
/GITS/php-couchbase/cluster.c: In function 'zim_Cluster___construct':
//GITS/php-couchbase/cluster.c:119:24: error: 'struct lcb_create_st3' has no member named '...

Sanjay1313's picture
Asked 1 month 1 week ago

Its taking more than 1 min for Couchbase node to detect Peer couchbase node is down!

Hi,

There are 2 nodes in a cluster.
1)Shutdown Node1
2)Node2 is taking more than 1 min to detect that Node1 is down and mark it unhealthy

Is there any parameter which we can set to reduce the time to detect failure.?

Note: This is only in case of a shutdown/...

Pages