On Tue, Dec 17, 2013 at 8:33 AM, Axel Braun <[email protected]> wrote:

> Am Montag, 16. Dezember 2013, 21:32:19 schrieb Mark van Deursen:
> > This means that the server host is IPv4 only.
> > So the problem is probably due to connection being blocked somewhere.
> > You should try first to connect to the server from the same host.
> >
> > OK. Thanks. I'll have to see how I'm going to that. It's the server
> version
> > of ubuntu so the GUI client isn't option.
>
> Check the network settings of you VM, if it can be accessed from outside
> (Bridged vs. NAT network)
>
> HTH
> Axel


Thanks Axal.
I made a mess of the installation and decided to do it all over.
These are my notes on installing trytond on ubuntu13.04. Maybe in can help
someone else.
BTW: I did not concern about security issues during the installation! It's
just for testing purposes!

= Install the following: =

 * vim
 * postgresql
 * python-dateutil
 * python-psycopg2
 * python-lxml
 * python-pip
 * sudo pip install relatorio
 * sudo pip install python-sql

 * mercurial

= Getting the sources =

hg clone http://hg.tryton.org/trytond

= Creating DB and user and changing some settings on Postgresql=

$ sudo su postgres -c "createuser --createdb --no-adduser -P vagrant"

$ sudo vim /etc/postgresql/9.1/main/pg_hba.conf
And add the follwong line at the bottom of the file:
host    all             all             0.0.0.0/0            md5

$ sudo vim /etc/postgresql/9.1/main/postgresql.conf
And change the following value

listen_addresses = '*'

= Restarting Postgresql =
$ sudo /etc/init.d/postgresql restart

= Config Tryton server =

$ vim trytond/etc/trytond.conf
Change settings (or uncomment) to the following values:

jsonrpc = 0.0.0.0:8000

db_type = postgresql

db_host = localhost
db_port = 5432
db_user = vagrant
db_password = vagrant

Now I can connect to the server with the OSX client. Well more or less...
I'm getting a 'Version not compatible'. But that's OK. I know the reason so
I should be able to get around that. (server is version 3.1.0, client is
3.0.1)

Thanks again for the input.

Reply via email to