Skip to content
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

docker 26 compatibility #130

Open
wardi opened this issue Apr 22, 2024 · 2 comments
Open

docker 26 compatibility #130

wardi opened this issue Apr 22, 2024 · 2 comments
Assignees

Comments

@wardi
Copy link
Contributor

wardi commented Apr 22, 2024

When setting up with the latest docker 5:26.0.2-1~ubuntu.22.04~jammy the datapusher container fails and ckan is stuck on "starting"

NAME         IMAGE                              COMMAND                  SERVICE      CREATED       STATUS                            PORTS
ckan         ckan-docker-ckan                   "/srv/app/start_ckan\u2026"   ckan         2 hours ago   Up 2 minutes (health: starting)   5000/tcp
datapusher   ckan/ckan-base-datapusher:0.0.20   "sh -c 'uwsgi --plug\u2026"   datapusher   2 hours ago   Up 3 minutes (unhealthy)          8800/tcp
db           ckan-docker-db                     "docker-entrypoint.s\u2026"   db           2 hours ago   Up 3 minutes (healthy)            
redis        redis:6                            "docker-entrypoint.s\u2026"   redis        2 hours ago   Up 3 minutes (healthy)            
solr         ckan/ckan-solr:2.10-solr9          "docker-entrypoint.s\u2026"   solr         2 hours ago   Up 3 minutes (healthy) 

Workaround: downgrade to 5:25.0.5-1~ubuntu.22.04~jammy

Note that (the old, unmaintained) https://github.com/okfn/docker-ckan/ doesn't suffer from this issue.

@kowh-ai kowh-ai self-assigned this Apr 22, 2024
@wardi
Copy link
Contributor Author

wardi commented Apr 25, 2024

@kowh-ai looks like #136 resolves this issue. Maybe we should consider it for both the docker-compose files?

@toneres
Copy link

toneres commented Apr 25, 2024

Somebody here ckan/ckan#8170 (comment) had similar issue in Docker 26.0.0 and did a quick fix by replacing health check condition by wget command from localhost to 0.0.0.0.

I able to replicate the problem and confirmed that the quick fix did work on Docker version 26.1.0 on top on focal and jammy ubuntu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants