From 4e454a4dcbf9c6f794ab9fc13eed263b4e16dad4a7f76eadde2adb09d955b66d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Sun, 17 Sep 2017 20:38:47 +0000 Subject: [PATCH] Accepting request 526510 from Application:ERP:Tryton:Factory bnc1054032 bugfix release for GNU Health OBS-URL: https://build.opensuse.org/request/show/526510 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnuhealth?expand=0&rev=15 --- GNUHealth.README.SUSE | 45 ++++++++++++++++++++---------------------- gnuhealth-3.2.2.tar.gz | 3 --- gnuhealth-3.2.3.tar.gz | 3 +++ gnuhealth.changes | 11 +++++++++++ gnuhealth.spec | 2 +- 5 files changed, 36 insertions(+), 28 deletions(-) delete mode 100644 gnuhealth-3.2.2.tar.gz create mode 100644 gnuhealth-3.2.3.tar.gz diff --git a/GNUHealth.README.SUSE b/GNUHealth.README.SUSE index 0a42b68..116b26f 100644 --- a/GNUHealth.README.SUSE +++ b/GNUHealth.README.SUSE @@ -7,13 +7,14 @@ How to get it running (Without reading the instructions) You have already installed the package gnuhealth and found this documentation. Good. 1) Log in as root and start the database -#su -#systemctl start postgresql +> su +> systemctl start postgresql 2) Change postgres parameters. You need to log in as user postgres, in order to avoid authorisation issues. Assuming we have nano as editor: -#su postgres -#nano /var/lib/pgsql/data/pg_hba.conf + +> su postgres +> nano /var/lib/pgsql/data/pg_hba.conf FOR LOCAL CONNECTIONS (Database on the same machine) change the line local all all md5 @@ -23,28 +24,24 @@ to Save your input. This will make sure that Tryton/GNUHealth server can connect to the database 3) Create a role for 'tryton' in the database (sill as user postgres) -#psql -c "CREATE USER tryton WITH CREATEDB;" +> psql -c "CREATE USER tryton WITH CREATEDB;" 4) exit as user postgres and restart postgres -#exit -#systemctl restart postgresql +> exit +> systemctl restart postgresql -5) Now lets look at /etc/tryton/trytond.conf. Uncomment the line with super_pwd (it is recommended that you set your own password here! -#nano /etc/tryton/trytond.conf -uncomment super_pwd +5) start gnuhealth/trytond: +> systemctl start gnuhealth -6) start gnuhealth/trytond: -#systemctl start gnuhealth +6) Install the tryton client: +> zypper in tryton -7) Install the tryton client: -#zypper in tryton - -8) Open the tryton client: -#tryton +7) Open the tryton client: +> tryton go to 'manage profiles' -> add -> name it 'localhost' -> Host: localhost -> you should now see a selection of available databases -Note: Fron Tryton Release 4.2 onwards it is not possible anymore to create databases +Note: From Tryton Release 4.2 onwards it is not possible anymore to create databases from the Frontend. You need to do this manually (see /usr/share/doc/packages/trytond/tryton-server.README.SUSE) DONE. @@ -69,24 +66,24 @@ Upgrade As user tryton, run tryton-admin: - # /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb + > /usr/bin/trytond-admin -c /etc/tryton/trytond.conf --all -d mydb * GNU_Health 3.0 on openSUSE delivered 2 modules, which are not (yet) in 3.2 anymore: pdq and hl7. You need to delete them first Log in as database owner (usually tryton): - # sudo su tryton -s /bin/bash + > sudo su tryton -s /bin/bash Delete the 2 modules: - # psql mydb + > psql mydb delete from ir_module where name='pdq'; delete from ir_module where name='hl7'; Quit with CRTL-D Apply the database patch: - # psql mydb < /usr/share/doc/packages/gnuhealth/upgrade/3.2/upgrade_32.sql + > psql mydb < /usr/share/doc/packages/gnuhealth/upgrade/3.2/upgrade_32.sql Remember to replace mydb with the name of your database. @@ -135,7 +132,7 @@ gnuhealth-webdav@.service Starting with GNU Health 3.2, GNU Health comes with its own WebDAV-Server that can be used for shared calendars. In order to enable the WebDAV server, it comes with a systemd-service. As input parameter for the service the database-name on which to operate must be passed. Say your database is called mydb, invoke the service with -systemctl enable gnuhealth-webdav@mydb.service +> systemctl enable gnuhealth-webdav@mydb.service You can start multiple webdav services for different databases in parallel. @@ -158,4 +155,4 @@ Have fun and keep the neighborhood well and fit! [4] https://github.com/mbehrle/tryton/blob/wiki/InstallationonopenSUSE.md - -- Axel Braun TUE Jun 20 15:40:04 UTC 2017 + -- Axel Braun THU Sep 14 19:14:04 UTC 2017 diff --git a/gnuhealth-3.2.2.tar.gz b/gnuhealth-3.2.2.tar.gz deleted file mode 100644 index 747efbf..0000000 --- a/gnuhealth-3.2.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13e363056fa2fcaffec126bd37a38f30efe893b3b8bf69937327b8921253bffa -size 10207021 diff --git a/gnuhealth-3.2.3.tar.gz b/gnuhealth-3.2.3.tar.gz new file mode 100644 index 0000000..c2e54c4 --- /dev/null +++ b/gnuhealth-3.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:987c8979f642f1b61909f22a61c1e365e54bbd4213f1fe57e3d391ee8f74cf11 +size 10219192 diff --git a/gnuhealth.changes b/gnuhealth.changes index 85a8e8e..1c33c68 100644 --- a/gnuhealth.changes +++ b/gnuhealth.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Sep 16 16:18:04 UTC 2017 - axel.braun@gmx.de + +- version 3.2.3 Fix bug #52038: Field history is repeated in the tree + view of the prescription line + +------------------------------------------------------------------- +Thu Sep 14 19:14:55 UTC 2017 - axel.braun@gmx.de + +- Documentation adapted + ------------------------------------------------------------------- Mon Aug 28 19:29:06 UTC 2017 - axel.braun@gmx.de diff --git a/gnuhealth.spec b/gnuhealth.spec index e210463..f97249d 100644 --- a/gnuhealth.spec +++ b/gnuhealth.spec @@ -24,7 +24,7 @@ Name: gnuhealth BuildRequires: fdupes BuildRequires: python3-setuptools -Version: %{majorver}.2 +Version: %{majorver}.3 Release: 0 Url: http://health.gnu.org