-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Make the docker container work with an existing couchDB #576
Comments
migration is done only once and changelog written in couch .. this is most probably related to different problem .. |
Oh i see, you already have your own couch DB instance .. in that case you have to create migration document so swarmpit app knows the data model is already there. |
https://github.com/swarmpit/swarmpit/blob/master/src/clj/swarmpit/couchdb/migration.clj#L32 Document for |
Hi ! By creating the following file in my couchDB (database: swarmpit), I was indeed able to start the swarmpit app ! {
"_id": "1c516abfac159b53e5b9edd5d900492b",
"_rev": "1-c8219b09423abbe3f9f08d5cad2ca9a0",
"type": "migration",
"name": "single-node-setup",
"result": null
} Thanks again, I'm closing the issue. |
Description
Hi
In the process of starting a new swarmpit instance, it will try to create the
_users
,_replicator
and_global_changes
databases on the specified couchDB.In the event of any of those already present in the couchDB, it will fail and crash.
Could you make a "check" before creating the db ? In case they are already present ? Thanks !
Steps to reproduce the issue:
_users
,_replicator
or_global_changes
on itWhat happens:
For the record, I had the same problem with the
_users
db just before this, so I deleted it, but I can't delete_replicator
!Additional information (e.g. docker version, cluster setup,...):
Docker version 19.03.5, build 633a0ea838
The text was updated successfully, but these errors were encountered: