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

Can't install PostGIS #326

Open
mars3142 opened this issue Sep 25, 2024 · 2 comments
Open

Can't install PostGIS #326

mars3142 opened this issue Sep 25, 2024 · 2 comments

Comments

@mars3142
Copy link

Description of problem

I wanted to use PostGIS and tried the command from the readme file of this repository.

How reproducible

Steps to Reproduce

  1. dokku postgres:create postgis-database --image "postgis/postgis" --image-version "16-3.4"

Actual Results

PostGIS isn't installed.

Expected Results

PostGIS can be used.

Additional information (log)

16-3.4: Pulling from postgis/postgis
6533c3eba3f3: Pull complete 
9b85298a8b21: Pull complete 
b95c9279f30b: Pull complete 
6313bf914f34: Pull complete 
23c169fcc9f8: Pull complete 
6c4beea2171e: Pull complete 
2fd2333708a2: Pull complete 
835bd264582e: Pull complete 
72f994d0fdd0: Pull complete 
46dad05ce1d2: Pull complete 
5d0d6d069b83: Pull complete 
4b6f1725d57b: Pull complete 
d18ef075dda2: Pull complete 
e833a193ea76: Pull complete 
21376114fe98: Pull complete 
4f4fb700ef54: Pull complete 
ac03d6f061d8: Pull complete 
ddf69d6434da: Pull complete 
Digest: sha256:35e4d71728d830ef2fcc11b492ba90fca17a47d7a51a77a3763fb4e1efda2097
Status: Downloaded newer image for postgis/postgis:16-3.4
docker.io/postgis/postgis:16-3.4
       Waiting for container to be ready
Waiting for dokku-postgres-postgis-database:5432  .nc: getaddrinfo: Try again
.nc: getaddrinfo: Try again
.nc: getaddrinfo: Try again
.nc: getaddrinfo: Try again
.nc: getaddrinfo: Try again
.nc: getaddrinfo: Try again
.  ERROR: unable to connect
=====> Start of postgis-database container output
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
   exec /usr/local/bin/docker-entrypoint.sh: exec format error
=====> End of postgis-database container output
@mars3142 mars3142 changed the title Can't install postgis Can't install PostGIS Sep 25, 2024
@josegonzalez
Copy link
Member

An exec format error... are you running an amd64 image on an arm server?

@mars3142
Copy link
Author

Yeah, it's a ARM server. Isn't PostGIS able to run on ARM. That's sad, because Postgres itself is possible on the machine.

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

No branches or pull requests

2 participants