diff --git a/lib/base.php b/lib/base.php index 91544c949c248..0f08102c81f56 100644 --- a/lib/base.php +++ b/lib/base.php @@ -365,7 +365,10 @@ private static function printUpgradePage(\OC\SystemConfig $systemConfig) { $oldTheme = $systemConfig->getValue('theme'); $systemConfig->setValue('theme', ''); - OC_Util::addScript('update'); + OC_Util::addScript('core', 'common'); + OC_Util::addScript('core', 'main'); + OC_Util::addTranslations('core'); + OC_Util::addScript('update', null, 'core'); /** @var \OC\App\AppManager $appManager */ $appManager = \OC::$server->getAppManager();