The line in the debug log: May 31 22:42:59 volumio volumio[1116]: error: [MPD_OLED Plugin] Could not start mpd_oled_plugin service: Error: Command failed: /usr/bin/sudo /bin/systemctl start mpd_oled_plugin.service.
Letβs dig a bit further and find why it is happening:
Login with ssh client as volumio user to you Rpi.
post the system unit output from: systemctl status mpd_oled_plugin.service
Welcome to Volumio for Raspberry Pi (6.1.77-v7l+ armv7l)
Last login: Sat Jun 1 08:43:05 2024 from 192.168.0.115
volumio@volumio:~$ systemctl restart mpd_oled_plugin.service & systemctl status mpd_oled_plugin.service
[1] 2623
β mpd_oled_plugin.service - MPD OLED Plugin
Loaded: loaded (/etc/systemd/system/mpd_oled_plugin.service; disabled; vendor
Active: inactive (dead)
second probe:
Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Raspberry Pi (6.1.77-v7l+ armv7l)
Last login: Sat Jun 1 09:11:56 2024 from 192.168.0.115
volumio@volumio:~$ systemctl restart mpd_oled_plugin.service && systemctl status mpd_oled_plugin.service
β mpd_oled_plugin.service - MPD OLED Plugin
Loaded: loaded (/etc/systemd/system/mpd_oled_plugin.service; disabled; vendor
Active: active (running) since Sat 2024-06-01 09:12:41 CEST; 54ms ago
Main PID: 1788 (mpd_oled_plugin)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/mpd_oled_plugin.service
ββ1788 /bin/bash /tmp/mpd_oled_plugin.sh
ββ1789 /usr/bin/mpd_oled -o 7 -b 32 -g 1 -f 50 -s 8,5 -C 0 -P p -c fi
Jun 01 09:12:41 volumio systemd[1]: Started MPD OLED Plugin.
I have followed these commands but after reboot the problem still persists.
Something is blocking the start of the plug-in that supports the OLED display, but this only happens in the test version of Volumio 3.699.
I also noticed that when the problem occurs, I press the save button in the mpd_oled plugin settings (without changing any settings) and everything starts working properly, but turning the plugin off and on again does not help.
In stable version 3.661, all this still works without problems, so Iβll go back to it for now.
For over a year, the MPD_OLED 1.1.2 plug-in has been working perfectly for me in all versions of Volumio (both stable and test) up to and including 3.695.
I think the problem is somewhere in the details in version 3.699
Volumio Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Welcome to Volumio for Raspberry Pi (6.1.77-v7l+ armv7l)
volumio@volumio:~$ sudo cat /etc/systemd/system/mpd_oled_plugin.service
[sudo] password for volumio:
[Unit]
Description=MPD OLED Plugin
After=network.target mpd.service
Requires=mpd.service
Actually, this has helped a lot. As usual, the devil lives in the details. I think I understand now where the process recycle may break the system unit hierarchy.
Lastly - which exactly OLED display model are using?
Iβm not very advanced, but I can try to help you solve this problem.
What first step should I take?
I think that only the authors of the plugin: supercrab, antiprism and balbuze can really help, because in my opinion the problem is in the new version of Volumio 3.699
The key issue is that the plugin uses unsafe mpd service unit recycle. A quick pick into the other plugins reveals similar, not reported yet problems that will surface.