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: Maria Cecilia Santos Popper
Subject: Re: [Health] GnuHealth cannot create database nor connect to server
Date: Thu, 5 Feb 2015 09:30:17 -0300

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]