Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
Mody's picture
Asked 3 hours 15 min ago

Forbiden key using client 2.3.0 and server 1.8.1

While preparing migration of our SW from Couchbase server 1.81 to a newer version, I've encountered a strange error: "Failed to store the key on the server: Network failure"

After lots of debuging of our code, I've finally found that the problem is this key: "47-...

Evengers's picture
Asked 4 hours 19 min ago

Wrong version of ios-sim? (In case others are having tutorial problem)

The tutorial here: http://docs.couchbase.com/couchbase-lite/cbl-phonegap/

Says "you have the latest released version of each tool."

I and others got it running with iOS-sim 1.8 but not the latest 1.9.

...

arunairs's picture
Asked 7 hours 53 min ago

Pre-load the cache

Hi,
Is it possible to pre-load couchbase's memcache with a pre-defined set of items?

-Arun

zbintliff's picture
Asked 17 hours 31 min ago

Multiple Views on Design Document

I'm using couchbase for proof of concepts and such. I am reading about views and design documents and understand them (I think). So far whenever I wanted to create a new view I created a new document as well. Is there any benefit or drawback for putting multiple views on the same design...

bj's picture
Asked 19 hours 7 min ago

Backing Up Without Exposing Password

cbbackup takes a password on the command line, which puts that password at risk of being exposed by any user on that server doing a ps().

Is it possible to initiate a backup (and restore) without providing the password in argv? Maybe there is a way to set an env variable that will be read...

buger's picture
Asked 1 day 7 hours ago

RAM stats do not reconcile and evictions seems to be not working as expected

Here is screenshots of stats from one of our servers:

https://www.evernote.com/shard/s9/sh/b4df493a-10a9-44d6-9fb4-6fc6e633009...

From time to time one of the...

bmhardy's picture
Asked 1 day 7 hours ago

How to get name of logged in user from cookie

Hi

I authenticated with persona using the _persona endpoint. I was able to retrieve the cookie sent back on the call. It had a named entry syncGatewaySession and an alpha numerical value. Can I get the name of the logged in user from that cookie.

Could I access that cookie after...

bmhardy's picture
Asked 1 day 9 hours ago
Latest activity 13 hours 36 min ago

requireUser not working for me.

I authenticate using persona.

I see this in the sync gateway logs

03:51:40.615322 Persona: Logged in "bsg70@gmx.com"!

My sync function looks like this:

"sync": `function(doc, oldDoc) {
if (oldDoc) {...

matthew.blyth's picture
Asked 2 days 2 hours ago
Latest activity 1 day 8 hours ago

Importing data from couchbase to hadoop using connector

Hi,
I am using the couchbase hadoop connector plugin to import data from couchbase to hadoop. Unfortunately, the values imported appear as byte array references instead of the actual byte array I was expecting. So, for example, the data output to hadoop appears as follows:

key,[B@...

bmhardy's picture
Asked 2 days 10 hours ago
Latest activity 1 day 22 hours ago

How to get the session cookie after persona authentication

Hi,

I read this about using persona with couchbase:

Clients log in by sending a POST request to /dbname/_persona. The request body is a JSON document that contains an assertion property whose value is the signed assertion received from the identity provider. Just as with a _session...

Pages