health
[Top][All Lists]
Advanced

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

Re: [Health] GnuHealth cannot create database nor connect to server


From: Axel Braun
Subject: Re: [Health] GnuHealth cannot create database nor connect to server
Date: Thu, 05 Feb 2015 14:07:02 +0100
User-agent: K-9 Mail for Android

If I understand it right you need the PW and encryption just if you want to create databases from the Tryton client.
If you login as database administration and create the db, then initialize it for Tryton, you should be fine...
Schöne Grüße
Axel
--
Written from cell phone. Excuses for typos.

Am 5. Februar 2015 13:30:17 MEZ, schrieb Maria Cecilia Santos Popper <address@hidden>:
Hi!

I faced this problem too, so I was wondering if there is a way to set up the  encrypted password for the postgre user before running the ./trytond for the first time.
So far, as I understand, the sequence would be the following:

1. Create postgre user "gnuhealth" with no pasword
2. Install gnuhealth
3. Run serverpas.py and generate admin's encrypted password
4. Add password to postgre user "gnuhealth" psql -c "ALTER ROLE gnuhealth WITH ENCRYPTED PASSWORD 'YourPassword' ;"

5. Edit trytond.conf with postgre user password and encrypted admin password

Shouldn't it be:
1: Generate postgre user "gnuhealth:password"
2. Install gnuhealth
3. Run serverpas.py and generate admin's encrypted password
4. Edit trytond.conf with postgre user password and encrypted admin password


Does this make any sense? I would like to update the Spanish Documentation with this new step.

Thanks

reply via email to

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