Issue #2538274 by pwolanin, Wim Leers, dawehner: DbUpdateController has broken mainteneance mode logic, and update.php doesn't run due to aggregated JS assets