ckan-docker icon indicating copy to clipboard operation
ckan-docker copied to clipboard

Unhealthy ckan and datapusher containers on installation in development server

Open leomunguia opened this issue 1 year ago • 4 comments

Hello ckan community,

I have a problem with ckan and datapusher containers when I try to deploy a ckan project in development server. After of applicate the command docker compose up -d directly in development server it's shows me the following message:

image

Also, when I applied the command docker ps -a the result is as follows:

image

Like I said in the beggining, ckan and datapusher containers are "unhealthy" but only in development server, because in my PC I don´t have problems with this and the project is get up without drawback:

image

I used the 2.10.1 ckan version and 24.0.7 docker engine version in my pc. In development server 26.1.4 . Please help me to resolve this problem.

leomunguia avatar Jun 13 '24 06:06 leomunguia

Which docker version do you have on your development server?

ipimpat avatar Jun 18 '24 10:06 ipimpat

I have the 26.1.4 Docker engine version in the development server. In my PC I have 24.0.7 version.

leomunguia avatar Jun 23 '24 06:06 leomunguia

Check out this PR - it's not merged yet but fixes a problem with Docker v26

kowh-ai avatar Jun 26 '24 12:06 kowh-ai

same issue i'm getting for ckan docker dev mode

➜  ckan git:(master) ✗ docker -v               
Docker version 26.1.4, build 5650f9b102
➜  ckan git:(master) ✗ docker compose version                     
Docker Compose version 2.27.2
➜  ckan git:(master) ✗ docker ps               
CONTAINER ID   IMAGE                              COMMAND                  CREATED         STATUS                     PORTS                    NAMES
16357199141a   ckan-ckan-dev                      "/srv/app/start_ckan…"   6 minutes ago   Up 6 minutes (unhealthy)   0.0.0.0:5000->5000/tcp   ckan-ckan-dev-1
db15a7eefbb1   ckan/ckan-solr:2.10-solr9          "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes (healthy)     8983/tcp                 ckan-solr-1
55c5b0253ac7   redis:6                            "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes (healthy)     6379/tcp                 ckan-redis-1
eb483781fcad   ckan-db                            "docker-entrypoint.s…"   6 minutes ago   Up 6 minutes (healthy)     5432/tcp                 ckan-db-1
038a40c08d7b   ckan/ckan-base-datapusher:0.0.20   "sh -c 'uwsgi --plug…"   6 minutes ago   Up 6 minutes (unhealthy)   8800/tcp                 ckan-datapusher-1
➜  ckan git:(master) ✗ 

To which version should I downgrade docker?

kumarvivek1752 avatar Jun 29 '24 02:06 kumarvivek1752

Docker version 24.x would be a better option than 26.x

kowh-ai avatar Aug 15 '24 12:08 kowh-ai