Can you check your browser console for a Content-Security-Policy
error when trying to enable an app?
Might be this: [Bug]: Can't enable or disable apps after upgrade to v28.0.4 路 Issue #44685 路 nextcloud/server 路 GitHub
Temporary workaround: occ
commands work for deploying apps.