I'm developing an app which replicates the remote database for a local, but I can't write to _users DB or add a user.
You're using TouchDB locally? It doesn't support access control or the _users database, because it doesn't make any sense for an embedded database. (Same reason that SQLite doesn't support access control.)
FYI, we prefer the Google group 'couchbase-mobile' for discussion and questions. The URL is in the TouchDB readme.
No, I'm using CouchbaseMobile locallly (this won't be for the AppStore), is it possible to do with it?
Are you authenticating your request? There is a default admin account with a randomized password, to protect against some other app discovering the listener port and trying to do stuff to your databases. The CouchbaseMobile object has an accessor to get the password.
BTW, we don't really support Couchbase Mobile anymore. I can answer some questions based on what I remember about it, but don't have the time to do any real troubleshooting or fix any bugs. We recommend upgrading to TouchDB, which is actually pretty easy to do since you still use CouchCocoa as the main API.
© 2013 COUCHBASE All rights reserved.