Forums » Tutorial and setups »
[SOLVED]Tvheadend 4.1 Internal EPG grabber issues
Added by Hyperion Moderkart over 7 years ago
Hello,
I'm running Tvheadend on Synology and its working great. The issue that I'm facing is that if I try to run the server as daemon using the -f flag(this is the way Synology is loading it through DSM), the tv_grab_file is not loading. However if I remove the flag or start it manually through SSH then it loads normally.
Any ideas why this is happening?
Thanks in advance.
Replies (2)
RE: Tvheadend 4.1 Internal EPG grabber issues - Added by Mark Clarkstone over 7 years ago
The -u & -g (user/group) args only work with --fork (-f). I'm guessing the user tv_grab_file hasn't been configured under the same user tvheadend is running as.
If you're starting it without the -f flag, tvheadend will be running as root/admin & will have no problems executing/accessing tv_grab_file.
Try switching to the user that tvheadend is running as & then run tv_grab_file & see if you get output/errors.
RE: Tvheadend 4.1 Internal EPG grabber issues - Added by Hyperion Moderkart over 7 years ago
Yeah actually it seems that permissions is indeed the issue... If I change the user and group inside the start-stop script then it works.
The thing is that I ran the chown tvheadend-testing:users tv_grab_file command as well as chmod 777 tv_grab_file but it doesn't seem to have helped.
Am I missing something?
Solved it: The issue was the folder that the file was laying in... I used a symlink but the tvheadend-testing user didn't have access to the origin folder that the symlink was pointing to. I gave read/write permissions to the user tvheadend-testing through DSM and it worked.