Error while installing home assistant

Yep. I did. I uninstalled using the dietpi-software TUI and installed again. No difference.
I will try again with the command you suggested, though.