Skip to content

Can't install PostGIS #326

@mars3142

Description

@mars3142

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions