health-dev
[Top][All Lists]
Advanced

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

Re: [Health-dev] error on DB-upgrade


From: Dr. Axel Braun
Subject: Re: [Health-dev] error on DB-upgrade
Date: Tue, 20 Jun 2017 15:52:36 +0200

Hi Luis,

> Gesendet: Montag, 19. Juni 2017 um 23:08 Uhr
> Von: "Luis Falcon" <address@hidden>
> An: "Axel Braun" <address@hidden>
> Cc: address@hidden
> Betreff: Re: [Health-dev] error on DB-upgrade
>
> Hi again, Axel !
> 
> Looking more closely at your output ...
> 
> On Mon, 19 Jun 2017 22:03:32 +0100
> Luis Falcon <address@hidden> wrote:
> 
> > >    
> > > > Please report any issues on this mailing list.    
> > > I'm getting error messages on upgrading an existing 3.0 database:
>  
> > > address@hidden:/mnt> psql gnuhealth30
> > > FEHLER:  Spalte »active« von Relation »gnuhealth_medicament«
> > > existiert nicht LINE 3: update gnuhealth_medicament set active=True;
> 
> medicament and health_professional are core models, so it looks to me
> that the DB you're trying to upgrade has not been loaded, or you don't
> have the permissions to those tables.

Good pont - the update should not be made as user psotgres (under whom 
postgresql runs) but under the owner of the database - gnuhealth or tryton. 
Then it works. I could migrate the 3.0 demo-DB to 3.2. trytond-admin 
ran...forever ;-)

Cheers
Axel 



reply via email to

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