I’m finding voluminous documentation, but I’m not finding useful documentation, so identifying that would be quite helpful. I have some orientation questions. I have sufficient system admin experience to see that I probably have things configured mostly correctly, but as we all know, “mostly” ain’t “completely”.
I have installed PostgreSQL and it is using “peer authentication” which is possibly part of the problem. I don’t see how the authentication models are addressed. I have Apache running with “mod_wsgi_python3”. I see “python” listening on 8000 and postgreSQL on 5432. The big pieces are in place, but the plumbing is not working.
I fired up the Tryton client, and it looks like I should be able to define a profile, which I did, but my description is not sufficient for the client to happily connect, meaning even before I get to the authentication questions, I see that the server is non-responsive.
Docs would be great, but failing that, an answer would be even greater.
Ignoring Apache integration, for now. I have the development server running “trytond -c /etc/tryton/tryton.conf” on my desktop with postgresql. I see pgsql on port 5432 and I see python on port 8000. So far, so good.
I run the client and I create a profile, Server:localhost:8000, but the client never acknowledges connection to the server. Now, I suspect that server in question is postgresql, not the development web server, but I would appreciate a test that confirms this. Maybe a log entry, if I knew where the logs are kept.
So, this brings me to postgresql authentication. I am using “peer” authentication, but I suspect that is not correct. Is there a manual page explaining how I configure postgresql?
Before you log in you need to setup a database.
If you used trytond-admin to do this successfully and entered your e-mail address and admin password at the end, that means that with your configuration trytond can connect to the database.
Otherwise trytond-admin (or trytond) will complain on the command-line. If you need more verbosity try the -v flag.