Had a dig through the Owncloud API to see if it is an issue with the
app.php ‘check enabled’. The occ command to verify its enabled is:
root@server:/var/www/owncloud# sudo -u www-data php occ config:app:get
user_privacyidea enabled
yes
I wonder if that command is returning a different value to app.phps’:
$enabled = OCP\Config::getAppValue(‘privacyIDEA’,‘enable_privacyidea’);