and you are right about db errors, I managed to get back into plesk dashboard, I can see that there are no Domains at all for some reason and when I try to create a new domain I get this error
Server Error
500
Db_Table_Exception
Unable to find row by field login with value in smb_users table.