Failed Raspberry Replacement

Hi, I don’t know if I’m proceeding correctly because it’s my first post; I hope not to create problems.
Following the breakdown of my Raspberry PI3 B + I bought another same one and I was hoping that, by putting the SD card in the new one, everything would be fine.
The system started but in safe mode. I don’t know if it is possible to recover the system without having to reconfigure everything from scratch. Obviously being a newbie I don’t have a backup (from now on I will!).
Can anything be done?
Thanks in advance
I am attaching a screenshot of the error that is returned to me

Most likely, your config file doesn’t start with homeassistant:
But since you haven’t provided the file that’s causing errors (configuration.yaml) there’s not really much we can do here.
Have a look at the FAQ for formatting