在从ppa:rayanayar/tryton3.0安装Tryton3.0之后,就像在https://gist.github.com/sharoonthomas/5857450上的gist脚本中一样,当我试图通过Tryton客户机创建一个新的数据库时,我总是会得到“错误的服务器密码”。
为什么会这样呢?我按规定在/etc/ the tond.conf中输入了全局数据库管理密码:
# Configure the Tryton server password
admin_passwd = my_admin_password我查过了
发布于 2014-03-03 14:43:53
太奇怪了。在将trytond.conf中的管理密码重置为标准" admin“之后,登录再次工作。
跳过了版本2.2中已知的“创建数据库”信息,创建了数据库,并在“配置数据库”对话框中再次询问密码(没有提示哪个密码),结果是本地数据库管理密码(即为新创建数据库的管理用户创建的密码)。
有点奇怪,但似乎在本地工作。然而,还没有通过互联网连接。
互联网连接也解决了。最终,Ubuntu安装(关于https://code.google.com/p/tryton/wiki/InstallationOnUbuntu)的文档(目前将用户推荐给Debian安装)将极大地受益于在安装中为Gentoo提供的附加细节,因为他们有实际的工作配置文件和postgre服务器设置,这是最终的决定性点。
见http://wiki.gentoo.org/wiki/Tryton。
我已经有了
# Activate the json-rpc protocol
jsonrpc = localhost:8000加上这个之后,它就像一种魅力:
配置数据库连接
## 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 = postgres
db_password = postgrsqlpassword
db_minconn = 1
db_maxconn = 64在我的例子中,我以tryton作为数据库用户,一些指令更喜欢这样做,显然是出于安全原因。通过使用postgres (PostgreSQL的内置主管理员)作为数据库用户,您可以避免将tryton角色添加到postgres (带有apt的标准包安装会自动添加iirc)。
https://stackoverflow.com/questions/22144754
复制相似问题