Internal Server Error 500

Hi all,

as I upgraded my privacyidea server to verison 3.3.3 the Server shows an Internal Server Error 500.
I used this tutorial to upgrade (last step) https://www.privacyidea.org/two-factor-authentication-with-otp-on-centos-7/
I tried to fix this issue but don’t understand the logs exactly.

privacyidea.log

[2020-06-05 10:34:41,007][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.smstoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,009][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.papertoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,009][9133][139766830094080][INFO][privacyidea.lib.tokens.vasco:56] PI_VASCO_LIBRARY option is not set, functionality disabled
[2020-06-05 10:34:41,011][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.tantoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,012][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.emailtoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,012][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.hotptoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,014][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.totptoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,014][9133][139766830094080][WARNING][privacyidea.lib.config:769] unable to load token module : ‘privacyidea.lib.tokens.daplugtoken’ (ImportError(‘cannot import name determine_logged_in_userparams’,))
[2020-06-05 10:34:41,205][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,205][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,205][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,206][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,207][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:41,208][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,308][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,309][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,310][9133][139766779737856][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,974][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,975][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:48,976][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:49,710][9133][139766830094080][WARNING][privacyidea.lib.config:798] unable to load resolver module : ‘privacyidea.lib.resolvers.LDAPIdResolver’ (AttributeError("‘module’ object has no attribute ‘registerLoggee’",))
[2020-06-05 10:34:49,712][9133][139766830094080][INFO][privacyidea.lib.pooling:84] Creating a new engine and connection pool for key sql.c6300ab107f9866d7bcc69651fad9733f13512de
[2020-06-05 10:34:49,712][9133][139766830094080][INFO][privacyidea.lib.resolvers.SQLIdResolver:557] using the connect string mysql+pymysql://pi:xxxx@localhost/pi
[2020-06-05 10:34:51,274][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,275][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,276][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,277][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,278][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:51,279][9133][139766830094080][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,966][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,966][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,967][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,968][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,969][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,969][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,970][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,970][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,970][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,970][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:53,971][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:34:56,979][9133][139766779737856][WARNING][privacyidea.lib.crypto:301] Non-hexadecimal digit found
[2020-06-05 10:35:13,803][9133][139766813308672][WARNING][privacyidea.lib.crypto:301] Non-hexadecimal digit found
[2020-06-05 10:35:26,414][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,416][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,418][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,419][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,419][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,420][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,420][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,421][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,422][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,423][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,423][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,423][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,423][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses
[2020-06-05 10:35:26,423][9133][139766813308672][ERROR][privacyidea.lib.token:135] type u’totp’ not found in tokenclasses

The error message tell that certain python modules can not be found. It looks like as if your apache config has a broken virtual env.

As the page you linked states, is the howto outdated.

Use the script “privacyidea-pip-update” as stated here: https://privacyidea.readthedocs.io/en/latest/installation/upgrade.html

Or read here:
https://netknights.it/en/produkte/privacyidea/

Now it works, thanks!
I think it failed in the first time, because I did an yum upgrade and then upgraded with the python script.