health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] access database on own domain name via gnu health clien


From: Axel Braun
Subject: Re: [Health-dev] access database on own domain name via gnu health client
Date: Wed, 15 Apr 2020 11:04:48 +0200

Am Mittwoch, 15. April 2020, 10:16:58 CEST schrieb ourdiaspora:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> 
> On Tuesday, April 14, 2020 6:33 PM, Luis Falcon <address@hidden> 
wrote:
> > Hi there !
> > 
> > On Tue, 14 Apr 2020 14:42:26 +0000
> > 
> > ourdiaspora via Health-dev address@hidden wrote:
> > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> > > On Tuesday, April 14, 2020 12:43 PM, Axel Braun address@hidden
> > > 
> > > wrote:
> > > > > File
> > > > > 
> > > > > In this version, could not find the file 'trytond' which this
> > > > > error refers: "
> > > > > /home/gnuhealth/gnuhealth/start_gnuhealth.sh
> > > > > ls: cannot access '/root/gnuhealth/tryton/server/trytond-*': No
> > 
> > Hmm... something wrong there!
> 
> ./start_gnuhealth.sh
> "
> ls: cannot access '/home/gnuhealth/gnuhealth/tryton/server/trytond-*': No
> such file or directory cat: /home/gnuhealth/gnuhealth/version: No such file
> or directory
> 2020-04-15 07:40:51 [INFO] Starting GNU Health Server version  ...
> ./start_gnuhealth.sh: line 42: cd:
> /home/gnuhealth/gnuhealth/tryton/server//bin: No such file or directory
> python3: can't open file './trytond': [Errno 2] No such file or directory
> 2020-04-15 07:40:51 [ERROR] Bailing out !
> "
> 
> There is no tryton directory created.
> 
> whereis trytond
> "
> trytond: /usr/local/bin/trytond
> "
> 
> systemctl status gnuhealth
>       ● gnuhealth.service - GNU Health Server
>                Loaded: loaded (/etc/systemd/system/gnuhealth.service; 
disabled; vendor
> preset: en Active: failed (Result: exit-code) since Wed 2020-04-15 08:34:09
> BST; 48s ago Main PID: 18409 (code=exited, status=203/EXEC)
>       ./start_gnuhealth.sh
>       ls: cannot access '/home/gnuhealth/gnuhealth/tryton/server/trytond-
*': No
> such file or directory cat: /home/gnuhealth/gnuhealth/version: No such file
> or directory 2020-04-15 07:40:51 [INFO] Starting GNU Health Server version 
> ... ./start_gnuhealth.sh: line 42: cd:
> /home/gnuhealth/gnuhealth/tryton/server//bin: No such file or directory
> python3: can't open file './trytond': [Errno 2] No such file or directory
> 2020-04-15 07:40:51 [ERROR] Bailing out !
> 
>  whereis trytond
>       trytond: /usr/local/bin/trytond
>       nano start_gnuhealth.sh
> "...
> #cd ${GNUHEALTH_DIR}/tryton/server/${TRYTOND}/bin
> #python3 ./trytond $@ || bailout
> python3 /usr/local/bin/trytond s@ || bailout
> ..."
>       ./start_gnuhealth.sh
>       2020-04-15 07:58:50 [INFO] Starting GNU Health Server version 3.6.2 
...
>       Traceback (most recent call last):
>               File "/usr/local/bin/trytond", line 14, in <module>
>                       from trytond import server
>       ImportError: cannot import name 'server' from 'trytond'
> (/home/gnuhealth/gnuhealth/tryton/server/trytond-5.0.20/trytond/__init__.py
> ) 2020-04-15 07:58:50 [ERROR] Bailing out !
> 
>       This suggests that the location of the tryton directory has to be 
found,
> then all references in any scripts changed to the correct directory.
> 
>       Please, what next?

looks like your setup is somehow messed up.
rm -rf /home/gnuhealth/gnuhealth 
and run gnuhealth-setup again
trytond will then be automatically installed





reply via email to

[Prev in Thread] Current Thread [Next in Thread]