New install > 'Runs' but can't log in

I’ve installed PrivacyIDEA on Ubuntu 16.04 and it runs but I can’t login using the admin ‘admin’ I’ve created with pi-manage. To be on the safe side I’ve created another admin - no success. Both users show up in PI’s admin table.

Using pi-manage I’ve seen one Python warning: SAWarning: Unicode type received non-unicode bind param value ‘$pbkdf2-sha512$10023$fS.l…’.

Thanks

Fixed it myself: PrivacyIDEA had no permissions to read ‘enckey’ and ‘private.pem’ in ‘/usr/lib/python2.7/dist-packages.’