aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-19 13:50:02 +0200
committerGitHub <noreply@github.com>2024-09-19 13:50:02 +0200
commit7307671ed511cf83590cbdda7c5bf7584c30fbe1 (patch)
tree63cfda8de8db9f29b2810351dd89578c6297a001
parent90fa0f1a846f1f02a99ac253b4c4a2bfd515c0af (diff)
parente019eae347704a6e73ad3097ffafdb1fd88f644d (diff)
downloadnextcloud-server-7307671ed511cf83590cbdda7c5bf7584c30fbe1.tar.gz
nextcloud-server-7307671ed511cf83590cbdda7c5bf7584c30fbe1.zip
Merge pull request #45471 from nextcloud/fix-setupcheck-filelocking
fix(setupChecks): Update Transactional File Locking instructions
-rw-r--r--apps/settings/lib/SetupChecks/FileLocking.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/settings/lib/SetupChecks/FileLocking.php b/apps/settings/lib/SetupChecks/FileLocking.php
index ffd7714ddc1..f683ee05f03 100644
--- a/apps/settings/lib/SetupChecks/FileLocking.php
+++ b/apps/settings/lib/SetupChecks/FileLocking.php
@@ -26,7 +26,7 @@ class FileLocking implements ISetupCheck {
}
public function getName(): string {
- return $this->l10n->t('File locking');
+ return $this->l10n->t('Transactional File Locking');
}
public function getCategory(): string {
@@ -43,8 +43,8 @@ class FileLocking implements ISetupCheck {
public function run(): SetupResult {
if (!$this->hasWorkingFileLocking()) {
- return SetupResult::warning(
- $this->l10n->t('Transactional file locking is disabled, this might lead to issues with race conditions. Enable "filelocking.enabled" in config.php to avoid these problems.'),
+ return SetupResult::error(
+ $this->l10n->t('Transactional File Locking is disabled. This is not a a supported configuraton. It may lead to difficult to isolate problems including file corruption. Please remove the `\'filelocking.enabled\' => false` configuration entry from your `config.php` to avoid these problems.'),
$this->urlGenerator->linkToDocs('admin-transactional-locking')
);
}