2016-08-30 49 views
0

我有一個問題,當我啓動trytond服務器後,我在瀏覽器中運行localhost:8000/index.html時,發現沒有找到任何頁面。我已成功安裝了trytond服務器。也安裝了tryton-sao網絡客戶端(運行npm install和grunt)。我可能會做錯什麼?tryton-sao web客戶端不啓動

Trytond.conf

# /etc/tryton/trytond.conf - Configuration file for Tryton Server (trytond) 

# This file contains the most common settings for trytond (Defaults 
# are commented). 
# For more information read 
# /usr/share/doc/packages/trytond 

[database] 
# Database related settings 

# The URI to connect to the SQL database (following RFC-3986) 
uri = sqlite:// 
# (Internal default: sqlite:// (i.e. a local SQLite database)) 


# The path to the directory where the Tryton Server stores files. 
# The server must have write permissions to this directory. 
# (Internal default: /var/lib/trytond) 


path = /var/lib/trytond 

[jsonrpc] 
# Settings for the JSON-RPC network interface 

# The IP/host and port number of the interface 
# (Internal default: localhost:8000) 

# Listen on all interfaces (IPv4) 


jsonpath_data = /var/tryton-sao-5b6089a3ffa3 

listen = localhost:8000 


# Listen on all interfaces (IPv4 and IPv6) 
listen = localhost:8000 

# The hostname for this interface 
hostname = localhost 

# The root path to retrieve data for GET requests 
data = jsondata 

timeout = 7000 
+0

你正在使用哪個trytond版本和sao版本? – pokoli

回答

0

根據您的配置,您必須tryton 3.8系列運行。 你在jsonrpc下的數據配置似乎是錯誤的。它應該是這樣的:

[jsonrpc] 
listen = localhost:8000 
data = /var/tryton-sao-5b6089a3ffa3