diff --git a/lib/base.php b/lib/base.php index 2e6e2a65d80fc..3d9cca12a5a26 100644 --- a/lib/base.php +++ b/lib/base.php @@ -727,6 +727,8 @@ public static function init() { // Make sure that the application class is not loaded before the database is setup if ($systemConfig->getValue("installed", false)) { OC_App::loadApp('settings'); + /* Build core application to make sure that listeners are registered */ + self::$server->get(\OC\Core\Application::class); } //make sure temporary files are cleaned up