Couchbase Questions: Couchbase Mobile

Have a Question? Get it answered by our community

dgriffin's picture
Asked 1 week 14 hours ago
Latest activity 1 week 13 hours 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...

knedle's picture
Asked 2 weeks 18 hours ago
Latest activity 1 week 1 day ago

getQueryById Android

Based on ToDoLite Android sample app I am trying to get query by ID working in my app.

Note that document is created with the same id as the content:
Document document = database.getDocument(userId);

...

dgriffin's picture
Asked 3 weeks 4 days ago
Latest activity 3 weeks 2 days ago

Sync gateway shutting down on closing ssh connection

Hey guys,

I have Couchbase server and sync-gateway running on the same Amazon EC2 instance. everything is working as expected.

Except, soon as I close the SSH window from my local machine, sync gateway on server shuts down.
I am starting sync gateway with $./sync_gateway...

JonasM's picture
Asked 3 weeks 6 days ago
Latest activity 3 weeks 6 days ago

how to update gps-tracks without massive overhead?

Hello,
i want to use couchbase lite for a gps tracker.
Therefore i have to synchronize my gps position every second (very frequently).
I have to use Couchbase Lite, because i used it also for storing and synchronizing other user data.

I've checked to possibilities:...

opic's picture
Asked 1 month 5 days ago
Latest activity 1 month 5 days ago

Building views in the background with Couchbase Lite

hello,

When you have a large database (let's say 10 000 documents) building views can be very long. Could we use a type of background view build mechanism ? Would this be available for the PhoneGap connector ?

The CouchDB REST Api specifies that on a query you could use the :...

basalbr's picture
Asked 1 month 6 days ago
Latest activity 1 month 6 days ago

How should I interact with couchbase.

Hello, I'm developing a 'system' that is available via web browser and android, I'm using couchbase server to store documents in the web application and couchbase mobile with android. To make the sync of these applications I'm using the couchbase sync, but I have a few questions about it....

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

lexical error: invalid char in json text

Hello experts,

we are getting a new error now when trying to use lots of channels:

17:18:00.803 WARNING: JSON error parsing _changes feed: lexical error: invalid char in json text.

We set the channels via the channels property of the pull replication, but it seems there is...

flo_vonderuni's picture
Asked 1 month 1 week ago

lexical error: invalid char in json text

Hello experts,

we are getting a new error now when trying to use lots of channels:

17:18:00.803 WARNING: JSON error parsing _changes feed: lexical error: invalid char in json text.

We set the channels via the channels property of the pull replication, but it seems there is...

joanroca's picture
Asked 1 month 2 weeks ago

Getting 401 response when using Android 4.x

Hi,

I've been testing Couchbase Lite using the Phonegap plugin and it works fine in Android 2.3 but not in Android 4.

I'm creating a database using the REST API and the first call returns a 401 Unauthorized. I've also tried to execute the TodoLite demo but it fails to launch in all...

zachm's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 2 weeks ago

Application-Server to Sync-Gateway Replication

Our application server needs to change data particular to a single user (say its score).
That user is running a Couchbase Lite on his device, which syncs against a Sync-Gateway that the application-server now needs to access directly.

Doing it with "Bucket Shadowing" sounds...

Pages