when I upgrade to 3.2, PI seems to break. perhaps this is an apache issue? the only thing I see in the logs is this
: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1 mod_wsgi/4.5.17 Python/2.7 configured – resuming normal operations
[Mon Dec 16 13:51:50.006887 2019] [core:notice] [pid 1636:tid 139762872949696] AH00094: Command line: ‘/usr/sbin/apache2’
ImportError: No module named site
ImportError: No module named site
ImportError: No module named site
ImportError: No module named site
ImportError: No module named site
The error depends on your installation method. So how did you install and upgrade privacyIDEA?
The Ubuntu packages we provide are now based on Python 3.
I.e. the package privacyidea is shipped with Python 3. But the package like privacyidea-apache2 would also update the necessary requirements.
But your message output sayys “mod_wsgi Python/2.7”.
So I am GUESSING you only have the privacyidea package installed and updated but not the necessary meta package privacyidea-apache2 which would also update the mod_wsgi for Python3.
Please help me in future not to be condemned to always guess. Thanks.
I have a vanilla install of ubuntu, only used for privacy idea. I installed PI using the ubuntu packages, and used apt-get update/upgrade to upgrade the packages.
I saw that privacyidea-apache2 was included and installed.