-
Notifications
You must be signed in to change notification settings - Fork 446
Description
Version
2.8.0 - 5044358
Branch
master
OS
Raspbian GNU/Linux 11 (bullseye)
Pi model
Raspberry Pi Zero W Rev 1.1
Hardware
- RC522 card reader
-
- HifiBerry MiniAmp 1.0
What happened?
When looking at the web page, no cover was shown.
Further analysis revealed that settings/Latest_Folder_Played was empty.
This was imho due to this line in scripts/playout_controls.sh:
937 sudo echo ${FOLDER} > ${PATHDATA}/../settings/Latest_Folder_Played
First of all: echo is a shell-builtin, so running it as root has no effect, however, attempting to run it as root will fail and the echo will not be done! Second: the output redirection is done as the current user which is afaics user pi!
I added a file /etc/sudoers/pi with contents pi ALL=(ALL) NOPASSWD: ALL
As a second consequence, shutting the Phoniebox down using a button did not work for the same reason.
Logs
install-jukebox.sh_20250518_123838.log
Analytics_AfterInstallScript.log
Configuration
No response
More info
I am a (now retired) CS engenieer, so I may have thought to be more clever that it should have been necessary and thus may have made errors during installation.