After VPS problem an "Internal Server Error" occured

Hello,

something happened to my VPS today. When it returned, all my web sites, hosted by Apache also returned correctly, but ERPNext Site, which is hosted in NGINX.

when I try to load it, an “Internal Server Error” is shown. When I look at ERPNext error log, I saw this error “ImportError: cannot import name Database”.

MariaDB is up and in fact, I can use phpMyAdmin and I can browse the database. This is ERPNext version 11.

What can I check in order to fix it?

Thanks
Jaime