3
0
Fork 0
forked from mirrors/nixpkgs

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
commit 21be5b00da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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
));
}