Hi all. I am trying to get SAO working. It appears to work but I can't login. These are the steps I follow on Arch Linux:
1. Install npm bower nodejs-grunt-cli 2. Copy the archive extract to /opt/gnugealth/tryton/sao, changing ownership to gnuhealth. 3.Logged in as gnuhealth I change to sao directory and execute: npm install && grunt It completes with Done, without errors. (see below the output) 4. Restart GNU Health server (see output below) 5. Open http://localhost:8000/ in a browser. I get a login prompt but when I enter gnuhealth/admin/<password>, data which works under tryton client, nothing happens, apart from the password field being highlighted in red. The trytond config is copied below. I read a couple of articles about sao config. One mentioned having an 'options' section, another a 'web' section. You will see both in the config. Please, do you have any advice? Thank you ## SAO Install ## gnuhealth@linux:~/tryton/sao $ npm install && grunt > tryton-sao@4.1.0 postinstall /opt/gnuhealth/tryton/sao > bower install Running "concat:dist" (concat) task File dist/tryton-sao.js created. Running "jshint:dist" (jshint) task >> 1 file lint free. Running "jshint:grunt" (jshint) task >> 1 file lint free. Running "jshint:tests" (jshint) task >> 1 file lint free. Running "uglify:dist" (uglify) task >> 1 file created. Running "less:dev" (less) task >> 1 stylesheet created. Running "less:default" (less) task >> 1 stylesheet created. Running "po2json:all" (po2json) task File "locale/bg_BG.json" created. File "locale/ca_ES.json" created. File "locale/cs_CZ.json" created. File "locale/de_DE.json" created. File "locale/es_AR.json" created. File "locale/es_CO.json" created. File "locale/es_EC.json" created. File "locale/es_ES.json" created. File "locale/es_MX.json" created. File "locale/fr_FR.json" created. File "locale/hu_HU.json" created. File "locale/it_IT.json" created. File "locale/ja_JP.json" created. File "locale/lo_LA.json" created. File "locale/lt_LT.json" created. File "locale/nl_NL.json" created. File "locale/pt_BR.json" created. File "locale/ru_RU.json" created. File "locale/sl_SI.json" created. File "locale/zh_CN.json" created. Done, without errors. (Obviously the initial install installed a lot more) ## Restart ## [user@localhost ~]$ sudo systemctl restart gnuhealth [sudo] password for user: [user@localhost ~]$ sudo systemctl status gnuhealth ● gnuhealth.service - Tryton Server Daemon for GNU Health Loaded: loaded (/usr/lib/systemd/system/gnuhealth.service; disabled; vendor p Active: active (running) since Thu 2016-06-02 15:12:26 WITA; 6s ago Main PID: 4219 (python2) Tasks: 2 (limit: 512) CGroup: /system.slice/gnuhealth.service └─4219 /usr/bin/python2 /opt/gnuhealth/tryton/server/trytond-3.8.5/bi Jun 02 15:12:26 localhost.localdomain systemd[1]: Started Tryton Server Daemon f [user@localhost ~]$ ## TRYTOND CONFIG ## gnuhealth@linux:~/tryton/server/config $ cat trytond.conf [options] jsondata_path = /opt/gnuhealth/tryton/sao [jsonrpc] listen = localhost:8000 hostname = localhost data = /opt/gnuhealth/tryton/sao [database] uri = postgresql://localhost:5432 path = /opt/gnuhealth/attach [web] root = /opt/gnuhealth/tryton/sao [session] super_pwd = WluA2hdPVn1LA