You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$result = $this->connection->executeQuery('SELECT VERSION FROM PRODUCT_COMPONENT_VERSION');
113
+
$version = $result->fetchOne();
114
+
$result->closeCursor();
115
+
$versionLower = strtolower($version);
116
+
// we only care about X.Y not X.Y.Z differences
117
+
[$major, $minor, ] = explode('.', $versionLower);
118
+
$versionConcern = $major . '.' . $minor;
119
+
if (version_compare($versionConcern, self::MIN_ORACLE, '<') || version_compare($versionConcern, self::MAX_ORACLE, '>')) {
120
+
$extendedWarning = '';
121
+
if (version_compare($versionConcern, self::MIN_ORACLE, '<')) {
122
+
$extendedWarning = "\n" . $this->l10n->t('Nextcloud %d does not support your current version, so be sure to update the database before updating your Nextcloud Server.', [33]);
123
+
}
124
+
return SetupResult::warning(
125
+
$this->l10n->t(
126
+
'Oracle version "%1$s" detected. Oracle >=%2$s and <=%3$s is suggested for best performance, stability and functionality with this version of Nextcloud.',
$this->l10n->t('SQLite is currently being used as the backend database. For larger installations we recommend that you switch to a different database backend. This is particularly recommended when using the desktop client for file synchronisation. To migrate to another database use the command line tool: "occ db:convert-type".'),
0 commit comments