Merge pull request #106473 from Ma27/improve-nextcloud-error
nixos/nextcloud: improve error message for invalid `dbpassFile`
This commit is contained in:
commit
21be5b00da
@ -391,7 +391,9 @@ in {
|
|||||||
$file = "${c.dbpassFile}";
|
$file = "${c.dbpassFile}";
|
||||||
if (!file_exists($file)) {
|
if (!file_exists($file)) {
|
||||||
throw new \RuntimeException(sprintf(
|
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
|
$file
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user