I got privacyIDEA up and running and it works perfectly. Today I did apt-get update && apt-get upgrade and I got this output:
Setting up privacyidea-nginx (3.1.1-2bionic) ...
useradd: user 'privacyidea' already exists
ln: failed to create symbolic link '/etc/ssl/certs/privacyidea-bundle.crt': File exists
ln: failed to create symbolic link '/etc/ssl/private/privacyidea.key': File exists
_ _______ _______
___ ____(_) _____ _______ __/ _/ _ \/ __/ _ |
/ _ \/ __/ / |/ / _ `/ __/ // // // // / _// __ |
/ .__/_/ /_/|___/\_,_/\__/\_, /___/____/___/_/ |_|
/_/ /___/
()
The file
/etc/privacyidea/enckey
already exist. We do not overwrite it!
_ _______ _______
___ ____(_) _____ _______ __/ _/ _ \/ __/ _ |
/ _ \/ __/ / |/ / _ `/ __/ // // // // / _// __ |
/ .__/_/ /_/|___/\_,_/\__/\_, /___/____/___/_/ |_|
/_/ /___/
<SQLAlchemy engine=sqlite:////mnt/gluster/pi-data.sqlite>
_ _______ _______
___ ____(_) _____ _______ __/ _/ _ \/ __/ _ |
/ _ \/ __/ / |/ / _ `/ __/ // // // // / _// __ |
/ .__/_/ /_/|___/\_,_/\__/\_, /___/____/___/_/ |_|
/_/ /___/
The file
/etc/privacyidea/private.pem
already exist. We do not overwrite it!
dpkg: error processing package privacyidea-nginx (--configure):
installed privacyidea-nginx package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
privacyidea-nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)
I think there’s an error in the privacyidea-nginx.postinst script.
Please help me!