# Setup web client with Debian 10

**URL:** <https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125>\
**Category:** System Administrator\
**Created:** [December 31, 2019, 7:29pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125 "2019-12-31T19:29:59Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 5, 2020, 12:48pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/41 "2020-02-05T12:48:23Z")

</div>

You mean i schould edit the /etc/tryton/trytond.conf?

> <https://pastebin.com/Jy058fXk>

Line 18+1

```auto
listen = 192.168.178.148:8000

```

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [February 5, 2020, 12:49pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/42 "2020-02-05T12:49:10Z")

</div>

Oh yes.. it is allow external to connect trytond

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 5, 2020, 12:57pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/43 "2020-02-05T12:57:06Z")

</div>

Now i get with **tryton-client (4.6.5-1)** “Incompatible Serverversion”.

> <https://pastebin.com/fjMcwu8V>

Now i added Line 19:

`listen = 192.168.178.150:8000`

I have a new Tryton-Server IP.

Did i need **tryton-client (5.0.5-1)** for **tryton-server (5.0.4-2)**?

My Kubuntu 18.04 use **tryton-client (4.6.5-1)**.

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [February 5, 2020, 1:03pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/44 "2020-02-05T13:03:16Z")

</div>

> [@trytfan](#):
>
> Version: 4.6.5-1

Thats mean your client different version.  
But good , at least connect to servwr is up

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 5, 2020, 1:05pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/45 "2020-02-05T13:05:51Z")

</div>

I don’t get any connection with **tryton-client (4.6.5-1)** or my mistake, i’m a noob.

> **[Ubuntu – Error](https://packages.ubuntu.com/disco/tryton-client)**

> **[Ubuntu – Error](https://packages.ubuntu.com/disco/all/tryton-client/download)**

tryton-client\_5.0.5-1\_all.deb

But i use Kubuntu 18.04.3.

Did i need **tryton-client (5.0.5-1)** for **tryton-server (5.0.4-2)**?

I’m not amusoused if i must use other reporsitorys as Kubuntu 18.04 reporsitorys.

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [February 5, 2020, 4:19pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/46 "2020-02-05T16:19:00Z")

</div>

> [@trytfan](#):
>
> Thank you, nice

Please use the same version as which you installed in your localserver.

> [@trytfan](#):
>
> Did i need **tryton-client (5.0.5-1)** for **tryton-server (5.0.4-2)**?

Yes, you need to use at least same version (5.0).

> [@trytfan](#):
>
> I don’t get any connection with **tryton-client (4.6.5-1)**

You already do the connection. Because you get the feedback from server to tell you “incompatible version”

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 6, 2020, 9:42am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/47 "2020-02-06T09:42:36Z")

</div>

This /etc/tryton/trytond.conf is ok:

```
[web]
# Settings for the web interface

# The IP/host and port number of the interface
# (Internal default: localhost:8000)
#
# Listen on all interfaces (IPv4)
#listen = 0.0.0.0:8000
listen = 192.168.178.150:8000
#listen = 192.168.178.144:8000
#
# Listen on all interfaces (IPv4 and IPv6)
#listen = [::]:8000

# The hostname for this interface
#hostname = 

# The root path to retrieve data for GET requests
# (i.e. namely the path to the web client)
# (Internal default: /var/www/localhost/tryton)
root = /usr/share/tryton-sao/www

# The number of proxy servers in front of trytond.
#num_proxies = 0

```

Now i add a second listen ip-adress (192.168.178.144:8000):

````
```
# The IP/host and port number of the interface
# (Internal default: localhost:8000)
#
# Listen on all interfaces (IPv4)
#listen = 0.0.0.0:8000
listen = 192.168.178.150:8000
listen = 192.168.178.144:8000
#
# Listen on all interfaces (IPv4 and IPv6)
#listen = [::]:8000

# The hostname for this interface
#hostname = 

# The root path to retrieve data for GET requests
# (i.e. namely the path to the web client)
# (Internal default: /var/www/localhost/tryton)
root = /usr/share/tryton-sao/www

# The number of proxy servers in front of trytond.
#num_proxies = 0
```

````

If i now start Tryton

```
sudo service tryton-server start

```

Check:

```
sudo service tryton-server status
● tryton-server.service - Tryton Server WSGI App
   Loaded: loaded (/lib/systemd/system/tryton-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2020-02-06 10:47:51 CET; 7s ago
     Docs: man:trytond,file:/usr/share/doc/tryton-server,file:/usr/share/doc/tryton-server-doc,http:doc/tryton.org/
  Process: 1353 ExecStart=/usr/bin/trytond --config /etc/tryton/trytond.conf --logconf /etc/tryton/trytond_log.conf (code=exited, status=1/
 Main PID: 1353 (code=exited, status=1/FAILURE)

Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Failed with result 'exit-code'.
Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Service RestartSec=100ms expired, scheduling restart.
Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Scheduled restart job, restart counter is at 5.
Feb 06 10:47:51 debian systemd[1]: Stopped Tryton Server WSGI App.
Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Start request repeated too quickly.
Feb 06 10:47:51 debian systemd[1]: tryton-server.service: Failed with result 'exit-code'.
Feb 06 10:47:51 debian systemd[1]: Failed to start Tryton Server WSGI App.

```

How can i add a second listen ip-address?

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [February 6, 2020, 10:34am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/48 "2020-02-06T10:34:20Z")

</div>

> [@trytfan](#):
>
> How can i add a second listen ip-address?

You must run a second process or use an other wsgi server than the embeded one.

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 6, 2020, 12:53pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/49 "2020-02-06T12:53:47Z")

</div>

Back to topic.

> [@Setup web client with Debian 10](https://discuss.tryton.org/t/sao-with-debian-10-package/2125/22):
>
> Hello, should with tutorial work? [https://tecadmin.net/install-postgresql-server-on-ubuntu/](https://tecadmin.net/install-postgresql-server-on-ubuntu/)[http://blog.accendero.com/open-source-erp-solutions-part-four-tryton/](http://blog.accendero.com/open-source-erp-solutions-part-four-tryton/)

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 6, 2020, 12:55pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/50 "2020-02-06T12:55:38Z")

</div>

_Back to topic_

**Installing sao** 2020-02-06T00:00:00Z

> step by step:
> 
> ```
> Have you installed trytond? which you said version 5.0.4-2.
> Is it able to run with GTK client?
> Do you know where is your trytond.conf file located?
> if 3 above you are knowing and working, then below steps for sao.
> 
> ```
> 
> prerequeste:
> 
> ```
> nodejs 8 and above
> npm
> 
> ```
> 
> Steps:
> 
> ```
> mkdir ~/trytond
> cd trytond
> git clone --single-branch --branch 5.0 https://github.com/tryton/sao.git
> cd sao
> npm install -g bower
> npm install -g po2json
> npm install grunt-po2json
> npm install
> grunt
> 
> ```
> 
> After above steps done:  
> Please go to your trytond.conf
> 
> [web]  
> root = ~/trytond/sao  
> hostname = localhost  
> listen = 0.0.0.0:8000
> 
> ```
> root=~/trytond/sao --> assume you run with same user else use the full path
> 
> ```
> 
> then run your trytond server.
> 
> open your browser should be able to go sao by accessing with port :8000

The follow is ok:

```auto
if 3 above you are knowing and working, then below steps for sao.

```

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 7, 2020, 8:36am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/51 "2020-02-07T08:36:06Z")

</div>

prerequeste:

```
sudo apt install nodejs
nodejs -v
v10.15.2

sudo apt install npm
npm -v
5.8.0

```

Installing git

`sudo apt install git`

Step01

```
mkdir ~/trytond
cd trytond
git clone --single-branch --branch 5.0 https://github.com/tryton/sao.git
cd sao
npm install -g bower

```

than i get:

```
sudo npm install -g bower
npm WARN npm npm does not support Node.js v10.15.2

```

I will try with solution:

http s://github.com/nodejs/help/issues/1877

```
sudo apt install curl
curl https://www.npmjs.com/install.sh | sudo sh

```

than it works

```
sudo npm install -g bower
npm WARN deprecated bower@1.8.8: We don't recommend using Bower for new projects. Please consider Yarn and Webpack or Parcel. You can read how to migrate legacy project here: https://bower.io/blog/2017/how-to-migrate-away-from-bower/
/usr/local/bin/bower -> /usr/local/lib/node_modules/bower/bin/bower
+ bower@1.8.8
updated 1 package in 2.806s

```

next problem

```
sudo npm install -g po2json
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
/usr/local/bin/po2json -> /usr/local/lib/node_modules/po2json/bin/po2json
+ po2json@0.4.5
added 11 packages from 15 contributors in 1.938s

```

> **[How to Install Latest Node.Js on Debian 12/11/10](https://tecadmin.net/install-latest-nodejs-npm-on-debian/)**
>
> 2 minute installation guide for nodejs on Debian. How to Install Latest Node.js & npm on Debian Linux.

Now i have:

```
node -v
v12.15.0
 npm -v
6.13.4

```

My http s://tecadmin.net/install-latest-nodejs-npm-on-debian/ is starting.

> access **[http://127.0.0.1:3000/](http://127.0.0.1:3000/)** url in browser.

I get **Hello World** in my browser-

It doesn’t solved my Tryton problem.

Can you please help me?

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [February 7, 2020, 9:58am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/52 "2020-02-07T09:58:19Z")

</div>

> [@trytfan](#):
>
> next problem

Why are you saying there is a problem? I see no problem in this log.

By the way, you do not need to install each dependencies manually, you just need to run `npm install` in the sao folder.

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 7, 2020, 10:09am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/53 "2020-02-07T10:09:05Z")

</div>

Hello ced,  
thank you,  
, if i read “ **WARN deprecated** ” i think, i have a problem.

`npm install`

> <https://pastebin.com/XtwMtBBX>

What is my next step to get sao support?

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [February 7, 2020, 10:13am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/54 "2020-02-07T10:13:15Z")

</div>

> [@trytfan](#):
>
> Hello, if i read “ **WARN deprecated** ” i think, i have a problem.

Warning is not a problem, it is just a warning. In Javascript world everything is deprecated faster than a wink.

> [@trytfan](#):
>
> What is my next step to get sao support?

Nothing just connect to it.

PS: Please avoid using temporary URL, it will prevent a reader later to understand the conversation.

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 7, 2020, 10:40am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/55 "2020-02-07T10:40:00Z")

</div>

> [@ced](#):
>
> avoid using temporary URL

Hello, what did you mean? [pastebin.com](http://pastebin.com) ?

My new trytond.conf: (added line 24., 25.,26.)

`sudo cat /etc/tryton/trytond.conf`

> <https://pastebin.com/kn4Vzgqn>

```
root = ~/trytond/sao
hostname = localhost
listen = 0.0.0.0:8000

```

Is the /etc/tryton/trytond.conf ok?

`sudo service tryton-server stop`

new start to get the new value

`sudo trytond -c /etc/tryton/trytond.conf`

Which browser address must i use to get sao support?

Problem:

```
sudo service tryton-server status
● tryton-server.service - Tryton Server WSGI App
   Loaded: loaded (/lib/systemd/system/tryton-server.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2020-02-07 11:56:24 CET; 2s ago
     Docs: man:trytond,file:/usr/share/doc/tryton-server,file:/usr/share/doc/tryton-server-doc,http:doc/tryton.org/
  Process: 1579 ExecStart=/usr/bin/trytond --config /etc/tryton/trytond.conf --logconf /etc/tryton/trytond_log.conf (code=exited, status=1/
 Main PID: 1579 (code=exited, status=1/FAILURE)

Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Main process exited, code=exited, status=1/FAILURE
Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Failed with result 'exit-code'.
Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Service RestartSec=100ms expired, scheduling restart.
Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Scheduled restart job, restart counter is at 5.
Feb 07 11:56:24 debian systemd[1]: Stopped Tryton Server WSGI App.
Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Start request repeated too quickly.
Feb 07 11:56:24 debian systemd[1]: tryton-server.service: Failed with result 'exit-code'.
Feb 07 11:56:24 debian systemd[1]: Failed to start Tryton Server WSGI App.
lines 1-15/15 (END)

```

---

<div class="post-metadata">

**Author:** ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)\
**Post date:** [February 7, 2020, 11:14am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/56 "2020-02-07T11:14:06Z")

</div>

> [@trytfan](#):
>
> Hello, what did you mean? [pastebin.com](http://pastebin.com) ?

Yes it is junk URL as the name says.

> [@trytfan](#):
>
> Is the /etc/tryton/trytond.conf ok?

I doubt because because you are using environment variable to link to sao folder which is not supported.  
And I doubt that you put the directory really in the user home of the user running trytond as you are using Debian packages which probably uses a dedicated user for that.  
So please use absolute path and ensure trytond user has access to it.

> [@trytfan](#):
>
> sudo service tryton-server status

Running with systemd hide all the error messages. So you must fetch from systemd the error message (I do not know how to do that because I never use systemd).

> [@trytfan](#):
>
> Which browser address must i use to get sao support?

The address of the server on port 8000 as you configured in the `listen`.

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 7, 2020, 11:21am UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/57 "2020-02-07T11:21:29Z")

</div>

My /etc/tryton/trytond.conf

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

# (trytond, trytond-admin, trytond-cron)

#

# This file contains the most common settings for trytond (Defaults

# are commented).

# For more information install the tryton-server-doc package and read

# /usr/share/doc/tryton-server-doc/html/index.html

# and accordingly

# /usr/share/doc/tryton-server-doc/html/topics/configuration.html

 

[web]

# Settings for the web interface

 

# The IP/host and port number of the interface

# (Internal default: localhost:8000)

#

# Listen on all interfaces (IPv4)

#listen = 0.0.0.0:8000

listen = 192.168.178.150:8000

#listen = 192.168.178.144:8000

#

# Listen on all interfaces (IPv4 and IPv6)

# listen = [:::]:8000

root = ~/trytond/sao

hostname = localhost

listen = 0.0.0.0:8000

 

# The hostname for this interface

#hostname =

 

# The root path to retrieve data for GET requests

# (i.e. namely the path to the web client)

# (Internal default: /var/www/localhost/tryton)

root = /usr/share/tryton-sao/www

 

# The number of proxy servers in front of trytond.

#num_proxies = 0

 

[database]

# Database related settings

 

# The URI to connect to the SQL database (following RFC-3986)

# uri = database://username:password@host:port/

# (Internal default: sqlite:// (i.e. a local SQLite database))

#

# PostgreSQL via Unix domain sockets

# (e.g. PostgreSQL database running on the same machine (localhost))

#uri = postgresql://tryton:tryton@/

#

# PostgreSQL via TCP/IP

# (e.g. connecting to a PostgreSQL database running on a remote machine or

# by means of md5 authentication. Needs PostgreSQL to be configured to accept

# those connections (pg_hba.conf).)

#uri = postgresql://tryton:tryton@localhost:5432/

uri = postgresql://tryton_test:tryton_test@localhost:5432/

 

# 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/tryton

 

# Shall available databases be listed in the client?

#list = True

 

# The number of retries of the Tryton Server when there are errors

# in a request to the database

#retry = 5

 

# The primary language, that is used to store entries in translatable

# fields in the database.

#language = en

 

[request]

# The maximum size in bytes for unauthenticated requests (zero means no limit).

#max_size = 2MB

 

# The maximum size in bytes of an authenticated request (zero means no limit).

#max_size_authenticated = 2GB

 

[ssl]

# SSL settings

# Activation of SSL for all available protocols.

# Uncomment the following settings for key and certificate.

# SSL is activated by defining privatekey.

 

# The path to the private key

#privatekey = /etc/ssl/private/ssl-cert-snakeoil.key

 

# The path to the certificate

#certificate = /etc/ssl/certs/ssl-cert-snakeoil.pem

 

[session]

# Session settings

 

# A comma separated list of login methods to use for user authentication.

# By default, Tryton supports only the password method which compares the

# password entered by the user against a stored hash.

# Other modules may define other methods (please refer to their documentation).

# The methods are tested following the order of the list.

#authentications = password

 

# The time (in seconds) until a session expires.

#max_age = 2592000 # (30 days)

 

# The time (in seconds) until an inactive session is considered invalid for

# special internal tasks, thus requiring to re-confirm the session.

#timeout = 300 # (5 minutes)

 

# The maximal number of authentication attempts before the server answers

# unconditionally 'Too Many Requests'.

# The counting is done on all attempts over one period of timeout.

#max_attempt = 5

 

# The maximal number of authentication attempts from the same network before

# the server answers unconditionally 'Too Many Requests'.

# The counting is done on all attempts over a period of timeout.

#max_attempt_ip_network = 300

 

# The network prefix to apply on IPv4 addresses when counting authentication attempts.

#ip_network_4 = 32

 

# The network prefix to apply on IPv6 addresses when counting authentication attempts.

#ip_network_6 = 56

 

[password]

# The minimal length required for user passwords.

#length = 8

 

# The path to a file containing one forbidden password per line.

#forbidden =

 

# The ratio of non repeated characters for user passwords.

#entropy = 0.75

 

# The time (in seconds) until a reset password expires.

#reset_timeout = 86400 # (24h)

 

# The path to the INI file to load as CryptContext:

# <https://passlib.readthedocs.io/en/stable/narr/context-tutorial.html#loading-saving-a-cryptcontext>

# If no path is set, Tryton will use the schemes `bcrypt` or `pbkdf2_sha512`.

#passlib = None

 

[email]

# Mail settings

 

# The URI to connect to the SMTP server.

# Available protocols are:

# - smtp: simple SMTP

# - smtp+tls: SMTP with STARTTLS

# - smtps: SMTP with SSL

#uri = smtp://localhost:25

 

# The From address used by the Tryton Server to send emails.

#from = tryton@localhost

 

[attachment]

# Defines how to store the attachments

# A boolean value to store attachment in the FileStore.

#filestore=True

 

# The prefix to use with the FileStore.

#store_prefix = None

 

[bus]

# Allow clients to subscribe to bus channels (Boolean).

#allow_subscribe = False

 

# The time (in seconds) to keep the connection to the client open

# when using long polling for bus messages.

#long_polling_timeout = 300

 

# The time (in seconds) a message should be kept in the queue

# before being discarded.

#cache_timeout = 300

 

# The timeout (in seconds) for the select call when listening

# on a channel.

#select_timeout = 5

 

# Let the worker queue handle bus messages

#queue = False

 

# Define the class to use when queue is set to True

#class = trytond.bus.LongPollingBus

  

# Special Settings

[cache]

# Various cache size settings

 

# The number of different models kept in the cache per transaction.

#model = 200

 

# The number of loaded records kept in the cache. It can also be changed

# locally using the _record_cache_size key in Transaction.context.

#record = 2000

 

# The number of fields to load with eager Field.loading.

#field = 100

 

# The minimum number of seconds between two cleanings of the cache.

#clean_timeout = 300

 

[queue]

# Activate asynchronous processing of the tasks. Otherwise they are performed at the end of the requests.

#worker = False

 

[table]

# This section allows to override the default generated table names. The main purpose

# is to bypass name length limitations of a database backend.

# Examples:

#account.invoice.line = acc_inv_line

#account.invoice.tax = acc_inv_tax

  

# Module settings

#

# Some modules are reading configuration parameters from this

# configuration file. These settings only apply when those modules

# are installed.

#

[account_fr_chorus]

# The private key to communicate with the chorus service.

#privatekey =

 

# The certficate to communicate with the chorus service.

#certificate =

 

# Target URL of the Chorus service

#url = https://chorus-pro.gouv.fr:5443

 

[ldap_authentication]

# The LDAP URL to connect to the server following RFC-2255.

#uri = ldap://host:port/dn?attributes?scope?filter?extensions

# A basic default URL could look like

#uri = ldap://localhost:389/

 

# The LDAP password used to bind if needed.

#bind_pass =

 

# If the LDAP server is an Active Directory.

#active_directory = False

 

# The UID attribute for authentication.

#uid = uid

 

# If the user shall be created in the database in case it does not exist.

#create_user = False

 

[sms_authentication]

# The fully qualified name of the method to send SMS. It must take three

# arguments: text, to and from.

#

# - The sms method just sends a code via SMS to the user. This code can directly

# be used in the login dialog.

# - The password_sms method sends a code only after the user entered a valid

# password (two-factor authentication).

#

# Both methods require that the user has a *mobile* phone number defined

# otherwise he can not be authenticated with those methods.

#

# This method is required to send SMS.

#function =

 

# The number from which the SMS are sent.

#from =

 

# The length of the generated code.

#length = 6

 

# The time to live for the generated codes in seconds.

#ttl = 300

 

# The name used in the SMS text.

#name = Tryton

 

[product]

# The number of decimals with which the unit prices are stored

# in the database. The default value is 4.

# Warning: This setting can not be lowered once a database is created.

#price_decimal = 4

```

Duplicate for better reading:

> <https://pastebin.com/TwJbyf1H>

What should i change to get sao support?  
Which line?

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [February 7, 2020, 2:52pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/58 "2020-02-07T14:52:48Z")

</div>

FYI, if install production, it will need to install po2json in global for convert the .po file.  
This is my experience, I do not know whether need to put in the Git installation procedure

> [@trytfan](#):
>
> npm install -g po2json

---

<div class="post-metadata">

**Author:** ![bala4901](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/b/fbc32d/32.png) [@bala4901](https://discuss.tryton.org/u/bala4901)\
**Post date:** [February 7, 2020, 2:54pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/59 "2020-02-07T14:54:46Z")

</div>

Hi Trytfan,

My example that if you running as the user.  
But if you using sudo to run, so I suggest you to use full path  
example: /home//trytond/sao

> [@trytfan](#):
>
> root = ~/trytond/sao

---

<div class="post-metadata">

**Author:** ![trytfan](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/t/f19dbf/32.png) [@trytfan](https://discuss.tryton.org/u/trytfan)\
**Post date:** [February 7, 2020, 3:59pm UTC](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125/60 "2020-02-07T15:59:50Z")

</div>

Hello, i want to install a production Tryton system.

```
sudo npm install -g po2json
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
/usr/local/bin/po2json -> /usr/local/lib/node_modules/po2json/bin/po2json
+ po2json@0.4.5
updated 1 package in 0.942s

```

Firefox:

`http://localhost:8000/`

Firefox-Screen:

#########################################

# Method Not Allowed

The method is not allowed for the requested URL.

#########################################

…  
I want to use Tryton as a user.

How must i edit my /etc/tryton/trytond.conf?

Please answer with a code and a line number.

Thank you.

It looks so easy, but i have many trouble. ☹ ----\>

[http://blog.accendero.com/open-source-erp-solutions-part-four-tryton/](http://blog.accendero.com/open-source-erp-solutions-part-four-tryton/)

[Previous page](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125.md?page=2)

[Next page](https://discuss.tryton.org/t/setup-web-client-with-debian-10/2125.md?page=4)
