-
-
Notifications
You must be signed in to change notification settings - Fork 824
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev/core#1681 Add in deprecation notice for Systems using MySQL versions before 5.7 and require 5.5 for install #17261
Conversation
(Standard links)
|
Initially got some warnings about a bad diff --git a/CRM/Utils/Check/Component/Env.php b/CRM/Utils/Check/Component/Env.php
index dfa4b0ff5a..1995053efd 100644
--- a/CRM/Utils/Check/Component/Env.php
+++ b/CRM/Utils/Check/Component/Env.php
@@ -952,6 +952,7 @@ class CRM_Utils_Check_Component_Env extends CRM_Utils_Check_Component {
'fa-server'
);
}
+ return $messages;
}
} I ran this on In
In I think the (Note: If you think the "deprecated" message is a little soft, then maybe we should wordsmith it a bit. But I think it's proper to have different messages for systems with deprecated vs unsupported.) |
Just noting that while I think we should make it clear 5.5 & 5.6 are unsupported (per docs) I think the scope of this PR should be limited to technical consistency around < 5.5 - which should be uncontroversial |
afd5791
to
648b65e
Compare
@eileenmcnaughton @totten I have made changes to fix the test failures and also to have the check only activate if less than min install which would be 5.5 |
… of 5.7 Fix to use min install version
648b65e
to
965596b
Compare
OK - this addresses the things that were blocking this PR being merged. As discussed we should discuss further the best setting & whether we should also tell people if they are below the recommended version |
Jenkins re test this please |
Overview
This PR adds in a system check for CiviCRM installs using MySQL versions before 5.7. This also sets the minimum install version to be 5.5 but we could make it 5.7 instead if preferred.
See also: https://lab.civicrm.org/dev/core/-/issues/1681
Before
No status check around MySQL version and minimum install version if MySQL 5.1
After
status check around MySQL version and minimum install version if MySQL 5.5
ping @eileenmcnaughton @totten