{"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-1387433455", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 1387433455, "node_id": "IC_kwDOBm6k_c5Sso3v", "user": {"value": 270255, "label": "adamalton"}, "created_at": "2023-01-18T17:13:45Z", "updated_at": "2023-01-18T17:13:45Z", "author_association": "NONE", "body": "You may have just been talking to yourself here, but I found your documentation of the process incredibly useful when I hit the same error myself. Thanks! \ud83c\udf08 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-953508979", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 953508979, "node_id": "IC_kwDOBm6k_c441WRz", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-28T05:13:49Z", "updated_at": "2021-10-28T05:13:49Z", "author_association": "OWNER", "body": "Wrote about this in my weeknotes: https://simonwillison.net/2021/Oct/28/weeknotes-kubernetes-web-components/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950417375", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950417375, "node_id": "IC_kwDOBm6k_c44pjff", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:36:54Z", "updated_at": "2021-10-24T23:36:54Z", "author_association": "OWNER", "body": "Tried fixing this by pushing a new `latest` tag from my laptop:\r\n```\r\n(datasette) datasette % docker pull datasetteproject/datasette:0.59.1\r\n0.59.1: Pulling from datasetteproject/datasette\r\n7d63c13d9b9b: Already exists \r\n6ad2a11ca37b: Already exists \r\ne9edbe81a001: Already exists \r\n36629b83aba2: Already exists \r\n7338abefe51c: Already exists \r\n6b825daddc6c: Pull complete \r\nd7508b065a21: Pull complete \r\nDigest: sha256:dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.59.1\r\ndocker.io/datasetteproject/datasette:0.59.1\r\n(datasette) datasette % docker tag datasetteproject/datasette:0.59.1 datasetteproject/datasette:latest\r\n(datasette) datasette % docker push datasetteproject/datasette:latest\r\nThe push refers to repository [docker.io/datasetteproject/datasette]\r\nd668c99b6ff1: Layer already exists \r\naa20c9013575: Layer already exists \r\nc97eebf2b227: Layer already exists \r\n284a6c64b82c: Layer already exists \r\n388eedeb736e: Layer already exists \r\n2feece0964b8: Layer already exists \r\ne8b689711f21: Layer already exists \r\nerrors:\r\ndenied: requested access to the resource is denied\r\nunauthorized: authentication required\r\n```\r\nSo I logged in with `docker login`:\r\n```\r\n(datasette) datasette % docker login\r\nLogin with your Docker ID to push and pull images from Docker Hub. If you don't have a Docker ID, head over to https://hub.docker.com to create one.\r\nUsername: datasetteproject\r\nPassword: \r\n```\r\nAnd ran the push again and it worked:\r\n```\r\n(datasette) datasette % docker push datasetteproject/datasette:latest\r\nThe push refers to repository [docker.io/datasetteproject/datasette]\r\nd668c99b6ff1: Layer already exists \r\naa20c9013575: Layer already exists \r\nc97eebf2b227: Layer already exists \r\n284a6c64b82c: Layer already exists \r\n388eedeb736e: Layer already exists \r\n2feece0964b8: Layer already exists \r\ne8b689711f21: Layer already exists \r\nlatest: digest: sha256:dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c size: 1793\r\n```\r\nhttps://hub.docker.com/layers/datasetteproject/datasette/latest/images/sha256-dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416802", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416802, "node_id": "IC_kwDOBm6k_c44pjWi", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:32:39Z", "updated_at": "2021-10-24T23:32:39Z", "author_association": "OWNER", "body": "That's because the `publish.yml` workflow ends with this, which isn't in the `push_docker_tag.yml` workflow:\r\n\r\nhttps://github.com/simonw/datasette/blob/2c31d1cd9cd3b63458ccbe391866499fa3f44978/.github/workflows/publish.yml#L117-L119", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416682", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416682, "node_id": "IC_kwDOBm6k_c44pjUq", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:31:51Z", "updated_at": "2021-10-24T23:31:51Z", "author_association": "OWNER", "body": "One catch: the `latest` tag on Docker Hub is still three months old.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416659", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416659, "node_id": "IC_kwDOBm6k_c44pjUT", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:31:41Z", "updated_at": "2021-10-24T23:31:41Z", "author_association": "OWNER", "body": "Published `0.59.1` as well: https://github.com/simonw/datasette/runs/3991214225?check_suite_focus=true\r\n\r\nResult: https://hub.docker.com/layers/datasetteproject/datasette/0.59.1/images/sha256-dc134f65bec40ed4ea7049188fe1e3915b8e6c3fd999b17effe8ec24868b979c?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416460", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416460, "node_id": "IC_kwDOBm6k_c44pjRM", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:30:10Z", "updated_at": "2021-10-24T23:30:10Z", "author_association": "OWNER", "body": "Testing that newly published image:\r\n```\r\n% docker run -p 8002:8001 -v `pwd`:/mnt \\\r\n datasetteproject/datasette:0.59 datasette -p 8001 -h 0.0.0.0 /mnt/fixtures.db\r\nUnable to find image 'datasetteproject/datasette:0.59' locally\r\n0.59: Pulling from datasetteproject/datasette\r\n7d63c13d9b9b: Already exists \r\n6ad2a11ca37b: Already exists \r\ne9edbe81a001: Already exists \r\n36629b83aba2: Already exists \r\n7338abefe51c: Already exists \r\n6d71b6b88b82: Pull complete \r\n8c4da3c56bdc: Pull complete \r\nDigest: sha256:038decc28e0ea84b281ecc0058fe8eba7aa99596e5a2177ff714092ad03294ed\r\nStatus: Downloaded newer image for datasetteproject/datasette:0.59\r\nINFO: Started server process [1]\r\nINFO: Waiting for application startup.\r\nINFO: Application startup complete.\r\nINFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)\r\n```\r\nand `http://localhost:8002/versions.json` returns:\r\n\r\n```json\r\n{\r\n \"python\": {\r\n \"version\": \"3.9.7\",\r\n \"full\": \"3.9.7 (default, Oct 12 2021, 02:43:43) \\n[GCC 10.2.1 20210110]\"\r\n },\r\n \"datasette\": {\r\n \"version\": \"0.59\"\r\n },\r\n \"asgi\": \"3.0\",\r\n \"uvicorn\": \"0.15.0\",\r\n \"sqlite\": {\r\n \"version\": \"3.34.1\"\r\n```", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950416061", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950416061, "node_id": "IC_kwDOBm6k_c44pjK9", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:27:18Z", "updated_at": "2021-10-24T23:27:18Z", "author_association": "OWNER", "body": "That worked: https://hub.docker.com/layers/datasetteproject/datasette/0.59/images/sha256-038decc28e0ea84b281ecc0058fe8eba7aa99596e5a2177ff714092ad03294ed?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950415822", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950415822, "node_id": "IC_kwDOBm6k_c44pjHO", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:25:45Z", "updated_at": "2021-10-24T23:25:45Z", "author_association": "OWNER", "body": "I'm going to attempt to publish `0.59` to Docker Hub using https://github.com/simonw/datasette/blob/2c31d1cd9cd3b63458ccbe391866499fa3f44978/.github/workflows/push_docker_tag.yml - if that works I'll push `0.59.1` as well.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950415129", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950415129, "node_id": "IC_kwDOBm6k_c44pi8Z", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:21:33Z", "updated_at": "2021-10-24T23:21:33Z", "author_association": "OWNER", "body": "That fixed it! Resulting image is 249MB which is a very slight size reduction (I think previous was 259MB (uncompressed).", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950413185", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950413185, "node_id": "IC_kwDOBm6k_c44pieB", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:16:25Z", "updated_at": "2021-10-24T23:18:30Z", "author_association": "OWNER", "body": "Debian stable these days is \"bullseye\" - https://www.debian.org/releases/ - which has the version of SpatiaLite that I was previously pulling in from Sid: https://packages.debian.org/bullseye/libsqlite3-mod-spatialite\r\n\r\nSo upgrading to the 3.9.7-slim-bullseye base image may help.\r\n\r\nhttps://hub.docker.com/layers/python/library/python/3.9.7-slim-bullseye/images/sha256-67af5f544115124dc6d6da1d9d2815aa9825f6fd4aa6710adb0ec1725280fb89?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950412628", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950412628, "node_id": "IC_kwDOBm6k_c44piVU", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:13:20Z", "updated_at": "2021-10-24T23:13:27Z", "author_association": "OWNER", "body": "I think the root cause here is that I'm using a Debian Buster base image and then installing SpatiaLite from Debian unstable (sid) - as described in this comment: https://github.com/simonw/datasette/issues/1249#issuecomment-804309510\r\n\r\nThat's has worked fine in the past, but Sid is unstable - and this seems to be one of those instabilities.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411417", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411417, "node_id": "IC_kwDOBm6k_c44piCZ", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:06:45Z", "updated_at": "2021-10-24T23:11:14Z", "author_association": "OWNER", "body": "Same errors with `3.9.7`:\r\n```\r\n#5 41.46 /usr/bin/perl: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory\r\n#5 41.46 dpkg: error processing package libc6:amd64 (--configure):\r\n#5 41.46 installed libc6:amd64 package post-installation script subprocess returned error exit status 127\r\n#5 41.47 Errors were encountered while processing:\r\n#5 41.47 libc6:amd64\r\n#5 41.50 E: Sub-process /usr/bin/dpkg returned an error code (1)\r\n```\r\nI'm suspicious of this part of the `Dockerfile`: https://github.com/simonw/datasette/blob/e6e44372b34414eac2f36a4c1120af4f755aa423/Dockerfile#L1-L18\r\n\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411912", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411912, "node_id": "IC_kwDOBm6k_c44piKI", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:09:41Z", "updated_at": "2021-10-24T23:09:41Z", "author_association": "OWNER", "body": "Here that is in the Debian bug tracker: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=993755", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411808", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411808, "node_id": "IC_kwDOBm6k_c44piIg", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:08:59Z", "updated_at": "2021-10-24T23:08:59Z", "author_association": "OWNER", "body": "Looks like it's this bug, reported on the Debian mailing list: https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1818037.html\r\n\r\nNo obvious workaround there though.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950411320", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950411320, "node_id": "IC_kwDOBm6k_c44piA4", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:06:05Z", "updated_at": "2021-10-24T23:06:05Z", "author_association": "OWNER", "body": "Right now the base image is: https://github.com/simonw/datasette/blob/e6e44372b34414eac2f36a4c1120af4f755aa423/Dockerfile#L1\r\n\r\nI'm going to try `python:3.9.7-slim-buster` instead: https://hub.docker.com/layers/python/library/python/3.9.7-slim-buster/images/sha256-290b95e4b379762a9bd3d72644598e0972f4e2b5442bba60592c018fadcc744d?context=explore", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950410718", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950410718, "node_id": "IC_kwDOBm6k_c44ph3e", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:02:30Z", "updated_at": "2021-10-24T23:02:30Z", "author_association": "OWNER", "body": "I got the same error publishing 0.59: https://github.com/simonw/datasette/actions/runs/1343251945", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1497#issuecomment-950410554", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1497", "id": 950410554, "node_id": "IC_kwDOBm6k_c44ph06", "user": {"value": 9599, "label": "simonw"}, "created_at": "2021-10-24T23:01:20Z", "updated_at": "2021-10-24T23:01:28Z", "author_association": "OWNER", "body": "I can replicate locally by running:\r\n\r\n```\r\ndocker build -f Dockerfile \\\r\n -t datasetteproject/datasette:0.59.1 \\\r\n --build-arg VERSION=0.59.1 .\r\n```\r\nThis gives me the same error.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1034535001, "label": "Publish to Docker Hub failing with \"libcrypt.so.1: cannot open shared object file\""}, "performed_via_github_app": null}