docs: Add nixos section to get automatic indexer running
When installing nextcloud (and possibly memories also) via nixos modules system, there is some nixos specific extra setup needed, otherwise the automatic indexer is not working. This is kind of a downstream issue, as for FHS distros its common to having perl available at `/usr/bin/perl` (and thus at PATH) but for nixos there is extra work needed.pull/900/head
parent
1744374329
commit
b3fa58937c
|
@ -129,3 +129,16 @@ occ config:system:delete memories.vod.ffmpeg
|
||||||
occ config:system:delete memories.vod.ffprobe
|
occ config:system:delete memories.vod.ffprobe
|
||||||
occ maintenance:repair
|
occ maintenance:repair
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Getting Memories: Indexing exception: failed to run exiftool on NixOS via automatic indexer
|
||||||
|
|
||||||
|
When using the nixos modules system for installation the indexer may fail on execution. In case the error is either `perl not found` or `failed to run exiftool: ...` it might be that the created nextcloud-cron services does not have access to a perl interpreter.
|
||||||
|
|
||||||
|
In that case adding perl to the path of the nextcloud-cron service might solve the issue.
|
||||||
|
It can be archived by adding the following snippet to the configuration.nix
|
||||||
|
|
||||||
|
```nix
|
||||||
|
systemd.services.nextcloud-cron = {
|
||||||
|
path = [pkgs.perl];
|
||||||
|
};
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in New Issue