My favorites | Sign in
Project Home Wiki Issues Source
Configuration and first start of Tryton
Featured, Phase-Deploy
Updated Dec 23, 2009 by


Install Tryton

see the OS specific page.

Setup a Database and User System

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

Start trytond

$ cd ~/workspace/tryton-dist/trytond
$ sudo su tryton -c "bin/trytond"

Configuration file

The configuration file of the server is in etc/trytond.conf

Start tryton

$ cd ~/workspace/tryton-dist/tryton
$ ./bin/tryton

Create a database

  • Cancel login window
  • Click on File>Database>New Database
  • Fill the form and click on Create
  • Login with the user "admin"
Comment by, Nov 18, 2008

what is the password of the user "admin" ?

Comment by, Nov 18, 2008

gloups, the password of the user "admin" is the one chosen at the precedant step while creating the database.

Comment by, Apr 13, 2011

I found that the default password of the user admin is admin. There was no prompt for a password. To nitpick, the --no-adduser argument really should be replaced with --no-createrole.

Comment by project member, Apr 14, 2011

The password is asked when you click on "File>Database>New Database"

Comment by, Jun 30, 2011

when i try to login, it says me:

Traceback (most recent call last):

File "/trytond/protocols/", line 47, in run
res = dispatch(host, port, 'NetRPC', msg)
File "/trytond/protocols/", line 127, in dispatch
res = getattr(obj, method)(cursor, user, args, kargs)
File "/trytond/model/", line 363, in search_read
AttributeError?: 'dict' object has no attribute 'append'

OS: Ubuntu 11 DB: PostgreSQL 9 Tryton 2.0.1 I don't know what to do...

Comment by project member, Jun 30, 2011

Please report issue on the bugtracker.

Comment by, Mar 9, 2012


How does one stop the trytond program from running?

Comment by, Jul 12, 2012

Is there a way to complete the setup wihtout using the tryton GUI?

Comment by, Jul 16, 2012

Yo can use as guide ti create new database from console.

First create a database named tryton with postgres user

$ sudo su - postgres $ psql $ psql> CREATE DATABASE tryton; $ psql> \q

Then do the same with user tryton and create your databases

Comment by, Jul 22, 2012

hello everybody.

I want to know.

If we have already create a database in tryton client/GUI, where the location for it database?

what the extensions for this database?

thank you for your help.

Comment by, Apr 26, 2013


Please guide me. In mywindows XP
DB Location

C:\Documents and Settings\XPMUser\.neso\2.8\ all are SQLite db as default from tryton client!! Tryton config file

C:\Program Files\neso-2.8.0\trytond\etc\trytond.conf

I've changed the following options but still unable to create an database in PostgreSQL.

# Configure the database type # allowed values are postgresql, sqlite, mysql--- Changed by Dutta 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 = gnuhealth db_password = gnuhealth db_minconn = 1 db_maxconn = 64

# Configure the postgresql path for the executable-- Changed by Dutta pg_path = "C:\Program Files\PostgreSQL\9.2\bin"

Comment by, Jul 15, 2013

hello, please guide me

therefore i wanna to tell u about my project,

i have completely setup trytond and client on debian squeeze 6.0.5 with around 30 try on a few weeks, i have done with create database with tryton on localhost:8000 with user:pass admin:admin. then i also done completely upgrade module gnuhealth-2.0.0 and all it work..

after that i was focus to take gnuhealth not from tryton but from web, my project is web service, i can't make a web service based on tryton, so i move to web development. then i have done with basicly function on my tiny web service. so the data was move and now i get to update my data from tryton exacly.

but unfortunely after a few days i never login with tryton when i focus on my web development.. so when i login yesterday. the pop up windows on tryton connect says "Cannot connect, Bad username or password"

i dont have any idea on that SHIT, and now i completely frustated because that my sistem succefully install all dependcy module to run all, and i'am afraid to begin from zero conditions,

please, one thousand please, i need any help to setup my tryton login again

regarda Anata Jue

Sign in to add a comment
Powered by Google Project Hosting