Hi everyone. Can you tell me how to update privacyidea 3.9.2 to privacyidea 3.11. Currently installed 1 server in the prod and 2 test servers. All of them have version 3.9.2. I tried to update via privacyidea-pip-update on the test servers, one of them updated only to version 3.9.3 on the second test server to 3.10.2.How to update correctly or should I install 3.11 and then migrate? I apologize for the childish questions, I am new to Linux and DB. I eventually want to upgrade all servers to the latest version and set up a galera cluster
This very much depends on you installation.
Ubuntu installations will update the database automagically.
Under the hood you can check the database versions using the pi-manage db tool.
Database is migrated by scripts located in /opt/privacyidea/lib/privacyidea/migrations.
The command
pi-manage db history -d /opt/privacyidea/lib/privacyidea/migrations/
will show you all migrations / database changes.
Lucky you — the comments will actually indicate the versions, since 3.9 is rather new.
Hope this basic understanding helps as a starting point.
Thanks for the comment, cornelinux!
Вut I found it easier to recreate the virtual environment and install the latest version of PrivacyIDEA from scratch. And I got everything installed and started correctly. But on the Windows server can not authorize the error comes out : No subscription for your client. And in the PrivacyIDEA logs -
[2025-06-30 11:39:25,756][1859094][140211238807296][DEBUG][privacyidea.lib.auditmodules.base:174] Entering log with arguments (<privacyidea. lib.auditmodules.sqlaudit.Audit object at 0x7f855eed29d0>, {‘info’: “SubscriptionError(‘No subscription for your client.’, application=privacyidea-cp)”}) and keywords {}.
How to fix this?
The privacyIDEA Credential Provider will only work for up to 50 users.
If you have more than 50 users in your privacyIDEA Server with active tokens, it will start to complain, when an auth request from the credential provider is sent:
Thanks, so it’s time to buy a license