Seung
*The shadow configuration must point to a different CBS bucket to your
sync_gateway configuration, in your config you have both the sync_gateway
bucket and the shadow bucket pointing to "default"*
*Andy*
On Tuesday, October 28, 2014 5:48:07 PM UTC, Seung Chan Lim wrote:
>
> 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?
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/mobile-couchbase/a0904ae8-7b13-4b9b-b713-af1fa3bf8259%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.