Hi,
first of all: thanks for the update and your hard work!!
Today I updated my testsystem to PI 3.5. Now I get the “error 500” on every request. The problem is somewhere in the logging.yml, which worked in 3.4.1. If I disable the container-audit, its ok again.
The error is:
File “/opt/privacyidea/lib/python3.6/site-packages/privacyidea/lib/audit.py”, line 77, in getAudit
audit = get_module_class(audit_module, “Audit”, “log”)(config, startdate)
TypeError: init() takes from 1 to 2 positional arguments but 3 were given
Hi Cornelius,
What I saw is if you do an Ubuntu upgrade, there is another error:
[privacyidea.lib.auditmodules.sqlaudit:306] exception OperationalError(’(pymysql.err.OperationalError) (1054, “Unknown column ‘startdate’ in ‘field list’”)’,)
Still error 500.
You can avoid this doing a manual upgrade.
Then for some reason the postinst script of you Ubuntu pdate did not work correctly.
The database schema was not updated correctly. (Which would happen during a successful Ubuntu update).