You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been running swarmpit for a while as a swarm stack.
the couch db data is on a docker volume
I needed to `docker stack rm swarmpit recently.
When I redeployed swarmpit - the service didn't come up and checking the logs
I am not that familiar with couchdb but I read a similar issue where it seems swarmpit wants to run migrations again?
I ran some curl commands against the couch db instance for example it shows the following databases exist:
docker run -it --rm --network=swarmpit_net curlimages/curl:latest -X GET http://db:5984/_all_dbs
["_global_changes","_replicator","_users","swarmpit"]
From the related github issue it looked like I needed to instert a document like this:
docker run -it --rm --network=swarmpit_net curlimages/curl:latest -X PUT http://db:5984/swarmpit -d '{"_id":"1c516abfac159b53e5b9edd5d900492b", "_rev":"1-c8219b09423abbe3f9f08d5ca
d2ca9a0", "type":"migration", "name":"single-node-setup", "result":null}'
and get an error that the database already exists - I think I need to put the document at some other path, other than the root - http://db:5984/swarmpit - is anyone able to kindly advise the correct curl command / path?
The text was updated successfully, but these errors were encountered:
I have been running swarmpit for a while as a swarm stack.
the couch db data is on a docker volume
I needed to `docker stack rm swarmpit recently.
When I redeployed swarmpit - the service didn't come up and checking the logs
I am not that familiar with
couchdb
but I read a similar issue where it seems swarmpit wants to run migrations again?I ran some curl commands against the couch db instance for example it shows the following databases exist:
From the related github issue it looked like I needed to instert a document like this:
but I tried
and get an error that the database already exists - I think I need to put the document at some other path, other than the root - http://db:5984/swarmpit - is anyone able to kindly advise the correct curl command / path?
The text was updated successfully, but these errors were encountered: