Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6561305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:34:14+00:00 2026-05-25T13:34:14+00:00

I am creating a pull replicator document in couchdb 1.1.0: curl -X PUT http://admin:pass@localhost:5984/_replicator/maintenance

  • 0

I am creating a “pull” replicator document in couchdb 1.1.0:

curl -X PUT http://admin:pass@localhost:5984/_replicator/maintenance -d '
{
    "_id": "maintenance",
    "source":  "http://other.host:5984/maintenance",
    "target":  "maintenance",
    "create_target":  true
}'

Now I check the replication state:

curl -X GET http://admin:pass@localhost:5984/_replicator/maintenance
{"_id":"maintenance","_rev":"2-0f25f80a2726640944d527d6035e5b80","source":"http://other.host:5984/","target":"maintenance","create_target":true,"_replication_state":"error","_replication_state_time":"2011-09-06T02:35:10+02:00","_replication_id":"354746bf47831195261bf54f3cb6136b"}

Something is going wrong, but I do not know what. I have even created the database manually, but it is still not working. Any ideas on where the problem could be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:34:15+00:00Added an answer on May 25, 2026 at 1:34 pm

    It turns out I was using the wrong url to start the replication. Instead of

    curl -X PUT http://admin:pass@localhost:5984/_replicator/maintenance
    

    I must do:

    curl -X POST http://admin:pass@localhost:5984/_replicate -H ...
    

    Now the replication starts as expected. It can even be triggered with create_target and continuous, and it works fine.

    I still have some problems though: how can I list the active replications? They are not listed in localhost:5984/_replicator and the url localhost:5984/_replicate only acepts POST requests. How can I cancel a continuous replication?

    And finally: what is the purpose of having two different URLs, one localhost:5984/_replicate and one localhost:5984/_replicator?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working on creating a SQL query that will pull records from a table
I'm in the process of creating a blog for somebody. They want to pull
I'm creating a web request to pull lng and lat data based on zip
I'm creating a controller which will pull information of a painter from a database
I am creating an app that that uses a tabbed view. I pull data
I'm creating an iPhone app that will pull data down from a Web API,
I'm currently creating an SSIS job that will pull picture data from a SQL
I'm creating a calendar with appointments. I pull the appointments from a database, from
What's the best way to pull data from Wordpress database? I think creating a
I'm not sure, but I have a vague memory of creating a github pull

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.