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

David Patzke david.patzke at wheregroup.com
Tue Jun 30 02:27:13 PDT 2020


Hi Karsten,

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

David

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
>
>   [Doctrine\DBAL\Exception\ConnectionException]
>   An exception occured in driver: SQLSTATE[08006] [7] timeout expired
>  
>   [Doctrine\DBAL\Driver\PDOException]
>   SQLSTATE[08006] [7] timeout expired
>  
>   [PDOException]
>   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 ?
>  
> Cheers
> Karsten Vennemann
>
> Terra GIS LTD
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapbender_users

-- 
-----------------------------------------
Aufwind durch Wissen!
Qualifizierte Open-Source-GIS-Schulungen
bei der www.foss-academy.com
-----------------------------------------

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


More information about the Mapbender_users mailing list