[Mapbender-users] Issues with Docker Image & Source Install

Astrid Emde (WhereGroup) astrid.emde at wheregroup.com
Fri Apr 11 00:35:52 PDT 2025


Hello,

this is the overview of the last run for veriosn 4.1.0
https://github.com/mapbender/mapbender-starter/actions/runs/13284177657/job/37089021564#step:6:6362

I changed the mapbender-starter latest release to 4.1.0
https://github.com/mapbender/mapbender-starter/releases

We can not see the reason why you have problems with the docker use with 
postgresql.

We use Mapbender in production with docker in compination with 
PostgreSQl.

Astrid Emde

Am 2025-04-08 20:19, schrieb ExplorationInsider.com - Admin Account via 
Mapbender_users:
> Hi there,
> 
> I really like the look of the mapbender interface and am trying to use
> it to display a WMS layer that I've published with geoserver.  I've
> managed to sort-of get things working for the time-being, but here are
> my issues / questions:
> 
> 1) I first-off attempted to run your mapbender/mapbender:v4.1.0 (which
> is also the tag for latest) on docker hub, and while I can pull it and
> run it, if I'm trying to use it with postgis/postgis:17-3.5 when I try
> to run the command "docker exec mapbender php application/bin/console
> doctrine:schema:create" I get an error about drivers for postgres.
> I've tried installing a number of packages for pgsql but I can't seem
> to get anything to work.
> 
> 2) I then went to your github repo for mapbender-starter to check that
> out, and one thing that stuck out to me was that it says the current
> version is 4.0.3 on the main repo page; however looking at the recent
> commit message in the application folder it says it's v.4.1.0 so I'm
> assuming that the version should be changed in the repo?


> 3) I cloned the repo, and spun things up using the
> docker-compose.pgsql.yml in the docker folder, and I could
> successfully run the migration commands and all that jazz, and when I
> look in the public schema all of the tables are there - is it because
> the compose file uses postgis/postgis:14-3.4?  I don't see how that
> could be the case.
> 
> 4) I decided to use the image I built with the
> docker-compose.pgsql.yml and change the postgis version to 17-3.5 and
> I'm back to getting the same errors.  I assumed because I was using
> the image built from the Dockerfile in the repo, that it should have
> the correct drivers installed to talk to postgres, but alas that is
> not the case.  I'm a bit confused as to what's going on.
> 
> ---
> 
> Anyhow, that's where I'm at at the moment.  I can spin it up and play
> around with mapbender using the older version of postgis for now.  I
> am just confused as to why the main docker hub image can't connect to
> postgis out of the box and there is no mention of using an older
> version of postgis anywhere there.  Also, on the mapbender-starter
> instructions, it references a --force flag at the end of the schema
> create that returns a deprecated error, so things just feel like they
> are out of date.
> 
> Thanks for any advice you can provide.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
Mit freundlichen Grüßen

Astrid Emde
GIS-Consultant

---------------------------------------------
WhereGroup Shorts 2025 - am 15. Mai
Im Fokus: PostgreSQL & PostGIS
Online als ZOOM-Meeting

https://wheregroup.com/shorts/
---------------------------------------------

   Astrid Emde
   WhereGroup GmbH
   Eifelstraße 7
   53119 Bonn
   Germany

   Tel: +49(0)228 90 90 38 - 22
   Fax: +49(0)228 90 90 38 - 11

   astrid.emde at wheregroup.com
   www.wheregroup.com

   Meinen PGP Public-Key können Sie unter pgp.mit.edu herunterladen:
   
https://keys.openpgp.org/vks/v1/by-fingerprint/01F8152D36FC07C25EADDE86C5084ACC1C287CCB
   Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen

   Geschäftsführer:
   Olaf Knopp, Peter Stamm
   Amtsgericht Bonn, HRB 9885
-------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x1C287CCB.asc
Type: application/pgp-keys
Size: 1574 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20250411/08947acc/attachment.key>


More information about the Mapbender_users mailing list