> On Jan 24, 2015, at 6:40 PM, John Carr <[email protected]> wrote: > > I'm a newbie to the entire CouchBase suite. I've set up CouchBase, > Sync_Gateway and CouchBase-Lite seemingly successfully. I can get the mobile > device to push and pull doc changes (via SG) just fine BUT only if I use SG's > Admin port (4985). If I use the REST port (4984) I get nothing.
This is a fairly common getting-started problem. What's probably happening is that the documents you put in the database are not being assigned to any channels that are accessible by the user account doing the pulling. Possible solutions: * Edit the config file to give the user accounts access to the "*" channel, so they can see all docs. * Enable "admin party" mode by enabling the "GUEST" account and giving it access to "*"; then you don't have to worry about logins at all. * If you're using the default sync function, add a "channel" property to every doc, then in the config file give the user accounts access to the channels the docs are in. Hope this makes sense; feel free to ask for clarification if the docs aren't helping. (And I'm wondering if we shouldn't change the default settings in SG so new users don't hit this issue. Maybe have it default to admin-party?) —Jens -- 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/E3C6B21B-C774-4EF9-B538-24A137FF005C%40couchbase.com. For more options, visit https://groups.google.com/d/optout.
