We are using Couchbase Community Edition Server 6.0 and Sync Gateway 2.1.1. When viewing the Sync Gateway Admin UI it returns no user data. It lists channels and I can access documents by ID (although it shows ‘0 documents highlighted’ on the UI)
Yet via the REST calls to the same server, it does return users
Any idea why this might happen?
Sync Gateway Config
“interface”:":4984",
“adminInterface”:":4985",
“log”: [ “CRUD”, “CRUD+”, “HTTP”, “HTTP+”, “Access”, “Cache”, “Shadow”, “Shadow+”, “Changes”, “Changes+”, “REST” ],
“databases”: {
“primary”: {
“server”: “http://SOMEIP:8091”,
“sync”:
function(doc, oldDoc) { var sync_channels = [doc.cb_type]; if(doc.cb_channels) { sync_channels = doc.cb_channels.split(","); sync_channels = sync_channels.filter(function(e){return e}); } channel(sync_channels); }
,
“username”:“user”,
“password”:“pass”,
“bucket”:“primary”,
“enable_shared_bucket_access”: true,
“num_index_replicas” : 0,
“import_docs”: “continuous”,
“users”: {
“primary”:{
“disabled”:true,
“admin_channels”: ,
“password”: “somepass”
}
}
}
}