Bug 39834 - Self service breaks privacyidea
Self service breaks privacyidea
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Self Service
UCS 4.1
Other Linux
: P5 normal (vote)
: UCS 4.1
Assigned To: Florian Best
Stefan Gohmann
: interim-3
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-11-09 22:30 CET by Stefan Gohmann
Modified: 2015-11-17 12:12 CET (History)
4 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2015-11-09 22:30:29 CET
After installing the self service module, privacyIDEA web interface is no longer reachable: " Internal Server Error".

root@ucs-5928:~# cat /etc/apache2/sites-available/privacyidea
WSGIPythonHome /opt/privacyidea/privacyidea-venv
WSGIScriptAlias /privacyidea      /etc/privacyidea/privacyideaapp.wsgi
#
# The daemon is running as user 'privacyidea'
# This user should have access to the encKey database encryption file
WSGIDaemonProcess privacyidea processes=1 threads=15 display-name=%{GROUP} user=privacyidea
WSGIProcessGroup privacyidea
WSGIPassAuthorization On

root@ucs-5928:~#

root@ucs-5928:~# tail /etc/apache2/sites-available/univention-self-service

WSGIScriptAlias /self-service/passwordreset /usr/share/univention-self-service/web/passwordreset/wsgi.py
WSGIScriptAlias /self-service/setpassword /usr/share/univention-self-service/web/setpassword/wsgi.py
WSGIDaemonProcess self-service user=self-service group=self-service home=/usr/share/univention-self-service/web/
WSGIProcessGroup self-service

root@ucs-5928:~# 

Workaround is to disable the self service interface: 
 ucr set self-service/web/enabled=false
 /etc/init.d/apache2 reload
Comment 1 Florian Best univentionstaff 2015-11-10 10:41:34 CET
I fixed this for the self-service and sent a patch to privacy idea.
It won't conflict anymore if the latest packages are in the test-appcenter.
Comment 2 Stefan Gohmann univentionstaff 2015-11-14 13:12:10 CET
It works with the latest privacyIDEA version from the Test App Center.
Comment 3 Stefan Gohmann univentionstaff 2015-11-17 12:12:06 CET
UCS 4.1 has been released:
 https://docs.software-univention.de/release-notes-4.1-0-en.html
 https://docs.software-univention.de/release-notes-4.1-0-de.html

If this error occurs again, please use "Clone This Bug".