diff --git a/lib/private/Updater.php b/lib/private/Updater.php
index dbcaccaad2631d2060f41807830b1cf35f28f153..88d785303dc4905aedadcc19886232f47c369b4a 100644
--- a/lib/private/Updater.php
+++ b/lib/private/Updater.php
@@ -216,8 +216,6 @@ class Updater extends BasicEmitter {
 		try {
 			Setup::updateHtaccess();
 			Setup::protectDataDirectory();
-			// TODO: replace with the new repair step mechanism https://github.com/owncloud/core/pull/24378
-			Setup::installBackgroundJobs();
 		} catch (\Exception $e) {
 			throw new \Exception($e->getMessage());
 		}
@@ -243,6 +241,13 @@ class Updater extends BasicEmitter {
 		if ($this->updateStepEnabled) {
 			$this->doCoreUpgrade();
 
+			try {
+				// TODO: replace with the new repair step mechanism https://github.com/owncloud/core/pull/24378
+				Setup::installBackgroundJobs();
+			} catch (\Exception $e) {
+				throw new \Exception($e->getMessage());
+			}
+
 			// update all shipped apps
 			$disabledApps = $this->checkAppsRequirements();
 			$this->doAppUpgrade();