[Mapbender-users] error with app/consoledoctrine:database:create

Härtel, Connor haertel at itebo.de
Thu Jul 2 22:28:17 PDT 2020

Hi Karsten,

is postgres extension for php correctly installed and active on the machine?
Can you login and connect to any database from command line?


Von: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von karsten
Gesendet: Dienstag, 30. Juni 2020 12:14
An: 'Mapbender User List'
Betreff: Re: [Mapbender-users] error with app/consoledoctrine:database:create

Hi David,

thanks I tried but got same error :(
I also reinstalled postgres (now version 9.6 ) to no avail

Any other hints ?


From: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] On Behalf Of David Patzke
Sent: Tuesday, June 30, 2020 02:27
To: mapbender_users at lists.osgeo.org
Subject: Re: [Mapbender-users] error with app/consoledoctrine:database:create

Hi Karsten,

can you try instead of localhost. localhost is not treaten the same as in the default  pg_hba.conf.

On 30.06.20 11:23, karsten wrote:
Hi All,

I am trying to install mapbender 3.08 (also tried 3.0.5) on an Ubuntu 16 server

I have tried the versions from git the zip and the *.gz version , I can run and connect to teh mapbender installation when using the demo.sqlite file Db but when I am trying to use postgres as the database - No matter what version I used I am always getting the following error when running  app/console doctrine:database:create

user1 at terraxyz:/var/www/mapbender<mailto:user1 at terraxyz:/var/www/mapbender># app/console doctrine:database:create

  An exception occured in driver: SQLSTATE[08006] [7] timeout expired

  SQLSTATE[08006] [7] timeout expired

  SQLSTATE[08006] [7] timeout expired

This is in my   parameters.yml

    database_driver:   pdo_pgsql
    database_host:     localhost
    database_port:     5432
    database_name:     mapbender
    database_path:     ~
    database_user:     mydbuser
    database_password: supersecret

    mailer_transport:  smtp
    mailer_host:       localhost
    mailer_user:       ~
    mailer_password:   ~
There are no messages opr errors in the postgresql.log file ...

Any ideas what si wrong and how to fix it ?

Karsten Vennemann



Mapbender_users mailing list

Mapbender_users at lists.osgeo.org<mailto:Mapbender_users at lists.osgeo.org>




Aufwind durch Wissen!

Qualifizierte Open-Source-GIS-Schulungen

bei der www.foss-academy.com<http://www.foss-academy.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20200703/34c45338/attachment.html>

More information about the Mapbender_users mailing list