You give one with these commands :
/sudo su postgres//
//psql -U postgres -c "ALTER ROLE gnuhealth ENCRYPTED PASSWORD 'gnuhealth' ;"/

Le 31/01/2015 19:36, Maria Cecilia Santos Popper a écrit :
Oh! I see what you mean.

But I don't remember setting any password form the pustgre user "gnuhealht" is there a way I can find out what that password is?

On Sat, Jan 31, 2015 at 3:15 PM, Mouhamed Moustapha Diouf <mdi...@baamtu.com <mailto:mdi...@baamtu.com>> wrote:

    No it's not related to using vm, it's what I'm doing. For very
    that the user and password you put in the uri have correct permissions
    Le 31/01/2015 19:12, Maria Cecilia Santos Popper a écrit :
    Hi Mouhamed,
    Yes! I have added the header
    [database]
    uri=postgresql://user:password@localhost:5432

    [session]
    super_pwd="output from script"
    Then I've used the password I typed in the client.
    But still notheing

    I have the same problem with another vm running tryton server and
    tryton cliente. Could it be related to the fact thay I'm using a vm?
    I think is is a postgrsql permissions issue....

    On Sat, Jan 31, 2015 at 3:07 PM, Mouhamed Moustapha Diouf
    <mdi...@baamtu.com <mailto:mdi...@baamtu.com>> wrote:

        Hi Maria,
        have you change the database config in
        /home/gnuhealth/gnuhealth/tryton/server/config/trytond.conf?
        Le 31/01/2015 19:00, Maria Cecilia Santos Popper a écrit :
        Hi there!

        I'm testing RC3 on a virtual machine with Lubuntu 14.04.
        The installation process wen ok until the last step where
        the craklib could not be installed so I installed it manualy.

        I was able to run gnuhealth server and tryton client to
        connect to the community server.
         But when I tried to generate my own local database, I tried
        to run severpass.py
        I get the following:

        TRYTOND_CONFG= variable no set and No configuration file
        specified

        I also tried with the encryption script provided by the
        official tryton docs
        python -c 'import getpass,crypt,random,string; print 
crypt.crypt(getpass.getpass(), "".join(random.sample(string.ascii_letters + 
string.digits, 8)))'
        But got the "wrong pswd" ERROR
        Any idea of what could I be doing wrong?
        I know this is not such a big contribution, but I'm stuck
        with this since this morning!

        Txs

        On Wed, Jan 28, 2015 at 9:59 AM, Luis Falcon <fal...@gnu.org
        <mailto:fal...@gnu.org>> wrote:

            Hi Axel !
            On Wed, 28 Jan 2015 12:30:49 +0100
            "Axel Braun" <axel.br...@gmx.de
            <mailto:axel.br...@gmx.de>> wrote:

            > Hi Luis,
            >
            > > Gesendet: Mittwoch, 28. Januar 2015 um 11:52 Uhr
            > > Von: "Luis Falcon" <fal...@gnu.org
            <mailto:fal...@gnu.org>>
            > > An: "Axel Braun" <axel.br...@gmx.de
            <mailto:axel.br...@gmx.de>>
            > > Cc: health-dev@gnu.org <mailto:health-dev@gnu.org>
            > > Betreff: Re: [Health-dev] Important tests for
            upcoming GNU Health
            > > 2.8
            >
            > ...
            >
            > > > > * Digital signatures (vital records,
            prescriptions and patient
            > > > >  evaluations ). Please check the workflows are OK
            > > >
            > > > Can you point me to the documentation on how to
            set it up in
            > > > GNUHealth?
            > >
            > > You need to install health_crypto module.
            >
            > Done, bundled with the Tryton client 3.2 and 3.4
            (openSUSE)
            Great :)
            >
            > > Then check the vital records (Demographics -> Birth
            and Death
            > > Certificates ) or directly from Party -> Related
            Action (Birth /
            > > Death certs ).
            >
            > One step back please:
            > I created a new health professional.
            > Does the professional have to create his own set of
            keys? [I assume
            > yes, on the operating system level] How is the key
            management
            > handled, where do I import his secret key?
            No need to import anything.

            Signing the GNU Health document with your private key is
            done with the
            GNU Health GPG crypto plugin for the Tryton client. It
            retrieves your
            gnupg key from your client. Of course, you have to have
            an existing
            key-pair.

            I will document this section today.

            Best,

            >
            > Thanks
            > Axel
            >





-- Lic. Cecilia Santos Popper
        Santa Fe
        (0342) 154 440 615
        www.linkedin.com/in/ceciliasp/
        <http://www.linkedin.com/in/ceciliasp/>


--
        Baamtu: Imaginez et ensemble nous réalisons.

                *Mohamed Moustapha DIOUF - mdi...@baamtu.com
        <mailto:mdi...@baamtu.com>*
        Baamtu Sénégal / France
        Directeur Général
        Tél (FR): +33 6.03.84.29.76
        Tél : +221 77.092.34.34
        Tél : +221 77.552.21.42
        http://www.baamtu.com




-- Lic. Cecilia Santos Popper
    Santa Fe
    (0342) 154 440 615
    www.linkedin.com/in/ceciliasp/
    <http://www.linkedin.com/in/ceciliasp/>


--
    Baamtu: Imaginez et ensemble nous réalisons.

        *Mohamed Moustapha DIOUF - mdi...@baamtu.com
    <mailto:mdi...@baamtu.com>*
    Baamtu Sénégal / France
    Directeur Général
    Tél (FR): +33 6.03.84.29.76
    Tél : +221 77.092.34.34
    Tél : +221 77.552.21.42
    http://www.baamtu.com




--
Lic. Cecilia Santos Popper
Santa Fe
(0342) 154 440 615
www.linkedin.com/in/ceciliasp/ <http://www.linkedin.com/in/ceciliasp/>


--

Baamtu: Imaginez et ensemble nous réalisons.

        *Mohamed Moustapha DIOUF - mdi...@baamtu.com*
Baamtu Sénégal / France
Directeur Général
Tél (FR): +33 6.03.84.29.76
Tél : +221 77.092.34.34
Tél : +221 77.552.21.42
http://www.baamtu.com

Reply via email to