On 23 Sep 2015 4:45 pm, "Bent Hansen" <[email protected]> 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.

The problem was not with your Tryton installation. Your PostgreSQL database
does not have a user called "tryton" set up yet. You can fix this by doing
a CREATE USER or CREATE ROLE query to make a tryton database user. Make
sure to set the password to the same as your config file uses and grant the
tryton user ownership/permissions for the datsbase.

Reply via email to