Logfile wfpiconsolewfpiconsole.log in pi user home directory

I updated my wfpiconsole to v23.10.1, and all seems to be running well. Except, a log file called wfpiconsolewfpiconsole.log has appeared in /home/pi. Looks like a missing ‘/’ somewhere.

And sure enough looking at wfpiconsole.service I see:

StandardOutput=file:/home/pi/wfpiconsolewfpiconsole.log
StandardError=file:/home/pi/wfpiconsolewfpiconsole.log

I’m guessing this should be:

StandardOutput=file:/home/pi/wfpiconsole/wfpiconsole.log
StandardError=file:/home/pi/wfpiconsole/wfpiconsole.log

Not sure if I’ve done something strange, or when this issue first started for me, but I thought I’d bring it to your attention in case this is a bug (I think possibly a trailing slash was removed from the CONSOLEDIR constant declaration in wfpiconsole.sh, which affects the sed statements on lines 1108/1109 ?).

I corrected my system by inserting the missing slashes in /etc/systemd/system/wfpiconsole.service and /home/pi/wfpiconsole/wfpiconsole.service, and running command: systemctl daemon-reload

Yep, this is a bug. I will get it fixed soon. Thanks for letting me know!

1 Like

This should be fixed in v23.11.1

1 Like