version du serveur incompatble - server version not compatible

99 views
Skip to first unread message

Armand

unread,
Sep 30, 2016, 3:41:34 PM9/30/16
to tryton
Dear community,

I need again your priceless assistance. I managed to install my trytond server on an OpenSuse Leap 42.1 server using the pre-build packages. Everything went well (I thought). I can connect to the server locally but I can't connect from a remote Windows PC. Here are my configuration details:

Server: OpenSuse Leap 42.1
trytond server version 4.0.4
Tryton client on server version 4.0.4

OS on remote PC: Windows 10 professional
Tryton client on PC version 4.04

Here is my trytond.conf config file:



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

[database]
uri = postgresql:///

#path = /var/lib/tryton
path = /pgdata
list = True
language = fr_FR


[jsonrpc]
listen = 0.0.0.0:8000

super_pwd = VuHr9IM7n9qzM

Kind regards

Armand


Cédric Krier

unread,
Oct 1, 2016, 3:20:03 AM10/1/16
to tryton
On 2016-09-30 12:41, Armand wrote:
> [jsonrpc]
> listen = 0.0.0.0:8000
>
> super_pwd = VuHr9IM7n9qzM

This are no more valid configuration section.
See http://doc.tryton.org/4.0/trytond/doc/topics/configuration.html#web

--
Cédric Krier - B2CK SPRL
Email/Jabber: cedric...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

Armand Mpassy-Nzoumba

unread,
Oct 1, 2016, 6:26:48 AM10/1/16
to Tryton List
Dear Cedric,


This are no more valid configuration section.
See http://doc.tryton.org/4.0/trytond/doc/topics/configuration.html#web

Thank you for your assistance. I'll correct the installation with the new config file. Do we have an exemple somewhere if possible with the web client configuration?

Axel:
I got the exemple config file from the OpenSuse installation. 

Kind regards,

Armand 

Axel Braun

unread,
Oct 1, 2016, 6:40:53 AM10/1/16
to try...@googlegroups.com
I need to take a look where the difference to my (working) 4.0 installation
is.

For the web client, read the information in
/usr/share/doc/packages/trytond/tryton-server.README.SUSE
and
/usr/share/doc/packages/tryton-sao/tryton-sao.README.SUSE

Cheers
Axel

Axel Braun

unread,
Oct 1, 2016, 9:12:31 AM10/1/16
to try...@googlegroups.com, Armand Mpassy-Nzoumba
Hi Armand,

Am Samstag, 1. Oktober 2016, 11:26:38 schrieb Armand Mpassy-Nzoumba:

I cross checked the config settings.
My working trytond.conf for 4.0 uses:
uri = postgresql:///
path = /var/lib/tryton
listen = [::]:8000

-> the last parameter seems to be the only difference

Cheers
Axel

Armand Mpassy-Nzoumba

unread,
Oct 1, 2016, 11:05:49 AM10/1/16
to Axel Braun, Tryton List
Hi Axel

On Sat, Oct 1, 2016 at 2:12 PM, Axel Braun <axel....@gmx.de> wrote:

I cross checked the config settings.
My working trytond.conf for 4.0 uses:
uri = postgresql:///
path = /var/lib/tryton
listen = [::]:8000

-> the last parameter seems to be the only difference

Cheers
Axel

Thank you so much for your prompt feedback. 
I'll test it and I'll let you know.
Cheers
Armand

Armand Mpassy-Nzoumba

unread,
Oct 3, 2016, 12:49:29 PM10/3/16
to Axel Braun, Tryton List
Hi Axel,


On Sat, Oct 1, 2016 at 2:12 PM, Axel Braun <axel....@gmx.de> wrote:

I cross checked the config settings.
My working trytond.conf for 4.0 uses:
uri = postgresql:///
path = /var/lib/tryton
listen = [::]:8000

-> the last parameter seems to be the only difference

It worked. I am now able to connect to the database from a remote machine.
The problem was indeed due to the wrong version of the database.
However I can't connect via the web.
Do you have any sample config file for it as well?

Thank you so much for your assistance.

Kind regards,

Armand

Axel Braun

unread,
Oct 3, 2016, 1:35:34 PM10/3/16
to try...@googlegroups.com
Hi Armand,

Am Montag, 3. Oktober 2016, 17:49:27 schrieb Armand Mpassy-Nzoumba:
> On Sat, Oct 1, 2016 at 2:12 PM, Axel Braun <axel....@gmx.de> wrote:
> >> I cross checked the config settings.
> >> My working trytond.conf for 4.0 uses:
> >> uri = postgresql:///
> >> path = /var/lib/tryton
> >> listen = [::]:8000
> >>
> >> -> the last parameter seems to be the only difference
>
> It worked. I am now able to connect to the database from a remote machine.

Good.....

> The problem was indeed due to the wrong version of the database.
> However I can't connect via the web.
> Do you have any sample config file for it as well?

Can you connect via Web-Frontend from the sdame computer? Then it may be an
issue with the firewall.
For the rest, the only thing to be done is to set the correct path in
[jsonrpc]. If you install from the package:

# The root path to retrieve data for GET requests
data = /usr/lib/node_modules/tryton-sao

..otherwise there, where the sao-files are installed

HTH
Axel

Armand Mpassy-Nzoumba

unread,
Oct 3, 2016, 7:51:40 PM10/3/16
to Tryton List
Hi Axel

On Mon, Oct 3, 2016 at 6:35 PM, Axel Braun <axel....@gmx.de> wrote:
Hi Armand,



Can you connect via Web-Frontend from the sdame computer? Then it may be an
issue with the firewall.
For the rest, the only thing to be done is to set the correct path in
[jsonrpc]. If you install from the package:

# The root path to retrieve data for GET requests
data = /usr/lib/node_modules/tryton-sao

..otherwise there, where the sao-files are installed

I can't connect from the localhost. I still get the following error message:

Internal Server Error

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

Here is my config related to tryton-sao. I also recall that the [jsonrpc] is no longer valid under tryton 4.0. 

 [web]
listen = [::]:8000
root = /usr/lib/node_modules/tryton-sao/

I am not an expert of tryton yet. However I came across the link of the  tryton-sao ftp directory under debian:

When I compare the files to the tryton-sao installation under OpenSuse, it looks like a few files are missing. For exemple I don't see the index.html file.
Otherwise, everything else is fine.
Cheers,

Armand

Sergi Almacellas Abellana

unread,
Oct 4, 2016, 3:18:09 AM10/4/16
to try...@googlegroups.com
El 04/10/16 a les 01:51, Armand Mpassy-Nzoumba ha escrit:
> When I compare the files to the tryton-sao installation under OpenSuse,
> it looks like a few files are missing. For exemple I don't see the
> index.html file.
> Otherwise, everything else is fine.
Have you installed the tryton-sao package?

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

Armand Mpassy-Nzoumba

unread,
Oct 4, 2016, 3:48:07 AM10/4/16
to Tryton List
Dear Sergi,

On Tue, Oct 4, 2016 at 8:18 AM, Sergi Almacellas Abellana <se...@koolpi.com> wrote:

Have you installed the tryton-sao package?
 
Yes, I did. I used the OpenSuse official package.

Cheers,

Armand

Axel Braun

unread,
Oct 4, 2016, 3:52:42 AM10/4/16
to try...@googlegroups.com
Hi Armand,

Am Dienstag, 4. Oktober 2016, 08:48:03 schrieb Armand Mpassy-Nzoumba:
> On Tue, Oct 4, 2016 at 8:18 AM, Sergi Almacellas Abellana <se...@koolpi.com>
> wrote:
>
> Have you installed the tryton-sao package?
>
> Yes, I did. I used the OpenSuse official package.

packaging the nodejs-stuff is a PITA.... I will look into this later.

What you may try in between:
- install sao from source, as described in
/usr/share/doc/packages/trytond/tryton-server.README.SUSE
- Cross check with the Live-CD for Leap (it comes with Sao as well)

Dominique Chabord

unread,
Oct 4, 2016, 4:05:48 AM10/4/16
to try...@googlegroups.com
do you want to setup Tryton for production/development use or just to
give it a try ? If just first try, you may consider this free hosting
: http://sisalp.com
regards
> --
> You received this message because you are subscribed to the Google Groups "tryton" group.
> To view this discussion on the web visit https://groups.google.com/d/msgid/tryton/122973313.p955cEc51J%40t520.axxite.internal.



--
Dominique Chabord - SISalp
Logiciel libre pour l'entreprise Tryton et open-source Odoo, OpenERP
18 avenue Beauregard 74960 Cran Gevrier
145A rue Alexandre Borrely 83000 Toulon
tel(repondeur) +33(0)950274960 fax +33(0)955274960 mob +33(0)622616438
http://sisalp.fr
http://openerp-online.fr
https://twitter.com/SISalp l'actualité de vos services en temps réel.

Mathias Behrle

unread,
Oct 4, 2016, 4:34:57 AM10/4/16
to try...@googlegroups.com
* Armand Mpassy-Nzoumba: " Re: [tryton] version du serveur incompatble - server
version not compatible" (Tue, 4 Oct 2016 00:51:32 +0100):

Hi Armand,

> Hi Axel
>
> On Mon, Oct 3, 2016 at 6:35 PM, Axel Braun <axel....@gmx.de> wrote:
>
> > Hi Armand,
> >
> >
> > Can you connect via Web-Frontend from the sdame computer? Then it may be an
> > issue with the firewall.
> > For the rest, the only thing to be done is to set the correct path in
> > [jsonrpc]. If you install from the package:
> >
> > # The root path to retrieve data for GET requests
> > data = /usr/lib/node_modules/tryton-sao
> >
> > ..otherwise there, where the sao-files are installed
> >
>
> I can't connect from the localhost. I still get the following error message:
>
> Internal Server Error
>
> The server encountered an internal error and was unable to complete your
> request. Either the server is overloaded or there is an error in the
> application.
>
> Here is my config related to tryton-sao. I also recall that the [jsonrpc]
> is no longer valid under tryton 4.0.
>
> [web]
> listen = [::]:8000
> root = /usr/lib/node_modules/tryton-sao/
>
> I am not an expert of tryton yet. However I came across the link of the
> tryton-sao ftp directory under debian:
> https://ftp-master.debian.org/new/tryton-sao_4.0.4-1.html

That's not a complete source directory, it is the Debian New Queue.
For complete sources better look at [0][1].

> When I compare the files to the tryton-sao installation under OpenSuse, it
> looks like a few files are missing. For exemple I don't see the index.html
> file.

sao currently needs jquery2, so tryton-sao runs out of the box on Debian stable
(jessie) using [2] with the sources for Distribution jessie-4.0. When running
Debian testing/unstable, you have to provide/pin jquery to version 2, because
it has already jquery3.

Cheers,

Mathias

NB:
The packaging in Debian[1] is substantially different from the OpenSuse
packaging[3], as the latter provides bundled bower components, while the Debian
packaging uses native packages from Debian main.


[0] http://tryton.alioth.debian.org/
[1] https://anonscm.debian.org/cgit/tryton/tryton-sao.git/
[2] http://tryton.alioth.debian.org/mirror.html#how-to
[3]
https://build.opensuse.org/package/show/Application:ERP:Tryton:4.0/tryton-sao

--

Mathias Behrle
MBSolutions
Gilgenmatten 10 A
D-79114 Freiburg

Tel: +49(761)471023
Fax: +49(761)4770816
http://www.m9s.biz
UStIdNr: DE 142009020
PGP/GnuPG key availabable from any keyserver, ID: 0xD6D09BE48405BBF6
AC29 7E5C 46B9 D0B6 1C71 7681 D6D0 9BE4 8405 BBF6

Armand Mpassy-Nzoumba

unread,
Oct 4, 2016, 5:31:00 AM10/4/16
to Tryton List
Dear Mathias,

On Tue, Oct 4, 2016 at 9:34 AM, Mathias Behrle <mbe...@m9s.biz> wrote:
> I am not an expert of tryton yet. However I came across the link of the
>  tryton-sao ftp directory under debian:
> https://ftp-master.debian.org/new/tryton-sao_4.0.4-1.html

That's not a complete source directory, it is the Debian New Queue.
For complete sources better look at [0][1].

Well noted.
 

> When I compare the files to the tryton-sao installation under OpenSuse, it
> looks like a few files are missing. For exemple I don't see the index.html
> file.

sao currently needs jquery2, so tryton-sao runs out of the box on Debian stable
(jessie) using [2] with the sources for Distribution jessie-4.0. When running
Debian testing/unstable, you have to provide/pin jquery to version 2, because
it has already jquery3.

I'll definitely have a look at it. Thank you for your assistance.

Cheers,

Armand 

Armand Mpassy-Nzoumba

unread,
Oct 4, 2016, 5:40:39 AM10/4/16
to Tryton List
Bonjour Dominique,

On Tue, Oct 4, 2016 at 9:05 AM, Dominique Chabord <dominiqu...@sisalp.org> wrote:
do you want to setup Tryton for production/development use or just to
give it a try ? If just first try, you may consider this free hosting
: http://sisalp.com
regards

Well noted. However it may suit our local environment. I am here in central Africa and Internet is rather a luxus good than a commodity. Even when it's available, it's quite unstable or users may get disconnected during election or period of turmoils by local authorities. THis is off course another debate which goes beyond this forum.

This is the reason I have been testing the Tryton Live CD or Neso. Our goal is to make Tryton/GNU Health available to all sme and all health professionals. I strongly believe that FLOSS is one of the key for the development in Africa.

I'll test your site anyway and I'll provide you my feedback. We may consider using it in the future.

 Cheers,

Armand

Armand Mpassy-Nzoumba

unread,
Oct 4, 2016, 5:44:50 AM10/4/16
to Tryton List
Dear Axel,

On Tue, Oct 4, 2016 at 8:52 AM, Axel Braun <axel....@gmx.de> wrote:

packaging the nodejs-stuff is a PITA.... I will look into this later.

What you may try in between:
- install sao from source, as described in
/usr/share/doc/packages/trytond/tryton-server.README.SUSE
- Cross check with the Live-CD for Leap (it comes with Sao as well)

Thank you for your guidance. I really appreciate your contribution and the contribution of the whole tryton community.

Cheers,

Armand

 

Dominique Chabord

unread,
Oct 4, 2016, 5:55:36 AM10/4/16
to try...@googlegroups.com
2016-10-04 11:40 GMT+02:00 Armand Mpassy-Nzoumba <armand...@gmail.com>:
> Bonjour Dominique,
>
> On Tue, Oct 4, 2016 at 9:05 AM, Dominique Chabord
> <dominiqu...@sisalp.org> wrote:
>>
>> do you want to setup Tryton for production/development use or just to
>> give it a try ? If just first try, you may consider this free hosting
>> : http://sisalp.com
>> regards
>
>
> Well noted. However it may suit our local environment. I am here in central
> Africa and Internet is rather a luxus good than a commodity. Even when it's
> available, it's quite unstable or users may get disconnected during election
> or period of turmoils by local authorities. THis is off course another
> debate which goes beyond this forum.
>

I also propose the same service on a local computer. It is more work
for me to set up but it is probably the right solution for production,
in particular if health data are stored on the server.



> This is the reason I have been testing the Tryton Live CD or Neso. Our goal
> is to make Tryton/GNU Health available to all sme and all health
> professionals. I strongly believe that FLOSS is one of the key for the
> development in Africa.
>
> I'll test your site anyway and I'll provide you my feedback. We may consider
> using it in the future.

I don't have gnu-health modules ready on this free tryton offering.
Let's build together an easy to start solution for it.

>
> Cheers,
>
> Armand

Axel Braun

unread,
Oct 4, 2016, 4:18:27 PM10/4/16
to try...@googlegroups.com
Hello Armand
add the entry
[web]
root = /usr/lib/node-modules/tryton-sao

to /etc/tryton/trytond.conf and restart the server
systemctl restart trytond

Let me know the result

Cheers
Axel
Reply all
Reply to author
Forward
0 new messages