setup-apps job should enable app store before running
We have disabled the app store so users cannot install plugins (which are basically random pieces of PHP code) unless we think it's a good idea.
But our setup-apps
script adds the apps that we've whitelisted. It does so by running the occ app:install
command. But that command fails when the appstore is disabled.
Solution:
Run the following around the install
commands in the job:
php occ config:system:set appstoreenabled --type boolean --value true
...
<install commands go here>
...
php occ config:system:set appstoreenabled --type boolean --value false