Dear Axel, dear Luis,
Am 23.04.2021 um 15:44 schrieb Axel Braun:
As test@GNUHealth-Raspi4 I want now to create a new database as Luis
suggests: with
createdb health38
then I got "could not connect to template1: FATAL: role "test" does not
exist".
you need to use the right user, who has a role in postgres. This is either the
user postgres, or the user tryton, see:
https://en.opensuse.org/GNUHealth_on_openSUSE#Quick_Start
Now I changed first to user root (su root), then cd /tmp, then su
postgres, then "createdb health38". No error so far.
Then cdexe," python3 .trytond-admin --all database=health38" (like
described in
https://en.wikibooks.org/wiki/GNU_Health/Installation#Initialize_the_database_instance).
==> python3: cant´t open file 'trytond-admin': [Errno 2] No such
file
Searching for the file: is within usr/bin
changing to this directory, executing the command again: no such file ...
trying again with python3 trytond-admin --all database=health38
=> File
"usr/lib/python3.6/site-packages/trytond/backend/sqlite/database.py"
line 265, in connect raise IOError ('Database "%s" does not exist! %
db_filename) OSError: Database "health38.sqlite" does not exist!"
Searching for health38* in trytond+subdirectories => no files
Searching for ghdemo38* (that is the database which connects at
localhost) in root+subdirectories, also hidden files => no files
Any ideas? Where can I find the database file itself?
Thank you very much!
All the best
Edgar