correction to setup on rpi buster
I have installed the software on rpi buster and run the setup.sh . After the reboot the system was back in emergency mode. The problem was in the /etc/fstab it should be changed the entry: /var/lib/sudo/ts to /var/lib/sudo/lectured
after this modification all is fine