diff --git a/core/Command/Maintenance/Repair.php b/core/Command/Maintenance/Repair.php index 460bc6880c..a013ade99c 100644 --- a/core/Command/Maintenance/Repair.php +++ b/core/Command/Maintenance/Repair.php @@ -96,6 +96,7 @@ class Repair extends Command { if (!is_array($info)) { continue; } + \OC_App::loadApp($app); $steps = $info['repair-steps']['post-migration']; foreach ($steps as $step) { try {