Error 500 when access Erpnext on VM

Hello,
i have a internal server error when i try to access ErpNext. In addition it’s not possible to login with the Administrator account (login: Administrator, password; admin) only the frappe account can log in. It seems to be related with the database. Can you help me ?

Have you tried to restart your Mariadb service?