eduMFA
eduMFA copied to clipboard
Update not possible because of different path in EDUMFA_ENCFILE
An update of edumfa is not possible if a different path is specified in EDUMFA_ENCFILE. I think the bug is in
deploy/ubuntu-server/edumfa-apache2.postinst line 44
Steps to reproduce
- edit /etc/edumfa/edumfa.cfg: EDUMFA_ENCFILE = '/etc/edumfa/secrets/enckey'
- move enckey to this path
- run update
Expected outcome
successful update
Actual outcome
failed update
Configuration
- eduMFA version: 2.3.0
- Installation method: from Ubuntu packages
- Python version: 3.12.3
- Operating system: ubuntu 24.04
- Webserver: apache
- Token database: MySQL
Log file
chmod: cannot access '/etc/edumfa/enckey': No such file or directory
dpkg: Fehler beim Bearbeiten des Paketes edumfa-apache2 (--configure):
Mhm. That would require that we parse the config in the installation script. Could get a bit complex but let us check.