On 2015-09-23 15:22, Bent Hansen wrote: > > > Den søndag den 20. september 2015 kl. 10.15.05 UTC+2 skrev Bent Hansen: > > > > I am running Ubuntu 14.04. Using Synaptic the Tryton server and client was > > installed including all modules. It just installed out of the box, no > > issues :-) The Tryton version is 3.02. and the demo is running fine. But > > when I try to create my own database using File -> Database -> New Database > > the "Tryton Server Password" is needed. The Server Connection is " > > demo3.0.tryton.org:8000". > > > > I have tried a lot of different passwords, but the result is always > > "Access denied!". Reading all the documentation I could find didn't help. > > So I would appreciate very much if any one could give me a hint? Or how can > > I use this installation for my own tasks? > > > > > Thanks a lot for the fine answers. I have added a password to > /etc/trytond.conf. Then the client was executed. The menu File -> Database > -> New Database was entered. Server connection was changed to > "localhost:8000", the password entered, a database name defined, an admin > password defined and confirmed. And then when the Create button is pressed > an error message window is displayed: > > "Error creating database! Can't create the database, caused by an unknown > reason. If there is a database created, it could be broken. Maybe drop this > database! Please check the error message for possible informations. Error > message: FATAL:role "tryton" does not exist". > > Maybe I have messed up something. So using Synaptic a complete removal of > Tryton was done. And afterwards using Synaptic Tryton was installed again. > But the error remains. > From the error message ( FATAL:role "tryton" does not exist) you could > assume that Tryton is not running. But as the demo executes fine it seems > to be running. Maybe I should try a manual installation.
I don't understand why you are still talking about the demo, it is a server hosting on the internet so it tells you nothing about your setup. The error message is pretty clear the role tryton doesn't exist on the database. So you have to create it or change the database connection of trytond to use correct credientials to the database (see http://doc.tryton.org/3.6/trytond/doc/topics/configuration.html#uri). -- Cédric Krier - B2CK SPRL Email/Jabber: [email protected] Tel: +32 472 54 46 59 Website: http://www.b2ck.com/
