[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Unable to connect

From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Unable to connect
Date: Mon, 1 Dec 2014 22:55:02 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

Hello Peter,

> I am a Ubuntu 14.04 user and am trying to make a database for my General
> Practice in Greece.
> I am not very good with the programming aspects.
> I have not been able to connect to the v19 database locally
> I attatch a log file of me 2nd bootstrapping attempt

Looking at your log it seems you don't have the pg_trgm
extension installed:

> 2014-12-01 20:28:21  DEBUG     gm.bootstrapper 
> (/var/lib/gnumed/Gnumed/pycommon/ #233): create extension if 
> not exists pg_trgm with schema pg_catalog
> 2014-12-01 20:28:21  ERROR     gm.bootstrapper 
> (/var/lib/gnumed/Gnumed/pycommon/ #238): 
> ../sql/v18-v19/superuser/v19-install-pg_trgm.sql:11: could not open extension 
> control file "/usr/share/postgresql/9.3/extension/pg_trgm.control": No such 
> file or directory
> 2014-12-01 20:28:21  ERROR     gm.bootstrapper 
> (./ #1482): failed to import 
> [../sql/v18-v19/superuser/v19-install-pg_trgm.sql]

And indeed:

> 2014-12-01 20:28:21  DEBUG     gm.db 
> (/var/lib/gnumed/Gnumed/pycommon/ #1858): PG 
> extension: (plpgsql,1.0,"PL/pgSQL procedural language")

Please do:

        sudo apt-get install postgresql-contrib

and redo the bootstrapping.

GPG key ID E4071346 @
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346

reply via email to

[Prev in Thread] Current Thread [Next in Thread]