aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-05-22 19:00:16 +0200
committerGitHub <noreply@github.com>2024-05-22 19:00:16 +0200
commit2f8176f57b9f02153a9d9a9b9ef89115e7bea9bb (patch)
tree45f8534e4fdc94251b6da3c28796e27354efcdd6 /core
parent221883fa5bbe68587578b76f2bb7b20404c9b39c (diff)
parent2ccde6f231473690c5f8e336405944857aaf1af9 (diff)
downloadnextcloud-server-2f8176f57b9f02153a9d9a9b9ef89115e7bea9bb.tar.gz
nextcloud-server-2f8176f57b9f02153a9d9a9b9ef89115e7bea9bb.zip
Merge pull request #45400 from nextcloud/temp-db-replica-loss-prevention
fix(db): Prevent data loss by temporarily disabling `db:convert-type`
Diffstat (limited to 'core')
-rw-r--r--core/Command/Db/ConvertType.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/core/Command/Db/ConvertType.php b/core/Command/Db/ConvertType.php
index db618e938c0..4d95ee50c4e 100644
--- a/core/Command/Db/ConvertType.php
+++ b/core/Command/Db/ConvertType.php
@@ -177,6 +177,13 @@ class ConvertType extends Command implements CompletionAwareInterface {
}
protected function execute(InputInterface $input, OutputInterface $output): int {
+ // WARNING:
+ // Leave in place until #45257 is addressed to prevent data loss (hopefully in time for the next maintenance release)
+ //
+ throw new \InvalidArgumentException(
+ 'This command is temporarily disabled (until the next maintenance release).'
+ );
+
$this->validateInput($input, $output);
$this->readPassword($input, $output);