Re: #upgrade #draws #configuration #draws #upgrade #configuration


Basil Gunn
 

Erwin,
Everything that you did looks fine.

But until the config file problem is fixed you will not have a port 8080
LISTENER.

Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.
Ende up in an error - looks like something was going wrong with the
config?
I agree, something seems amiss with PAT config file.

I have some severely brief notes on PAT install here:
https://github.com/nwdigitalradio/n7nix/tree/master/email/pat

Did you install pat with my pat_install.sh script?

Check permissions on your pat config files
cd
ls -salt .wl2k

Look for matching double quotes & terminating comma on all the
.wl2k/config.json lines. If you don't see anything wrong then post your
.wl2k/config.json file BUT remove your "secure_login_password" entry.

/Basil

Erwin OE1EKG <erwin.grabler@artcom.cc> writes:

Hello Basil

*did this:*
pi@draws:~ $ cd
pi@draws:~ $ cd n7nix
pi@draws:~/n7nix $ git pull
remote: Enumerating objects: 22, done.
remote: Counting objects: 100% (22/22), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 14 (delta 11), reused 14 (delta 11), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/nwdigitalradio/n7nix
49d8220..1c273c7 master -> origin/master
Updating 49d8220..1c273c7
Fast-forward
ardop/AUTO_STARTUP.md | 11 ++++++++---
ardop/ardop_ctrl.sh | 28 +++++++++++++++++-----------
direwolf/config.sh | 9 ++++++---
hfprogs/wsj_ctrl.sh | 8 ++++----
4 files changed, 35 insertions(+), 21 deletions(-)

pi@draws:~/n7nix $ cd ardop
pi@draws:~/n7nix/ardop $ ./ardop_ctrl.sh -f -a kx2 status
Service: draws-manager is already stopped
Service: direwolf is already stopped
Force update mode on
Setting radio name to: radio_kx2, rig name: KX2
*** ARDOP NOT CONFIGURED.

== Status for configured rig:
== Pulse Audio is running with pid: 891
File: /home/pi/.asoundrc does not exist, creating
File: /etc/asound.conf does not exist
== Ardop Verify required programs
Found program: piARDOP_GUI
Found program: piardop2, ARDOPC Version 2.0.3.8-BPQ
Found program: piardopc, ARDOPC Version 1.0.4.1j-BPQ
Found program: arim, version: ARIM 2.10
Found program: pat, version: Pat v0.11.0 (eb00df2) linux/arm - go1.16.5
== Ardop systemctl unit file check
Service: rigctld, status: 3
Service: ardop, status: 3
Service: pat, status: 3
Creating systemd service files.
== unit file update
DEBUG: creating rigctld unit file for radio: KX2
DEBUG: creating ardop unit file for radio: KX2
systemctl daemon-reload
== Ardop process check
proc rigctld: 1, NOT running
proc piardopc: 1, NOT running
proc piARDOP_GUI: 1, NOT running
proc pat: 1, NOT running
== audio device udrc check: closed
Finished ardop status

*Reboot* :
pi@draws:~ $ lsof -i:8080
pi@draws:~ $ journalctl -u pat
-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Wed 2021-09-01 21:19:01 CES
Sep 01 21:17:18 draws systemd[1]: Started pat.
Sep 01 21:17:19 draws pat[494]: 2021/09/01 21:17:19 Unable to load/write config:
Sep 01 21:17:19 draws systemd[1]: pat.service: Main process exited, code=exited,
Sep 01 21:17:19 draws systemd[1]: pat.service: Failed with result 'exit-code'.

Ende up in an error - looks like something was going wrong with the config?

73 de Erwin, OE1EKG


Join udrc@nw-digital-radio.groups.io to automatically receive all group messages.