Werner Karl wrote:
> Thank you very much for your answer.
>
> My first suspicion was also that this
must be a permissions issue. This all seems so obvious. However, how much I'm looking into it, I can't find a permissions issue. If I "su - hts", I can access all files on the recording harddisk, I can create files and delete them again. And, just in case you wonder, the tvheadend binary is running with "-f -u hts -g video", and the hts user is member of the video group.
>
> My config files are owned by the hts user, however the rights are only for the user:
>
> [...]
>
> which should not be a problem. Timeshift works, btw.
>
> Another possible issue could be with mount options. I initially mounted the harddisk (ext4 fs) with the "defaults" option. It showed up that the "defaults" option includes the "noexec" option that could maybe lead to problems. Meanwhile I am mounting it only with "rw,auto" which should not lead to a problem. Nevertheless, the problem persists.
>
> My recordings however are not set to be written below /home/hts/.hts , I am mounting the recordings harddisk to /home/hts/tv and the recording system path is set to /home/hts/tv/tv in the appropriate recording profile.
>
> Further observations:
>
> As I stated before, the error on recording start is
> [...]
>
> After the end of the recording, tvheadend crashes:
> [...]
>
> This is a new observation, I probably should report that. This could be caused by a permissions problem or something else, but tvheadend should definitely not crash.
>
> Some more ideas?
Looks like you've found a bug, I recommend you open an issue.
Make sure you install the debug package (tvheadend-dbg) so that those missing (??:0) details are filled.
What also might help is enabling trace, I'm not sure whats needed off the top of my head but try running Tvheadend with --trace +all --debug +all --logfile /path/to/log.txt
Or do it like this in the webui (this way you only get a log that contains messages once it's enabled & not at the start of Tvheadend which tend to be
huge)..
http://i.imgur.com/auC0kwF.png?1
Make sure you temporarily remove users/passwords (backup your config then remove the users/passwords & restart).