How to restore encrypted library with sql database

After upgrading my seafile installation to 7.1.2 I am unable to get seahub to work. There’s always an error. Which one doesn’ t matter for now.
I want to access my encrypted libraries. I have the Mysql Database. How to go about it without seahub.

Any help is appreciated.