It was a migrational and MariaDb related issue. The database name which i had improved in readibility, compared to the origin server, was string normalized in another process which resulted in a non existent databasename connection. It appears like a very generic and common error, but somehow it served a http 500 error with very limited error information.