Replies: 2 comments 6 replies
-
Interesting problem. 😄 Let's see if we can first figure out why it's throwing that error for you, as there might turn out to be a simple fix. 😄 The "required file not found" sounds like either Are you able to check if the If it is, are you able to run That should (in theory) output a list of the dependency libraries that initdb tries to load. That might also reveal what's broken. 😄 |
Beta Was this translation helpful? Give feedback.
-
Ahhh. That might be some kind of Alpine vs Debian problem. Musl is a special library of C routines that does things (a bit) differently than glibc which Debian uses. To me, that looks like you're attempting to use PostgreSQL binaries compiled on Alpine (and therefore expecting musl) then trying to use that on a system that uses something-other-than-musl. That's kind of weird though, if that's the output from PostgreSQL from the Hmmm, maybe double check where the PostgreSQL you're running the ldd is from? My first guess is it's just a simple cut-n-paste typo or similar simple mix up in the image tag you're using? Well, hopefully it does turn out to be that simple. 😁 |
Beta Was this translation helpful? Give feedback.
-
Hello, and thanks for this tool.
I am working in a project where we needed to smoothly upgrade from postgres 15 to 16, where different running instances had different postgres versions. We easilly solved this by replacing the official postgres-image with the docker-pgautoupgrade image.
We now plan to add the timescaledb, preferably by using an image. I tried to modify and apply the example for postGIS, but was not able to get it to work.
Trying to build this results in the following error:
/docker-entrypoint.sh: line 92: /usr/local/bin/initdb: cannot execute: required file not found
Do you have any suggestions or pointers on what i am doing wrong, and do you think it would be possible to make an example like the postgis one, but for timescaleDB as well?
Beta Was this translation helpful? Give feedback.
All reactions