Reboot raspberry pi

Hello,
I have finished installing home-assistant supervised on raspberry pi 3 and pizigate
I have a first problem rebooting:

dietpi@DietPi:~$ sudo reboot
Failed to set wall message, ignoring: Unit dbus-org.freedesktop.login1.service failed to load properly, please adjust/correct and reload service manager: File exists                                                                 
Call to Reboot failed: Unit dbus-org.freedesktop.login1.service failed to load properly, please adjust/correct and reload service manager: File exists

second problem with home-assistant booting :

[supervisor.resolution.evaluations.base] Docker cgroup version 2 is not supported! {'1'} (more-info: https://www.home-assistant.io/more-info/unsupported/cgroup_version

We do not support HA supervised, it’s not compatible with the network stack. We use ifupdown but HA supervised relies on network manager, if I remember correctly.

The first message is also not so dramatic, you can install dbus to avoid this message.

It doesn’t change anything …

$ sudo apt install dbus                                                                             
Reading package lists... Done                                                                                      
Building dependency tree... Done                                                                                   
Reading state information... Done
dbus is already the newest version (1.14.10-1~deb12u1).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded

And i have another problem with my pizigate : it does not recognaze. While when I installed Home-Assistant Core, it was recognized the first time.
When I want to install ZHA, it offers me the following path /dev/ttyAMA0 - ttyAMA0. but this does not work and crashes Home-Assistant which reconnects

interesting…
But if it reboots without problems just ignore it :smiley:
https://dietpi.com/forum/t/failed-to-set-wall-message-after-reboot/18507/5

might also look into the app called needrestart, after upgrades this script monitors for driver/dependency changes and autorestarts services that need to be “bounced” to use the new versions

The ’needrestart’ command is a useful tool that allows you to check which daemons need to be restarted after library upgrades. It is particularly helpful in ensuring that updated libraries are properly loaded by running services on a Linux system. With ’needrestart’, you can easily identify outdated processes, interactively restart services, and check the status of the kernel and CPU microcode. This article will provide example use cases for different options of the ’needrestart’ command.

I believe there is a way to make it automatically non-interactively restart services/programs/apps after upgrading/updating