Synology SPK for DVR Record Engine

Downloads & Instructions
Post Reply
Impact-Players
Posts: 13
Joined: Mon Dec 11, 2017 10:49 pm

Re: Synology SPK for DVR Record Engine

Post by Impact-Players »

Hi,

When I go to create the share folder HDHomeRunDVR I get the error: The operation failed. Please log in to DSM again and retry. I do this and still get the same error.
Any ideas? Thanks

MNOiSY
Posts: 90
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

Impact-Players wrote: Wed Jan 29, 2020 3:58 am Hi,

When I go to create the share folder HDHomeRunDVR I get the error: The operation failed. Please log in to DSM again and retry. I do this and still get the same error.
Any ideas? Thanks
Are you getting the error you are getting on your Synology when you create the share or when setting things up in the app interface?

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Impact-Players wrote: Wed Jan 29, 2020 3:58 am Hi,

When I go to create the share folder HDHomeRunDVR I get the error: The operation failed. Please log in to DSM again and retry. I do this and still get the same error.
Any ideas? Thanks
I need more context. What have you done so far and what are you trying to do.

Impact-Players
Posts: 13
Joined: Mon Dec 11, 2017 10:49 pm

Re: Synology SPK for DVR Record Engine

Post by Impact-Players »

demonrik wrote: Wed Jan 29, 2020 9:47 am
Impact-Players wrote: Wed Jan 29, 2020 3:58 am Hi,

When I go to create the share folder HDHomeRunDVR I get the error: The operation failed. Please log in to DSM again and retry. I do this and still get the same error.
Any ideas? Thanks
I need more context. What have you done so far and what are you trying to do.
Hi, I am not very tech savy, and I have included some screenshots which I hope work.
1. Synology SPK
2. No UI -> open_basedir
3. Error 500 when loading UI webpage
4. How to expose the default RecordPath as a share (or even just see it in FileStation) - Getting error when I try this step
https://cms.jotform.com/uploads/image_u ... apture.JPG
https://cms.jotform.com/uploads/image_u ... pture1.JPG
https://cms.jotform.com/uploads/image_u ... pture2.JPG
https://cms.jotform.com/uploads/image_u ... pture3.JPG

Many thanks

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Impact-Players wrote: Wed Jan 29, 2020 3:29 pm
demonrik wrote: Wed Jan 29, 2020 9:47 am
Impact-Players wrote: Wed Jan 29, 2020 3:58 am Hi,

When I go to create the share folder HDHomeRunDVR I get the error: The operation failed. Please log in to DSM again and retry. I do this and still get the same error.
Any ideas? Thanks
I need more context. What have you done so far and what are you trying to do.
Hi, I am not very tech savy, and I have included some screenshots which I hope work.
1. Synology SPK
2. No UI -> open_basedir
3. Error 500 when loading UI webpage
4. How to expose the default RecordPath as a share (or even just see it in FileStation) - Getting error when I try this step
https://cms.jotform.com/uploads/image_u ... apture.JPG
https://cms.jotform.com/uploads/image_u ... pture1.JPG
https://cms.jotform.com/uploads/image_u ... pture2.JPG
https://cms.jotform.com/uploads/image_u ... pture3.JPG

Many thanks
Looks like your DVR is working - I see a log file at least.
So is just the making the folder available as a share.

Are you doing the share as an admin user?
Maybe try using the synoacltool to add the specific user - i.e. replace group:http with user:name
example:

Code: Select all

sudo synoacltool -add /volume1/HDHomeRunDVR user:name:allow:rwxpdDaARWc--:fd--
I'm away from my synology for the next 2 days.. so can't do too much more investigation.. but back over weekend and will be able to deep dive a little better then

Impact-Players
Posts: 13
Joined: Mon Dec 11, 2017 10:49 pm

Re: Synology SPK for DVR Record Engine

Post by Impact-Players »

demonrik wrote: Wed Jan 29, 2020 5:06 pm
Impact-Players wrote: Wed Jan 29, 2020 3:29 pm
demonrik wrote: Wed Jan 29, 2020 9:47 am

I need more context. What have you done so far and what are you trying to do.
Hi, I am not very tech savy, and I have included some screenshots which I hope work.
1. Synology SPK
2. No UI -> open_basedir
3. Error 500 when loading UI webpage
4. How to expose the default RecordPath as a share (or even just see it in FileStation) - Getting error when I try this step
https://cms.jotform.com/uploads/image_u ... apture.JPG
https://cms.jotform.com/uploads/image_u ... pture1.JPG
https://cms.jotform.com/uploads/image_u ... pture2.JPG
https://cms.jotform.com/uploads/image_u ... pture3.JPG

Many thanks
Looks like your DVR is working - I see a log file at least.
So is just the making the folder available as a share.

Are you doing the share as an admin user?
Maybe try using the synoacltool to add the specific user - i.e. replace group:http with user:name
example:

Code: Select all

sudo synoacltool -add /volume1/HDHomeRunDVR user:name:allow:rwxpdDaARWc--:fd--
I'm away from my synology for the next 2 days.. so can't do too much more investigation.. but back over weekend and will be able to deep dive a little better then
Thank you for your time. Yes, I logged into DMS using admin. Tried the above, same issue.My Plex now has HDHomeRunDVR folder as no items, but the UI has a recording available to watch. Is there a way to uninstall so I can start fresh? Thanks again

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Impact-Players wrote: Wed Jan 29, 2020 8:59 pm
demonrik wrote: Wed Jan 29, 2020 5:06 pm
Impact-Players wrote: Wed Jan 29, 2020 3:29 pm

Hi, I am not very tech savy, and I have included some screenshots which I hope work.
1. Synology SPK
2. No UI -> open_basedir
3. Error 500 when loading UI webpage
4. How to expose the default RecordPath as a share (or even just see it in FileStation) - Getting error when I try this step
https://cms.jotform.com/uploads/image_u ... apture.JPG
https://cms.jotform.com/uploads/image_u ... pture1.JPG
https://cms.jotform.com/uploads/image_u ... pture2.JPG
https://cms.jotform.com/uploads/image_u ... pture3.JPG

Many thanks
Looks like your DVR is working - I see a log file at least.
So is just the making the folder available as a share.

Are you doing the share as an admin user?
Maybe try using the synoacltool to add the specific user - i.e. replace group:http with user:name
example:

Code: Select all

sudo synoacltool -add /volume1/HDHomeRunDVR user:name:allow:rwxpdDaARWc--:fd--
I'm away from my synology for the next 2 days.. so can't do too much more investigation.. but back over weekend and will be able to deep dive a little better then
Thank you for your time. Yes, I logged into DMS using admin. Tried the above, same issue.My Plex now has HDHomeRunDVR folder as no items, but the UI has a recording available to watch. Is there a way to uninstall so I can start fresh? Thanks again
Apologies - my hotel last night's router was blocked from posting here :( but good to know SD's anti-span thing is working
Anyway,
Fastest thing I think for you is to copy what I suggested for @ppasteur here viewtopic.php?p=350850#p350850

Impact-Players
Posts: 13
Joined: Mon Dec 11, 2017 10:49 pm

Re: Synology SPK for DVR Record Engine

Post by Impact-Players »

demonrik wrote: Thu Jan 30, 2020 4:28 pm
Impact-Players wrote: Wed Jan 29, 2020 8:59 pm
demonrik wrote: Wed Jan 29, 2020 5:06 pm
Looks like your DVR is working - I see a log file at least.
So is just the making the folder available as a share.

Are you doing the share as an admin user?
Maybe try using the synoacltool to add the specific user - i.e. replace group:http with user:name
example:

Code: Select all

sudo synoacltool -add /volume1/HDHomeRunDVR user:name:allow:rwxpdDaARWc--:fd--
I'm away from my synology for the next 2 days.. so can't do too much more investigation.. but back over weekend and will be able to deep dive a little better then
Thank you for your time. Yes, I logged into DMS using admin. Tried the above, same issue.My Plex now has HDHomeRunDVR folder as no items, but the UI has a recording available to watch. Is there a way to uninstall so I can start fresh? Thanks again
Apologies - my hotel last night's router was blocked from posting here :( but good to know SD's anti-span thing is working
Anyway,
Fastest thing I think for you is to copy what I suggested for @ppasteur here viewtopic.php?p=350850#p350850
Thanks for your time and your help has been very much appreciated. Thanks again

NTC
Posts: 71
Joined: Sat Apr 13, 2019 2:26 pm
Device ID: 10751B42, 108007F1

Re: Synology SPK for DVR Record Engine

Post by NTC »

2 Items

First, about 2 weeks ago, I upgraded to beta release 20200121beta1 and noticed that it removed all permissions for administrators to the HDHomeRunDVR folder, not sure why that happened. It only allows the http group, and that is set at a customized permission. Was this by design or it should not have mess with my permissions?

Second, today I went to my.homerun.com to check the channel count and noticed it was informing me that the DVR engine (the one mentioned above) and firmware were not up to date. I was able to upgrade the firmware but didn't see any new package for the Synology. Will an update be coming out shortly?

Thanks

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

NTC wrote: Wed Feb 26, 2020 2:57 pm 2 Items

First, about 2 weeks ago, I upgraded to beta release 20200121beta1 and noticed that it removed all permissions for administrators to the HDHomeRunDVR folder, not sure why that happened. It only allows the http group, and that is set at a customized permission. Was this by design or it should not have mess with my permissions?
That should not have happened - I will check on my side to see if there is something that got screwed up. It should detect the folder already exists and not do anything to it as the assumption should be that you have it setup to your liking and it's working..
Second, today I went to my.homerun.com to check the channel count and noticed it was informing me that the DVR engine (the one mentioned above) and firmware were not up to date. I was able to upgrade the firmware but didn't see any new package for the Synology. Will an update be coming out shortly?
There was a new release of the software made just as I left for a trip. I swear SD are monitoring my tripit account and releasing engine updates when they see I'm not able to do package updates!!
I'm on my way home, and will do the new package builds for tomorrow.
Thanks
You're welcome

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Removed - see OP for correct version and link
Last edited by demonrik on Fri Oct 01, 2021 4:28 pm, edited 1 time in total.

NTC
Posts: 71
Joined: Sat Apr 13, 2019 2:26 pm
Device ID: 10751B42, 108007F1

Re: Synology SPK for DVR Record Engine

Post by NTC »

demonrik wrote: Fri Feb 28, 2020 2:30 pm NEW PACKAGE AVAILABLE
  • Updated Engine to latest release 20200225
To move to new package - simply do manual install of new package

new SPK HDHomeRunDVR-0.8.2.spk available in the usual locationsGoogle Drive, DropBox, OneDrive

Code is available on github
https://github.com/Silicondust/dvr_install
Thank you

fletchb1
Posts: 103
Joined: Fri Jun 23, 2017 11:39 am

Re: Synology SPK for DVR Record Engine

Post by fletchb1 »

demonrik wrote: Fri Feb 28, 2020 2:30 pm NEW PACKAGE AVAILABLE
  • Updated Engine to latest release 20200225
To move to new package - simply do manual install of new package

new SPK HDHomeRunDVR-0.8.2.spk available in the usual locationsGoogle Drive, DropBox, OneDrive

Code is available on github
https://github.com/Silicondust/dvr_install
Still working great..thank you!

Sion
Posts: 429
Joined: Fri Dec 28, 2012 12:18 pm

Re: Synology SPK for DVR Record Engine

Post by Sion »

Hey Rik!
Thanks so much for all your work and support for this great tool.
I *just* finally got around to installing it on my synology (i've had the nas and hdhr for years... since 2012 or so) and I can't believe I didn't install this sooner.
That said, I have one problem:
While all my old recordings are still on the NAS, I can't see them or any recording history through the HDHR app now.
I'm not very Linux savvy, so I wonder if I did something wrong, or if it's possible to restore this history? I can't browse all my recordings now.
Thanks...

demonrik
Posts: 1591
Joined: Mon May 04, 2015 10:03 am
Device ID: 108042A1, 10814D8E
x 38

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Sion wrote: Thu Apr 16, 2020 2:04 pm Hey Rik!
Thanks so much for all your work and support for this great tool.
I *just* finally got around to installing it on my synology (i've had the nas and hdhr for years... since 2012 or so) and I can't believe I didn't install this sooner.
That said, I have one problem:
While all my old recordings are still on the NAS, I can't see them or any recording history through the HDHR app now.
I'm not very Linux savvy, so I wonder if I did something wrong, or if it's possible to restore this history? I can't browse all my recordings now.
Thanks...
In the UI check and see if you have a log.
If you don't then likely your permissions for the folder aren't set right.
If you have a log, but it's not showing any recordings, we may have permissions issues on the files.

But first things first.
How did you switch to the SPK?
Did you change the RecordPath?
Or move the files in File station?

Post Reply