Am Mittwoch, 15. April 2020, 10:16:58 CEST schrieb ourdiaspora: > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > On Tuesday, April 14, 2020 6:33 PM, Luis Falcon <fal...@gnuhealth.org> wrote: > > Hi there ! > > > > On Tue, 14 Apr 2020 14:42:26 +0000 > > > > ourdiaspora via Health-dev health-dev@gnu.org wrote: > > > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > > > On Tuesday, April 14, 2020 12:43 PM, Axel Braun axel.br...@gmx.de > > > > > > 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