Open 1yuv opened 4 months ago
Hi @1yuv
To be clear, you're saying the error is transitory and if you try again, the command succeeds?
Hi @dianabarsan , retrying the command is not working. I was just trying to mention that the values on my migration_ha.yaml file was corret and using the right credentials.
I've found the solution for this by clearing orphan networks and containers and suggest following that for anyone having issues.
sudo docker network prune
sudo docker container prune
Hi @dianabarsan , Looks like while I was doing docker network prune
, i was giving some time for process to kick off. It looks like, we need to give some time between executing two commands.
sudo docker compose -f docker-compose.yaml up -d
sudo docker compose -f migration_ha.yaml run couch-migration pre-index-views 4.6.0
This time, I didn't try anything and just ran pre-index-views
after it failed for the first time.
So,
To be clear, you're saying the error is transitory and if you try again, the command succeeds?
is true.
I'm not sure why this would happen, there's no intermediary steps that happen within the container. I'm not sure why the docker network would be so flaky. Can you share your system details?
I've occasionally seen issues while trying to run
pre-index-views
.Without changing anythin on my migration_ha.yaml file, I can connect to the
COUCH_URL
from medic-os docker container.