mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Merge pull request #5042 from mbrgm/upgrade-docs-link
Add link to upgrade documentation to DB IDO log message
This commit is contained in:
commit
452f8a1f0d
@ -303,7 +303,8 @@ void IdoMysqlConnection::Reconnect(void)
|
|||||||
|
|
||||||
Log(LogCritical, "IdoMysqlConnection")
|
Log(LogCritical, "IdoMysqlConnection")
|
||||||
<< "Schema version '" << version << "' does not match the required version '"
|
<< "Schema version '" << version << "' does not match the required version '"
|
||||||
<< IDO_COMPAT_SCHEMA_VERSION << "' (or newer)! Please check the upgrade documentation.";
|
<< IDO_COMPAT_SCHEMA_VERSION << "' (or newer)! Please check the upgrade documentation at "
|
||||||
|
<< "https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/upgrading-icinga-2#upgrading-mysql-db";
|
||||||
|
|
||||||
BOOST_THROW_EXCEPTION(std::runtime_error("Schema version mismatch."));
|
BOOST_THROW_EXCEPTION(std::runtime_error("Schema version mismatch."));
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,8 @@ void IdoPgsqlConnection::Reconnect(void)
|
|||||||
|
|
||||||
Log(LogCritical, "IdoPgsqlConnection")
|
Log(LogCritical, "IdoPgsqlConnection")
|
||||||
<< "Schema version '" << version << "' does not match the required version '"
|
<< "Schema version '" << version << "' does not match the required version '"
|
||||||
<< IDO_COMPAT_SCHEMA_VERSION << "' (or newer)! Please check the upgrade documentation.";
|
<< IDO_COMPAT_SCHEMA_VERSION << "' (or newer)! Please check the upgrade documentation at "
|
||||||
|
<< "https://docs.icinga.com/icinga2/latest/doc/module/icinga2/chapter/upgrading-icinga-2#upgrading-postgresql-db";
|
||||||
|
|
||||||
BOOST_THROW_EXCEPTION(std::runtime_error("Schema version mismatch."));
|
BOOST_THROW_EXCEPTION(std::runtime_error("Schema version mismatch."));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user