I installed privacyidea 3.13 a few weeks ago following this procedure:
Today I ran an apt update and see that 3.13.2 is available for the privacyidea and privacyidea-nginx packages.
If I run apt upgrade and tell it to overwrite the ip file pi.cfg, the update fails (from the logs, I see that it fails when trying to create the new database and user because they already exist).
I updated by running “apt-get install --only-upgrade privacyidea-nginx privacyidea” without modifying pi.cfg, and then running an apt upgrade to update the other packages on the server.
The server is working, I can log in with OTPs, I can access the web page, and at the bottom left, I see “privacyIDEA 3.13.2”
In the file on GitHub READ_BEFORE_UPDATE.md I read “The rollout_state of fully enrolled tokens has changed… A database migration script updates all existing tokens with an empty or NULL rollout_state to enrolled”
In my server under “Token” > “All Tokens” the “Rollout Status” column is empty anyway
If I launch the “pi-manage db history” command, the lines for version 3.13 that I find are these:
06b105a4f941 → b1a2c3d4e5f6 (head), Create missing tokencredentialidhash_seq on existing installs
b637a1eeeeeb → 06b105a4f941, v3.13: Change the Audit id column type to BigInt
056b6642ff5d → b637a1eeeeeb, v3.13: Add S/MIME columns to smtpserver table
1c48d4ffb8c3 → 056b6642ff5d, v3.13: Increase audit signature column size to support 4096-bit RSA keys
52c494a115a9 → 1c48d4ffb8c3, v3.12: Add option column to radiusserver table
Did the procedure I followed to update the packages not update the database? How can I update it now?