That fixed the logs...now I can see the logs, but still no recordings are showing.
And tv app says on live tv : unable to play channel DVR failure.
I don't know if this is a clue or not, but in the past when the record engine was down, it would still play live tv with no issue.
Both the software and the HDHomerun status page show the engine is running yet live tv is dead
..
Thanks..
Synology SPK for DVR Record Engine
Re: Synology SPK for DVR Record Engine
That suggests not all is right still with permissions.fletchb1 wrote: ↑Sun Oct 14, 2018 4:02 pm That fixed the logs...now I can see the logs, but still no recordings are showing.
And tv app says on live tv : unable to play channel DVR failure.
I don't know if this is a clue or not, but in the past when the record engine was down, it would still play live tv with no issue.
Both the software and the HDHomerun status page show the engine is running yet live tv is dead
..
Thanks..
The engine runs as user http
You can check by SSH to the NAS and executing
Code: Select all
ps axo pid,user,group,cmd | grep hdh
Code: Select all
13526 http http /tmp/hdhomerun_record_arm start --conf /volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf
Should look like
Code: Select all
-rwxrwxrwx+ 1 http http 182114 Oct 14 16:25 20181014.log
drwxrwxrwx+ 2 http http 4096 Oct 10 20:59 A Million Little Things
Code: Select all
synoacltool -get /volume1/HDHomeRun/
Code: Select all
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [http(user)]
---------------------
[0] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[1] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
Re: Synology SPK for DVR Record Engine
Ok for first step I get this:
admin@starbuck:/volume1$ ps axo pid,user,group,cmd | grep hdh
5298 http root /tmp/hdhomerun_record_x64 start --conf /volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf
20000 admin users grep --color=auto hdh
For permissons (i used ls -la)
-rwxrwxrwx+ 1 http users 200659 Oct 10 18:59 20181010.log
-rwxrwxrwx+ 1 http users 175854 Oct 11 18:59 20181011.log
-rwxrwxrwx+ 1 http users 213748 Oct 12 18:59 20181012.log
-rwxrwxrwx+ 1 http users 162730 Oct 13 18:59 20181013.log
-rwxrwxrwx+ 1 http users 194266 Oct 14 16:58 20181014.log
drwxrwxrwx+ 1 http users 184 Oct 7 17:59 60 Minutes
drwxrwxrwx+ 1 http users 602 Sep 3 10:29 Adam-12
drwxrwxrwx+ 1 http users 2004 Sep 8 22:59 Battlestar Galactica
drwxrwxrwx+ 1 http users 1758 Sep 30 17:07 Bionic Woman
drwxrwxrwx+ 1 http users 312 Oct 12 20:59 Blue Bloods
drwxrwxrwx+ 1 http users 222 Sep 15 13:02 Bonanza
drwxrwxrwx+ 1 http users 268 Oct 13 21:59 Buck Rogers in the 25th Century
drwxrwxrwx+ 1 http users 240 Oct 8 20:59 Bull
drwxrwxrwx+ 1 http users 84 Apr 7 2018 Cannon
drwxrwxrwx+ 1 http users 30 Oct 14 11:45 CBS News Sunday Morning
drwxrwxrwx+ 1 http users 360 Oct 12 07:26 CBS This Morning
drwxrwxrwx+ 1 http users 324 Oct 13 05:59 CBS This Morning Saturday
drwxrwxrwx+ 1 http users 612 Oct 8 16:59 CHiPs
For the 3rd step I get this:
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
[0] user:admin:allow:rwxpdDaARWcCo:fd-- (level:0)
[1] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
[2] user:fletch:allow:rwxpdDaARWcCo:fd-- (level:0)
[3] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[4] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
Ok see anything wrong?
admin@starbuck:/volume1$ ps axo pid,user,group,cmd | grep hdh
5298 http root /tmp/hdhomerun_record_x64 start --conf /volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf
20000 admin users grep --color=auto hdh
For permissons (i used ls -la)
-rwxrwxrwx+ 1 http users 200659 Oct 10 18:59 20181010.log
-rwxrwxrwx+ 1 http users 175854 Oct 11 18:59 20181011.log
-rwxrwxrwx+ 1 http users 213748 Oct 12 18:59 20181012.log
-rwxrwxrwx+ 1 http users 162730 Oct 13 18:59 20181013.log
-rwxrwxrwx+ 1 http users 194266 Oct 14 16:58 20181014.log
drwxrwxrwx+ 1 http users 184 Oct 7 17:59 60 Minutes
drwxrwxrwx+ 1 http users 602 Sep 3 10:29 Adam-12
drwxrwxrwx+ 1 http users 2004 Sep 8 22:59 Battlestar Galactica
drwxrwxrwx+ 1 http users 1758 Sep 30 17:07 Bionic Woman
drwxrwxrwx+ 1 http users 312 Oct 12 20:59 Blue Bloods
drwxrwxrwx+ 1 http users 222 Sep 15 13:02 Bonanza
drwxrwxrwx+ 1 http users 268 Oct 13 21:59 Buck Rogers in the 25th Century
drwxrwxrwx+ 1 http users 240 Oct 8 20:59 Bull
drwxrwxrwx+ 1 http users 84 Apr 7 2018 Cannon
drwxrwxrwx+ 1 http users 30 Oct 14 11:45 CBS News Sunday Morning
drwxrwxrwx+ 1 http users 360 Oct 12 07:26 CBS This Morning
drwxrwxrwx+ 1 http users 324 Oct 13 05:59 CBS This Morning Saturday
drwxrwxrwx+ 1 http users 612 Oct 8 16:59 CHiPs
For the 3rd step I get this:
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
[0] user:admin:allow:rwxpdDaARWcCo:fd-- (level:0)
[1] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
[2] user:fletch:allow:rwxpdDaARWcCo:fd-- (level:0)
[3] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[4] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
Ok see anything wrong?
Re: Synology SPK for DVR Record Engine
I think so.fletchb1 wrote: ↑Sun Oct 14, 2018 4:42 pm Ok for first step I get this:
admin@starbuck:/volume1$ ps axo pid,user,group,cmd | grep hdh
5298 http root /tmp/hdhomerun_record_x64 start --conf /volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf
20000 admin users grep --color=auto hdh
For permissons (i used ls -la)
-rwxrwxrwx+ 1 http users 200659 Oct 10 18:59 20181010.log
-rwxrwxrwx+ 1 http users 175854 Oct 11 18:59 20181011.log
-rwxrwxrwx+ 1 http users 213748 Oct 12 18:59 20181012.log
-rwxrwxrwx+ 1 http users 162730 Oct 13 18:59 20181013.log
-rwxrwxrwx+ 1 http users 194266 Oct 14 16:58 20181014.log
drwxrwxrwx+ 1 http users 184 Oct 7 17:59 60 Minutes
drwxrwxrwx+ 1 http users 602 Sep 3 10:29 Adam-12
drwxrwxrwx+ 1 http users 2004 Sep 8 22:59 Battlestar Galactica
drwxrwxrwx+ 1 http users 1758 Sep 30 17:07 Bionic Woman
drwxrwxrwx+ 1 http users 312 Oct 12 20:59 Blue Bloods
drwxrwxrwx+ 1 http users 222 Sep 15 13:02 Bonanza
drwxrwxrwx+ 1 http users 268 Oct 13 21:59 Buck Rogers in the 25th Century
drwxrwxrwx+ 1 http users 240 Oct 8 20:59 Bull
drwxrwxrwx+ 1 http users 84 Apr 7 2018 Cannon
drwxrwxrwx+ 1 http users 30 Oct 14 11:45 CBS News Sunday Morning
drwxrwxrwx+ 1 http users 360 Oct 12 07:26 CBS This Morning
drwxrwxrwx+ 1 http users 324 Oct 13 05:59 CBS This Morning Saturday
drwxrwxrwx+ 1 http users 612 Oct 8 16:59 CHiPs
For the 3rd step I get this:
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
[0] user:admin:allow:rwxpdDaARWcCo:fd-- (level:0)
[1] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
[2] user:fletch:allow:rwxpdDaARWcCo:fd-- (level:0)
[3] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[4] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
Ok see anything wrong?
Try specifically to add http user to the acl
I suspect because the process is running as root group not http it's being blockedby acl, while file permissions are ok
Re: Synology SPK for DVR Record Engine
How do I do that? I have only done permissions in unix.
Let me ask you this..if this doesn't work, can I just copy the conf back to it's original name/location so I get the tv working again?
Thanks.
Let me ask you this..if this doesn't work, can I just copy the conf back to it's original name/location so I get the tv working again?
Thanks.
Re: Synology SPK for DVR Record Engine
No..
The conf file won't help. It's the match of executable permissions.
Easiest is to set the recordable back to the spk default folder then move the recordings to the new /volume1/HdhomerunDVR folder and fix file permissions of the recordings
Anyway, try this to add the user http to the acls
Code: Select all
sudo synoacltool -add /volume1/HDHomeRun user:http:allow:rwxpdDaARWc--:fd--
Re: Synology SPK for DVR Record Engine
Ok that last command line did it!! As soon as I did that, the recordings appeared and the dvr started recording 2 shows in the queue.
one more ?
When they update the record the engine again, do I just download the spk from google drive and reinstall? And if so will it preserve my settings or will I have to do this again?
Thanks for your help tonight! I will be glad to send you a paypal donation for getting me going again (and my gf off my back about the broken tv)..
Thanks...Fletch
one more ?
When they update the record the engine again, do I just download the spk from google drive and reinstall? And if so will it preserve my settings or will I have to do this again?
Thanks for your help tonight! I will be glad to send you a paypal donation for getting me going again (and my gf off my back about the broken tv)..
Thanks...Fletch
Re: Synology SPK for DVR Record Engine
Next time u just install the update and it should automatically keep all the settings.fletchb1 wrote: ↑Sun Oct 14, 2018 5:56 pm Ok that last command line did it!! As soon as I did that, the recordings appeared and the dvr started recording 2 shows in the queue.
one more ?
When they update the record the engine again, do I just download the spk from google drive and reinstall? And if so will it preserve my settings or will I have to do this again?
Thanks for your help tonight! I will be glad to send you a paypal donation for getting me going again (and my gf off my back about the broken tv)..
Thanks...Fletch
Thanks for the thought, no need for donation though, happy to get u up and running.
Re: Synology SPK for DVR Record Engine
Thanks again!
Re: Synology SPK for DVR Record Engine
Hi,
Have a ? about re-installation :
This weekend I am getting a new nas and wondering if I would be better to just do a new install or try to do a restore?
I ask because I had those issues installing the spk over my existing hdhomerun install a couple of weeks ago.
I am going from a synology 2 bay to 4 bay model and it does have the option of backup/ restore between the 2. But if a clean install would be easier and then just copy my existing shows over to the new nas/hd install I would certainly go that way.
What do you think?
Thanks!
Have a ? about re-installation :
This weekend I am getting a new nas and wondering if I would be better to just do a new install or try to do a restore?
I ask because I had those issues installing the spk over my existing hdhomerun install a couple of weeks ago.
I am going from a synology 2 bay to 4 bay model and it does have the option of backup/ restore between the 2. But if a clean install would be easier and then just copy my existing shows over to the new nas/hd install I would certainly go that way.
What do you think?
Thanks!
Re: Synology SPK for DVR Record Engine
if its just recordings.. clean install and scp those files all the wayfletchb1 wrote: ↑Thu Oct 25, 2018 9:38 pm Hi,
Have a ? about re-installation :
This weekend I am getting a new nas and wondering if I would be better to just do a new install or try to do a restore?
I ask because I had those issues installing the spk over my existing hdhomerun install a couple of weeks ago.
I am going from a synology 2 bay to 4 bay model and it does have the option of backup/ restore between the 2. But if a clean install would be easier and then just copy my existing shows over to the new nas/hd install I would certainly go that way.
What do you think?
Thanks!
but thats just me
Re: Synology SPK for DVR Record Engine
That is what I am doing...thanks!
Re: Synology SPK for DVR Record Engine
I’m trying to find how to relocate my HD Homerun folder from Volume 1 to my shared folders so I can more easily manage my recordings. Can anyone point me in the right direction?
Thanks!
Thanks!
Re: Synology SPK for DVR Record Engine
Ok new install went fine but I think I have the same permission problems, When it installed it still defaulted to the Hdhomerun share (that did not exist at that point on the new nas). I used rsync (well their gui version) to copy the recordings over.
I want to try and figure this out myself
I going to do what you told me last time,,I understood most of it except ACL (that one is new to me least in linux)...but I want to ask you about one weird thing I noticed:
It recorded one show but for the heck of me I can't find it anywhere on in the share. If it can't write to the share because of permission or acl problems, where would it put it? I actually have the record engine running on both nas units and the old nas recorded like it should and it shows up in the share. Weird!!
I want to try and figure this out myself
I going to do what you told me last time,,I understood most of it except ACL (that one is new to me least in linux)...but I want to ask you about one weird thing I noticed:
It recorded one show but for the heck of me I can't find it anywhere on in the share. If it can't write to the share because of permission or acl problems, where would it put it? I actually have the record engine running on both nas units and the old nas recorded like it should and it shows up in the share. Weird!!
Re: Synology SPK for DVR Record Engine
It's the acl problem again. Owner is root, but this time it won't let me change it. Command line just ignores the change. They also have a gui called permissions inspector but it doesn't work.
Try again tomorrow when I am fully awake...
Try again tomorrow when I am fully awake...