Here's the top portion of my config file for the SGW.
{
"interface" : ":4984"
,"adminInterface" : ":4985"
,"log":["CRUD", "CRUD+", "HTTP", "HTTP+", "Access", "Cache", "Changes", "Changes+"]
,"SSLCert": "/home/ubuntu/rapidssl.crt"
,"SSLKey": "/home/ubuntu/privkey.pem"
,"databases":{
"maum2":{
"shadow": {"bucket": "default","server": "http://localhost:8091"},"server": "http://localhost:8091","bucket" : "default","sync" : `function(doc, old_doc) {
My understanding is that with the above configuration whatever change I make to the couchbase will get synced up with the syncgateway.
So I was surprised to get a {"error":"not_found","reason":"Not imported"} error response trying to retreive a document I can clearly see using the couchbase web interface.
So I thought maybe there's something I'm doing wrong with the config file?