System: High Availability: Settings - fail migration when configd has not been started. (https://github.com/opnsense/core/issues/7485)

This commit is contained in:
Ad Schellevis 2024-07-10 18:09:25 +02:00
parent 0f86d8a06c
commit b767d8b4d5

View File

@ -57,6 +57,8 @@ class MHA1_0_0 extends BaseModelMigration
if (!empty((string)$model->pfsyncenabled)) {
$model->pfsyncversion = '1301'; // on upgrade keep legacy pfsync version
}
} else {
throw new \Exception('Missing (configd) ha options list');
}
}
}