-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
couchdb: GetReplication (and other Replication methods) fail on clean CouchDB node #655
Comments
I learned that there is a basic setup required on new nodes, https://docs.couchdb.org/en/stable/setup/single-node.html Again, not sure if kivik should provide this in any way but especially if you don't use fauxton the steps are essential (e.g. in a dockerized Ci/CD setup) |
Thanks for raising this issue. There are a couple possible approaches here:
As a side project, I've also been working on a command-line couchdb control tool (working name This will have a I welcome your thoughts, based on your usage. |
My current use case is to test an automatic replication setup which, in CI, happens against a clean, empty, uninitialzed couchdb where locally it runs against a local, reusable instance. The actual error isn't that obvious:
since the solution is to create _replicator and not _scheduler. Mentioning it in the docs might help (not sure if this is common knowledge, it definitely caught me by surprise) |
With kivik/v4 and couchdb/v4
It seems the _replicator database has to be created explicitly (fauxton does this as well). Without it, GetReplications() will fail
will print
I'm not sure if this is something Kivik should deal with, but at least it might be worth mentioning
The text was updated successfully, but these errors were encountered: