What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 12.0.11 (stable)
What app is this about: Watchdog
Describe your issue
I recently got Yunohost up and running, and installed some apps like SearxNG and unattended-upgrades.
I tried to install Watchdog, so that if the system hangs, it will automatically reboot. I doublechecked that the Raspberry Pi 4 B has a hardware watchdog, and in fact sudo wdctl
gives me information about it:
$ sudo wdctl
Device: /dev/watchdog0
Identity: Broadcom BCM2835 Watchdog timer [version 0]
Timeout: 15 seconds
Timeleft: 14 seconds
Pre-timeout: 0 seconds
FLAG DESCRIPTION STATUS BOOT-STATUS
KEEPALIVEPING Keep alive ping reply 1 0
MAGICCLOSE Supports magic close char 0 0
SETTIMEOUT Set timeout (in seconds) 0 0
However, when I try to install the Watchdog app on Yunohost, it fails with the error, “Your server doesn’t seem to have a ‘/dev/watchdog’ device, this certainly means that it has no hardware watchdog device.” See below for the full watchdog install logs.
If it is relevant, I am also using Tailscale, and followed this procedure to get it up and running: Tailscale only Yunohost - possible? how to configure? - #6 by roukydesbois
It seems like the problem may be that the Watchdog looks for /dev/watchdog, but on my system it is /dev/watchdog0 ?
Share relevant logs or error messages
Watchdog: https://paste.yunohost.org/raw/mozexexiza
Diagnosis: https://paste.yunohost.org/raw/oqayobecop