From f3e75c085c55640f0e9f6642c41a81ead20e0a69 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 28 Nov 2014 16:08:38 +0100 Subject: [PATCH 1/3] Disable MSSQL for new CE installations Since automatic schema migrations are not yet possible let's disable this for now. --- lib/private/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/setup.php b/lib/private/setup.php index 45c97bbd225..f9edf9be679 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -88,7 +88,7 @@ class OC_Setup { ) ); $configuredDatabases = $this->config->getSystemValue('supportedDatabases', - array('sqlite', 'mysql', 'pgsql', 'oci', 'mssql')); + array('sqlite', 'mysql', 'pgsql', 'oci')); if(!is_array($configuredDatabases)) { throw new Exception('Supported databases are not properly configured.'); } From 9a8dc4a832fad9264ea3a09d33b441bf0fb1717d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 28 Nov 2014 16:23:03 +0100 Subject: [PATCH 2/3] Disable OCI as it is unsupported by most CE apps --- lib/private/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/setup.php b/lib/private/setup.php index f9edf9be679..1443de18546 100644 --- a/lib/private/setup.php +++ b/lib/private/setup.php @@ -88,7 +88,7 @@ class OC_Setup { ) ); $configuredDatabases = $this->config->getSystemValue('supportedDatabases', - array('sqlite', 'mysql', 'pgsql', 'oci')); + array('sqlite', 'mysql', 'pgsql')); if(!is_array($configuredDatabases)) { throw new Exception('Supported databases are not properly configured.'); } From 18b6fc93329a31fc5578ab359878079a900387d5 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Fri, 28 Nov 2014 16:58:09 +0100 Subject: [PATCH 3/3] Adjust sample config --- config/config.sample.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config.sample.php b/config/config.sample.php index 433ff9af0fb..26cc356fd04 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -831,7 +831,7 @@ $CONFIG = array( /** * Database types that are supported for installation. (SQLite is available only in - * ownCloud Community Edition) + * ownCloud Community Edition, oci and mssql only for the Enterprise Edition) * * Available: * - sqlite (SQLite3)