зеркало из https://github.com/nextcloud/server.git
Expose the needupgrade status (#26209)
During upgrades, before the DB migration is complete, the system is not usable, but there's no way for monitoring systems to detect this. Add the 'needupgrade' field to the status json so monitoring systems can detect this. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Родитель
b946e3ecfb
Коммит
9963bdaeb9
|
@ -41,6 +41,7 @@ try {
|
|||
$values=array(
|
||||
'installed'=>$installed,
|
||||
'maintenance' => $maintenance,
|
||||
'needsDbUpgrade' => \OCP\Util::needUpgrade(),
|
||||
'version'=>implode('.', \OCP\Util::getVersion()),
|
||||
'versionstring'=>OC_Util::getVersionString(),
|
||||
'edition'=> '',
|
||||
|
|
Загрузка…
Ссылка в новой задаче