MichaIng / DietPi

Lightweight justice for your single-board computer!
https://dietpi.com/
GNU General Public License v2.0
4.86k stars 496 forks source link

rpimonitor not starting automatically #6833

Open schlomo opened 9 months ago

schlomo commented 9 months ago

Creating a bug report/issue

Required Information

Additional Information (if applicable)

Steps to reproduce

  1. didn't update DietPi for several months
  2. ran dietpi-update
  3. reboot

Expected behaviour

rpimonitor should auto-start upon booting

Actual behaviour

rpimonitor doesn't start after reboot

Extra details

Seems like auto start is not supported?

image

image

Also enabling it via dietpi-services didn't help:

image

Potential fix

I "fixed" this problem by creating a /etc/systemd/system/rpimonitor.service.d/override.conf file with this content:

[Install]
WantedBy=multi-user.target
Joulinar commented 9 months ago

buster 1

Your system is extremely old as you are running Debian Buster still. From our end we will drop Buster support on next DietPi release v9. You should consider upgrading to Debian Bullseye at least. https://dietpi.com/blog/?p=811

As well we did not change anything on this software title since a year at least.

Next, RPIMonitor software has not been updated since ages as the project stopped somewhere 2017. https://github.com/XavierBerger/RPi-Monitor-deb/issues/25 Probably we should remove the title from our list.

Personally, I tested RPIMonitor on my RPi3B+ running Debian Bookworm without issues. Services is starting after reboot.

root@DietPi3:~# systemctl status rpimonitor
● rpimonitor.service - LSB: RPi-Monitor daemon
     Loaded: loaded (/etc/init.d/rpimonitor; generated)
     Active: active (running) since Tue 2024-01-02 20:18:04 CET; 1min 47s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 290 ExecStart=/etc/init.d/rpimonitor start (code=exited, status=0/SUCCESS)
      Tasks: 3 (limit: 2176)
        CPU: 1.160s
     CGroup: /system.slice/rpimonitor.service
             ├─392 /usr/bin/perl /usr/bin/rpimonitord -b /var/run/rpimonitord.pid -l /var/log/rpimonitor.log
             ├─393 /usr/bin/perl /usr/bin/rpimonitord -b /var/run/rpimonitord.pid -l /var/log/rpimonitor.log
             └─394 /usr/bin/perl /usr/bin/rpimonitord -b /var/run/rpimonitord.pid -l /var/log/rpimonitor.log

Jan 02 20:18:02 DietPi3 systemd[1]: Starting rpimonitor.service - LSB: RPi-Monitor daemon...
Jan 02 20:18:04 DietPi3 rpimonitor[290]: Starting RPi-Monitor:.
Jan 02 20:18:04 DietPi3 systemd[1]: Started rpimonitor.service - LSB: RPi-Monitor daemon.
root@DietPi3:~#
schlomo commented 9 months ago

Thanks @Joulinar I'll upgrade and report back. Very good point indeed, and high time for me to do so.