Merge pull request #24787 from owncloud/fix-update-issue-on-master
Add the background jobs after the table was updated
This commit is contained in:
commit
ee1f4602f3
1 changed files with 7 additions and 2 deletions
|
@ -217,8 +217,6 @@ class Updater extends BasicEmitter {
|
||||||
try {
|
try {
|
||||||
Setup::updateHtaccess();
|
Setup::updateHtaccess();
|
||||||
Setup::protectDataDirectory();
|
Setup::protectDataDirectory();
|
||||||
// TODO: replace with the new repair step mechanism https://github.com/owncloud/core/pull/24378
|
|
||||||
Setup::installBackgroundJobs();
|
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new \Exception($e->getMessage());
|
throw new \Exception($e->getMessage());
|
||||||
}
|
}
|
||||||
|
@ -244,6 +242,13 @@ class Updater extends BasicEmitter {
|
||||||
if ($this->updateStepEnabled) {
|
if ($this->updateStepEnabled) {
|
||||||
$this->doCoreUpgrade();
|
$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
|
// update all shipped apps
|
||||||
$disabledApps = $this->checkAppsRequirements();
|
$disabledApps = $this->checkAppsRequirements();
|
||||||
$this->doAppUpgrade();
|
$this->doAppUpgrade();
|
||||||
|
|
Loading…
Reference in a new issue