Merge pull request #106473 from Ma27/improve-nextcloud-error

nixos/nextcloud: improve error message for invalid `dbpassFile`
This commit is contained in:
Maximilian Bosch
2020-12-10 18:28:50 +01:00
committed by GitHub

View File

@@ -391,7 +391,9 @@ in {
$file = "${c.dbpassFile}";
if (!file_exists($file)) {
throw new \RuntimeException(sprintf(
"Cannot start Nextcloud, dbpass file %s set by NixOS doesn't exist!",
"Cannot start Nextcloud, dbpass file %s set by NixOS doesn't seem to "
. "exist! Please make sure that the file exists and has appropriate "
. "permissions for user & group 'nextcloud'!",
$file
));
}