Quantcast
Channel: Mobile - Couchbase Forums
Browsing all 1117 articles
Browse latest View live

SyncGW document import verification

Hi team, we have a use case to find the total number for records imported to syncgw before any mobile starts syncing. For example, if we have 100k documents with type=‘abc’, all these documents to be...

View Article


SyncGateway cannot create indexes

I receive an error when I try to start my sync gateway: [INF] Successfully opened bucket sync [INF] Set query timeouts for bucket sync to cluster:1m15s, bucket:1m15s [INF] Initializing indexes with...

View Article


Caught SQLite exception while vacuuming: database is locked

We are using Couchbase Lite Java SDK 2.7 and have two stand alone JAVA processes running against the same couchbase lite db and doing writes and reads to completely different set of documentsWe are...

View Article

Purging Null Documents

Hi All, Need a little help here . I am trying to delete the null documents while uploading the data to the server. My code looks something like this . However , I get an error saying...

View Article

Removing documents from CB Lite if a channel is removed from the user or a...

We use roles to define channels for users in Sync Gateway. I’m pretty sure that the following works (although not 100% sure about #3): Add a channel to the role -> next time the client replicates...

View Article


Incorrect Document count in Couchbase sync gateway

Hello, We need your help on one issue where we are not getting correct number of documents in Couchbase sync gateway. We have created channels with smaller number of documents based on document...

View Article

Couchbase Lite query to_number

I have the following QueryBuilder criteria. .and(Expression.property("reportNumber").lessThanOrEqualTo Property: reportNumber stores numeric values as string in the document. Is there a way to apply...

View Article

Mac app under Xamarin. When setting "Enable Hardened Runtime", syncing fails

Pretty much summed it in the title I think. I have a mac/ios/ipados app, built using C#/Xamarin. On the mac app, if I set “Enabled Hardened Runtime” when building for release, build succeeds and the...

View Article


Crash in JNI from Android SDK: std::bad_alloc

While putting together some benchmarks in a fork of Realm’s benchmarks, I ran into a crash in Couchbase on Android. It happens every time I run the benchmarks with ./gradlew clean benchmarkReport on...

View Article


How to access already created database on app relaunch?

Hi, i have implemented couchbase lite in my Android application. I am facing an issue on getting the already created database. When application is first time installed i create a database instance and...

View Article

Is there any size limit of storing documents in couchbase lite database?

Hi, i have implemented Couchbase Lite in my Android application. Is there any size limit on couchdb that maximum that specific number documents can be saved in db. Currently i have one document of...

View Article

Sync Gateway - [4040] No such prepared statement:...

2020-08-03T07:50:48.960Z [WRN] Error when querying index using statement: [SELECT META(`my-db`).id FROM `my-db` USE INDEX(sg_syncDocs_1) WHERE META(`my-db`).id LIKE '\\_sync:%' AND META(`my-db`).id...

View Article

Sync gateway raised the error "WS: c:[5abf1836] ERROR decompressing frame:...

Hello All, I am deploying the couchbase server (6.0 community edition) and sync gateway (2.6.1 community edition) to k8s environment, the couchbase server and sync gateway are running in the same...

View Article


Database is Busy/locked

CouchbaseLiteException (LiteCoreDomain / 16): database is locked. In Windows Forms Application, we are using Couchbase.Lite community edition v2.7.1 .NET SDK The above error is occurring in...

View Article

Sync gateway insert vs N1QL insert

Hello, What would be the major difference for inserting a document through sync gateway vs inserting through N1QL query. What I observed is when we created document with N1QL, it doesn’t have _sync...

View Article


C# Continuous Replicator with Channels

Hi, I’m trying to set up Couchbase Lite in .NET Core with Channels. I have configured the Replicator to use a specific channel filtered by two fields and it works fine with default settings. However,...

View Article

Couchbase Sync-gateway and webapp authentication both at once

We are building mobile app including offline capability with Couchbase mobile solution for existing web application, we use basic authentication to connected to sync-gateway via websocket which is...

View Article


Document still exists on couchbase lite when out of the channel

Good morning everybody I am facing this behavior and I do not understand if it’s the right one or there is something missing in the logic. We have an android application with couchbase mobile lite and...

View Article

Couchbase Lite C builds

Hi, I am developing an app using Flutter and Couchabse Lite is an excellent match. Currently there is a plugin that uses the iOS and Android DSK to support those platforms but I would like to support...

View Article

Image may be NSFW.
Clik here to view.

Sync. gateway task stops before data nodes are ready when all servers are...

I have two Couchbase servers in a cluster and one Sync.gateway talking to the two servers. We have had some issues with the data center so that all servers have been taking down and restarted. Every...

View Article
Browsing all 1117 articles
Browse latest View live