Remove existing xattr._sync property after updating filter to EXCLUDE docs...
TL;DR I have docs on my sync gateway and I need them removed I’ve have updated my import function to exclude documents from the sync gateway. I’ve also updated the sync function to throw an exception...
View ArticleSync Gateway Architect vs Full Admin
Hi everyone, I’m facing an issue with Couchbase Server 7.2 and Sync Gateway 3.1, both of which I’m using in their Community Editions. I’m having trouble accessing the Sync Gateway Admin REST API; all...
View ArticleCouchbase Lite C stop replicate after network interruption
Dear Sir, We got a problem to replacte data from Couchbase Lite C to Couchbase server. The setup: The server is Couchbase Server Community 7.0 ~7.2, run on Machine A SyncGateway Community is 2.8~3.03,...
View ArticleSingle Document Structure or Multiple Documents for User Data
I have a Couchbase document for each user that provides profile and authorization information related to the user. This is the user-profile document. The Couchbase user document can be updated by...
View ArticleCouchbase lite crashing the app with the following error after bumping to...
Couchbase lite crashing the android app with the following error after bumping to version 3.1.1. I am not getting any hint from the crash about the place and reason of crash. I am inserting and...
View ArticleCan't see an integer field named id in a document
In couchbase server/sync gateway, I have documents with structure as follows: { "id": 909, "name": "Jon" } Now in my couchbase lite android, I can see name and id but the id is the meta id of the...
View ArticleCouchbaseLite/REPLICATOR: process rev has invalid ancestor
We ran into issue where documents were not. sycning to the tablet, We got the logcat and show it was logging below error:- CouchbaseLite/REPLICATOR: {N8litecore4repl6PusherE#770} Proposed rev...
View ArticlerotateLog fails to open ....cbllog
Whenever I run the JVM tests for my Kotlin Multiplatform Couchbase Lite library, I get a ton of these logs: rotateLog fails to open...
View ArticleMust be called during a transaction (CouchbaseLite Android v3.1.0-425@33...
Sometimes we are facing this issue, as it gets triggered during the data-saving process into the database, but the data is not being saved. We encounter the following error: Note: We are unable to...
View ArticleWhen will Sync Gateway REST API support sql queries?
Hello all, I’m looking at the documentations for Couchbase server and SyncGateway. It appears that the REST API of Couchbase server supports SQL queries since at least 6.6. However, it also appears...
View ArticleUsage of requireAccess() / Remove access for a channel for a specific user
Hi everyone, I have a question concerning the sync function. In my use case, I would like to create a channel(doc.id) and grant access to the user. Furthermore, I have a list doc.shareWithUsers where...
View ArticleSIGSEGV in CBL after "connection timed out" Sync error
CBL C SDK for Android 3.1.1 I’m reporting this issue on behalf of a user of the Couchbase Lite Dart SDK. Please see this GitHub issue, where the problem was originally reported: SIGSEGV in CBL after...
View ArticleUnable to include sync and import filter functions using backticks and...
I am trying to use the following file for creating a sync gateway database. It is a variation of the example in the official documentation. { "name": "db", "bucket": "bucket", "scopes": { "_default":...
View ArticleSync Gateway Data Synchronization Issue with Custom Collection
With the recent enhancement in Sync Gateway supporting data synchronization from custom collections, we transitioned our data from the default collection to a custom one named “content”. We set up our...
View ArticleI want to migrate serviceconfig.json from sync gateway 2.8 to 3.1
Hello, I want to migrate serviceconfig.json from sync gateway 2.8 to 3.1. I don’t understand the new architecture (scopes or sync) In particular, we used the databases part and the “sync” function to...
View ArticleCouchbaseLite: Why Are Periods (.) Not Allowed in Database Names?
We’ve noticed warning messages in CouchbaseLite Java across all versions. The warning is as follows: 2023-10-27 09:58:22 10-27 04:28:22.629 44 W/CouchbaseLite/DATABASE: "com.tgsys.platform.compliance"...
View ArticleHow to data insert?
sync gateway to couchbase server data insert question sync_gateway version 3.1 couchbase server version 7.2 bucket name: sync_test scope name : test collection name : sync test config :...
View ArticleCouchbase Sync Gateway 3.1 and PouchDB
Hello, I saw there are two blog posts on how to use Couchbase and PouchDB, but these are old referencing usage of Sync Gateway 2.8. Is it possible to use Couchbase Sync Gateway 3.1 and PouchDB? The...
View ArticleWhen will SyncGateway REST API support SQL queries?
Hello all, I’m looking at the documentations for Couchbase server and SyncGateway. It appears that the REST API of Couchbase server supports SQL queries since at least 6.6. However, it also appears...
View ArticleHow to Create and Delete a Scope Using Couchbase Lite Java SDK
I have been trying to create and delete a scope using the Couchbase Lite Java SDK, but I’m struggling to find relevant information in the documentation and source code. I’ve scoured through the...
View Article