You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Wendall Cada (Commented) (JIRA)" <ji...@apache.org> on 2012/04/03 01:45:23 UTC

[jira] [Commented] (COUCHDB-1453) Replicator fails with use_users_db = false

    [ https://issues.apache.org/jira/browse/COUCHDB-1453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244842#comment-13244842 ] 

Wendall Cada commented on COUCHDB-1453:
---------------------------------------

After creating the database, view documents fail to sync. This would account for the second error after creating the database.
                
> Replicator fails with use_users_db = false
> ------------------------------------------
>
>                 Key: COUCHDB-1453
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1453
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Replication
>    Affects Versions: 1.2
>         Environment: Centos 6 32bit, Erlang R14B, Spidermonkey 1.8.5
>            Reporter: Wendall Cada
>
> If I create a new replication document in _replicate like this:
> {
>     "source":  "http://localhost:5990/users",
>     "target":  "users_backup",
>     "create_target":  true,
>     "continuous": true
> }
> Creation of DB fails with:
> "unauthorized to access or create database users_backup"
> If I manually create this database, and set create_target to false, replication completes, but generates errors while processing the update_sequence like this:
> Replicator: couldn't write document `_design/lck`, revision `2-8edc91dec975f893efdc6f440286c79e`, to target database `users_backup`. Error: `unauthorized`, reason: `You are not a db or server admin.`.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira