diff --git a/lib/private/Repair/Apps.php b/lib/private/Repair/Apps.php index df683a85b48a..42cc7c3fe666 100644 --- a/lib/private/Repair/Apps.php +++ b/lib/private/Repair/Apps.php @@ -112,6 +112,10 @@ public function run(IOutput $output) { if($isCoreUpdate && $requiresMarketEnable) { // Then we need to enable the market app to support app updates / downloads during upgrade $output->info('Enabling market app to assist with update'); + // delete old value that might influence old APIs + if ($this->config->getSystemValue('appstoreenabled', null) !== null) { + $this->config->deleteSystemValue('appstoreenabled'); + } $this->appManager->enableApp('market'); }