The problem came when I wanted to upgrade.
I download via OTA the update, when finished I select the package (the ROM) and open TWRP, I check the option to reinstall TWRP automatically after finishing, the process starts and it seems that everything goes well (nothing in red) until just at the end of the whole thing appears 5 lines in red where it says the following: (attached picture of the message, I wrote it on the PC but it happened in TWRP)
When I wanted to reboot it said that there was no OS installed and that if I was sure (to reboot), I rebooted in recovery first and then in system. What problems can cause the appearance of the message?