Thanks Axel but I still can't get it working. Maybe you or someone else can
help me?

I have the following setup:
- Client : Tryton 3.0.1 OSX
- Server : Ubuntu 13.04 on a virtual machine (Virtualbox setup with vagrant)
- Postgres 9.1

pg_hba.conf:
#
# Database administrative login by Unix domain socket
local   all             postgres                                peer

# TYPE  DATABASE        USER            ADDRESS                 METHOD

# "local" is for Unix domain socket connections only
#local   all             all                                     peer
local   all             all                                     md5
# IPv4 local connections:
#host    all             all             127.0.0.1/32            md5
host    all             all             0.0.0.0/0            md5
# IPv6 local connections:
host    all             all             ::1/128                 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local   replication     postgres                                peer
#host    replication     postgres        127.0.0.1/32            md5
#host    replication     postgres        ::1/128                 md5

...


postgres=# \du
                             List of roles
 Role name |                   Attributes                   | Member of
-----------+------------------------------------------------+-----------
 postgres  | Superuser, Create role, Create DB, Replication | {}
 vagrant   | Create role, Create DB                         | {}


...


This file is part of Tryton.  The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
[options]

# Activate the json-rpc protocol
jsonrpc = *:8000
#ssl_jsonrpc = False

# This is the hostname used when generating tryton URI
#hostname_jsonrpc =

# Configure the path of json-rpc data
#jsondata_path = /var/www/localhost/tryton

# Activate the xml-rpc protocol
#xmlrpc = *:8069
#ssl_xmlrpc = False

# Activate the webdav protocol
#webdav = *:8080
#ssl_webdav = False

# This is the hostname used when generating WebDAV URI
#hostname_webdav =

# Configure the database type
# allowed values are postgresql, sqlite, mysql
db_type = postgresql

# Configure the database connection
## Note: Only databases owned by db_user will be displayed in the
connection dialog
## of the Tryton client. db_user must have create permission for new
databases
## to be able to use automatic database creation with the Tryton client.
db_host = localhost
db_port = 5432
db_user = vagrant
db_password = vagrant
#db_minconn = 1
#db_maxconn = 64

# Configure the postgresql path for the executable
#pg_path = None

#Configure the Tryton server password
admin_passwd = admin

# Configure the path of the files for the pid and the logs
#pidfile = False
#logfile = False

#privatekey = server.pem
#certificate = server.pem

# Configure the SMTP connection
#smtp_server = localhost
#smtp_port = 25
#smtp_ssl = False
#smtp_tls = False
#smtp_password = False
#smtp_user = False
#smtp_default_from_email = False

# Configure the path to store attachments and sqlite database
#data_path = /var/lib/trytond

# Allow to run more than one instance of trytond
#multi_server = False

# Configure the session timeout (inactivity of the client in sec)
#session_timeout = 600

# Enable auto-reload of modules if changed
#auto_reload = True

# Prevent database listing
#prevent_dblist = False

# Enable cron
# cron = True

# unoconv connection
#unoconv = pipe,name=trytond;urp;StarOffice.ComponentContext

# Number of retries on database operational error
# retry = 5

# Default language code
# language = en_US


...


Server gets started by:

sudo su vagrant -c "bin/trytond"

When I try to connect to the running server I get "Could not connect to
server"  message. Does anyone know where to start to find the problem?






On Mon, Dec 16, 2013 at 1:59 PM, Axel Braun <[email protected]> wrote:

> Am Montag, 16. Dezember 2013, 13:51:24 schrieb Mark van Deursen:
> > Hello everybody,
> >
> > Can someone point me to up-to-date documentation about installing trytond
> > on ubuntu or debian?
>
> no :-)
> Check with Mathias Behrle, he maintains the debian packages
>
> > When possible with the right steps to take to create a DB with a user
> with
> > the right privileges and so on.
>
>
>
> http://code.google.com/p/tryton/wiki/InstallationonopenSUSE#Basic_setup_of_database
> and following are up to date
>
> HTH
> Axel

Reply via email to