Thanks. That gives me a good start. My 'nix skills are limited, and all from MythTV and Ubuntu...long ago.
If I installed your latest spk on a brand new DS220+ with DSM 7, do you think the installation would "just work" or might still require adjustments?
Synology SPK for DVR Record Engine
-
- Posts: 22
- Joined: Wed Aug 11, 2021 6:23 am
- Location: Fort Wayne, Indiana
Re: Synology SPK for DVR Record Engine
first time installation will work on any NAS/DSM..AnalogBill wrote: ↑Fri Aug 13, 2021 11:46 am Thanks. That gives me a good start. My 'nix skills are limited, and all from MythTV and Ubuntu...long ago.
If I installed your latest spk on a brand new DS220+ with DSM 7, do you think the installation would "just work" or might still require adjustments?
It's only the update from older versions of the SPK to newest causes the issues.
And even then - if you're prepared to just clean house on that NAS and remove the SPK, share, logs, etc.. It also can be pretty seamless.
-
- Posts: 22
- Joined: Wed Aug 11, 2021 6:23 am
- Location: Fort Wayne, Indiana
Re: Synology SPK for DVR Record Engine
Thanks so much for your help. Success was easy when I just "cleaned house".
Re: Synology SPK for DVR Record Engine
New user here with first post regarding DVR not found error. Current hardware is Model: HDHR5-2US, Device ID: 1068924B Firmware: 20210624. Current pc is windows 10 using current Microsoft Store HDHomeRun app. DVR storage device is Synology NAS DS718+ running DSM 7 stable (DSM 7.0-41890). First DVR install was with hdhomerun_windows_20210720.exe which showed successful install via SSH but no DVR found. Uninstalled that & then did manual install of HDHomeRunDVR-1.1.0_DSM7.spk after installing web station & php 7.4. All of which installed without error but still getting DVR not found error from windows app & ip check (192.168.1.18/HDHomeRun DVR). Looking for next step guidance on resolving DVR not found error. TIA!
Re: Synology SPK for DVR Record Engine
Did you register your HDHR devices with the DVR service?Nethrick wrote: ↑Tue Aug 24, 2021 3:07 pm New user here with first post regarding DVR not found error. Current hardware is Model: HDHR5-2US, Device ID: 1068924B Firmware: 20210624. Current pc is windows 10 using current Microsoft Store HDHomeRun app. DVR storage device is Synology NAS DS718+ running DSM 7 stable (DSM 7.0-41890). First DVR install was with hdhomerun_windows_20210720.exe which showed successful install via SSH but no DVR found. Uninstalled that & then did manual install of HDHomeRunDVR-1.1.0_DSM7.spk after installing web station & php 7.4. All of which installed without error but still getting DVR not found error from windows app & ip check (192.168.1.18/HDHomeRun DVR). Looking for next step guidance on resolving DVR not found error. TIA!
What do you see when you browse to my.hdhomerun.com
Check the output of http://api.hdhomerun.com/discover - is the DVR device listed - would have a StorageID associated with the IP address
For your HDHR device - if you open it's discovery URL e.g. <ip>/discover.json do you get an DeviceAuth entry?
When you installed the SPK what do you see when you open <nas IP>/HDHomeRunDVR?
if the page is available - is there a log file listed? what does the bottom status bar say?
open the diagnostics by clicking the gear icon in the right of the toolbar - what is under the CONNECTIVTY CHECKS and HDHR Account sections?
in the latter in particular is AccountState = Active and DvrActive set to 1?
Re: Synology SPK for DVR Record Engine
THANKS! for quick response.
FYI, I assumed (correctly?) that additional firewall ports would have to be opened for Web Station, HDHomeRunDVR & 33024.
In doing so, it appears(assuming) that I've gained full DVR functionality without actually recording anything yet
so I have provided the following answers anyway:
Did you register your HDHR devices with the DVR service?
YES
What do you see when you browse to my.hdhomerun.com
HDHomeRun RECORD
Version 20210624
Check the output of http://api.hdhomerun.com/discover - is the DVR device listed
"DeviceID": "1068924B",
"LocalIP": "192.168.1.18",
"BaseURL": "http://192.168.1.18",
"DiscoverURL": "http://192.168.1.18/discover.json",
"LineupURL": "http://192.168.1.18/lineup.json"
},
{
"StorageID": "6D880DC8-8704-4438-BE04-00D9CF9FAD4F",
"LocalIP": "192.168.1.3:33024",
"BaseURL": "http://192.168.1.3:33024",
"DiscoverURL": "http://192.168.1.3:33024/discover.json",
"StorageURL": "http://192.168.1.3:33024/recorded_files.json"
- would have a StorageID associated with the IP address for your HDHR device
YES
- if you open it's discovery URL e.g. <ip>/discover.json do you get an DeviceAuth entry?
{"FriendlyName":"HDHomeRun RECORD","Version":"20210624","BaseURL":"http://192.168.1.3:33024","StorageID":"6D880DC8-8704-4438-BE04-00D9CF9FAD4F","StorageURL":"http://192.168.1.3:33024/recorded_files.json","TotalSpace":0,"FreeSpace":0}
When you installed the SPK what do you see when you open <nas IP>/HDHomeRunDVR?
DASHBOARD
if the page is available - is there a log file listed? what does the bottom status bar say?
YES (Record Engine Logs empty), bottom status bar: "HDHomeRun Record Running"
open the diagnostics by clicking the gear icon in the right of the toolbar - what is under the CONNECTIVTY CHECKS
---------- CONNECTIVITY CHECKS --------------------------------------------------
DVRUI_apiurl = http://api.hdhomerun.com/
Discover URL = http://api.hdhomerun.com/discover
Ping to api.hdhomerun.com success
curl extension = not available
checking alternative connection
stream returned = [ { "DeviceID": "1068924B", "LocalIP": "192.168.1.18", "BaseURL": "http://192.168.1.18", "DiscoverURL": "http://192.168.1.18/discover.json", "LineupURL": "http://192.168.1.18/lineup.json" }, { "StorageID": "6D880DC8-8704-4438-BE04-00D9CF9FAD4F", "LocalIP": "192.168.1.3:33024", "BaseURL": "http://192.168.1.3:33024", "DiscoverURL": "http://192.168.1.3:33024/discover.json", "StorageURL": "http://192.168.1.3:33024/recorded_files.json" } ]
and HDHR Account sections?
---------- HDHR Account -----------------------------------------------------------
curl extension = not available
stream returned = { "AccountEmail": "cil1rjn@gmail.com", "AccountDeviceIDs": [ "1068924B" ], "DvrActive": 1, "AccountState": "Active" }
in the latter in particular is AccountState = Active and DvrActive set to 1?
YES, YES
FYI, I assumed (correctly?) that additional firewall ports would have to be opened for Web Station, HDHomeRunDVR & 33024.
In doing so, it appears(assuming) that I've gained full DVR functionality without actually recording anything yet
so I have provided the following answers anyway:
Did you register your HDHR devices with the DVR service?
YES
What do you see when you browse to my.hdhomerun.com
HDHomeRun RECORD
Version 20210624
Check the output of http://api.hdhomerun.com/discover - is the DVR device listed
"DeviceID": "1068924B",
"LocalIP": "192.168.1.18",
"BaseURL": "http://192.168.1.18",
"DiscoverURL": "http://192.168.1.18/discover.json",
"LineupURL": "http://192.168.1.18/lineup.json"
},
{
"StorageID": "6D880DC8-8704-4438-BE04-00D9CF9FAD4F",
"LocalIP": "192.168.1.3:33024",
"BaseURL": "http://192.168.1.3:33024",
"DiscoverURL": "http://192.168.1.3:33024/discover.json",
"StorageURL": "http://192.168.1.3:33024/recorded_files.json"
- would have a StorageID associated with the IP address for your HDHR device
YES
- if you open it's discovery URL e.g. <ip>/discover.json do you get an DeviceAuth entry?
{"FriendlyName":"HDHomeRun RECORD","Version":"20210624","BaseURL":"http://192.168.1.3:33024","StorageID":"6D880DC8-8704-4438-BE04-00D9CF9FAD4F","StorageURL":"http://192.168.1.3:33024/recorded_files.json","TotalSpace":0,"FreeSpace":0}
When you installed the SPK what do you see when you open <nas IP>/HDHomeRunDVR?
DASHBOARD
if the page is available - is there a log file listed? what does the bottom status bar say?
YES (Record Engine Logs empty), bottom status bar: "HDHomeRun Record Running"
open the diagnostics by clicking the gear icon in the right of the toolbar - what is under the CONNECTIVTY CHECKS
---------- CONNECTIVITY CHECKS --------------------------------------------------
DVRUI_apiurl = http://api.hdhomerun.com/
Discover URL = http://api.hdhomerun.com/discover
Ping to api.hdhomerun.com success
curl extension = not available
checking alternative connection
stream returned = [ { "DeviceID": "1068924B", "LocalIP": "192.168.1.18", "BaseURL": "http://192.168.1.18", "DiscoverURL": "http://192.168.1.18/discover.json", "LineupURL": "http://192.168.1.18/lineup.json" }, { "StorageID": "6D880DC8-8704-4438-BE04-00D9CF9FAD4F", "LocalIP": "192.168.1.3:33024", "BaseURL": "http://192.168.1.3:33024", "DiscoverURL": "http://192.168.1.3:33024/discover.json", "StorageURL": "http://192.168.1.3:33024/recorded_files.json" } ]
and HDHR Account sections?
---------- HDHR Account -----------------------------------------------------------
curl extension = not available
stream returned = { "AccountEmail": "cil1rjn@gmail.com", "AccountDeviceIDs": [ "1068924B" ], "DvrActive": 1, "AccountState": "Active" }
in the latter in particular is AccountState = Active and DvrActive set to 1?
YES, YES
Re: Synology SPK for DVR Record Engine
Update to my previous post:
First recording attempt failed. After digging thru some log files, it seems the Record Engine System Status log shows the following:
Version 20210624
Storage ID 6D880DC8-8704-4438-BE04-00D9CF9FAD4F
Record Path /volume1/HDHomeRun/
Search Path /volume1/HDHomeRun/
Free Space 0 GB
IP Address 192.168.1.3
The System Log also shows the following (abbreviated):
HDHomeRun RECORD
System Log
20210822-03:28:12 Recorded: RecordPath '/volume1/HDHomeRun/' (btrfs)
20210824-14:28:38 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:09 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:41 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:32:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
Somehow the record path shows the wrong shared folder (HDHomerun) instead of the shared folder created by the spk file install HDHomeRunDVR.
Not sure if HDHomeRun folder pointer is left over from my first install attempt with the windows 10 Synology NAS exe install file.
What the the next step be to correct this?
TIA!
First recording attempt failed. After digging thru some log files, it seems the Record Engine System Status log shows the following:
Version 20210624
Storage ID 6D880DC8-8704-4438-BE04-00D9CF9FAD4F
Record Path /volume1/HDHomeRun/
Search Path /volume1/HDHomeRun/
Free Space 0 GB
IP Address 192.168.1.3
The System Log also shows the following (abbreviated):
HDHomeRun RECORD
System Log
20210822-03:28:12 Recorded: RecordPath '/volume1/HDHomeRun/' (btrfs)
20210824-14:28:38 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:09 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:41 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:32:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
Somehow the record path shows the wrong shared folder (HDHomerun) instead of the shared folder created by the spk file install HDHomeRunDVR.
Not sure if HDHomeRun folder pointer is left over from my first install attempt with the windows 10 Synology NAS exe install file.
What the the next step be to correct this?
TIA!
Re: Synology SPK for DVR Record Engine
Reboot the NAS.. suspect it's a left over process from the first install.Nethrick wrote: ↑Tue Aug 24, 2021 6:59 pm Update to my previous post:
First recording attempt failed. After digging thru some log files, it seems the Record Engine System Status log shows the following:
Version 20210624
Storage ID 6D880DC8-8704-4438-BE04-00D9CF9FAD4F
Record Path /volume1/HDHomeRun/
Search Path /volume1/HDHomeRun/
Free Space 0 GB
IP Address 192.168.1.3
The System Log also shows the following (abbreviated):
HDHomeRun RECORD
System Log
20210822-03:28:12 Recorded: RecordPath '/volume1/HDHomeRun/' (btrfs)
20210824-14:28:38 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:29:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:09 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:30:39 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:31:41 Recording: RecordPath '/volume1/HDHomeRun/' not found
20210824-14:32:10 Recording: RecordPath '/volume1/HDHomeRun/' not found
Somehow the record path shows the wrong shared folder (HDHomerun) instead of the shared folder created by the spk file install HDHomeRunDVR.
Not sure if HDHomeRun folder pointer is left over from my first install attempt with the windows 10 Synology NAS exe install file.
What the the next step be to correct this?
TIA!
Re: Synology SPK for DVR Record Engine
"Reboot the NAS.. suspect it's a left over process from the first install."
NAS reboot fixed the issue. Thank you for prompt reply and timely resolution!
NAS reboot fixed the issue. Thank you for prompt reply and timely resolution!
Re: Synology SPK for DVR Record Engine
DSM 7 Synology NAS firewall question here using HDHomeRunDVR-1.1.0_DSM7.spk:
It seems my Windows 10 PC running current Microsoft Store HDHomeRun app has required port 59090
to be opened on my DS718+ NAS in order to find the DVR recorder installed there. This was done
via new custom firewall rule opening destination port 59090 to all protocols (options: TCP, UDP, ICMP, IGMP, All) and allowing all source IP's.
Are there security risks using these firewall rule parameters or should/can this custom firewall rule to be more limited by specific protocols & source IP for increased security. FYI using static LAN IP 192.168.1.3 for DS718+ NAS. HDHomeRun device currently assigned 192.168.1.18 on LAN via DHCP.
TIA!
It seems my Windows 10 PC running current Microsoft Store HDHomeRun app has required port 59090
to be opened on my DS718+ NAS in order to find the DVR recorder installed there. This was done
via new custom firewall rule opening destination port 59090 to all protocols (options: TCP, UDP, ICMP, IGMP, All) and allowing all source IP's.
Are there security risks using these firewall rule parameters or should/can this custom firewall rule to be more limited by specific protocols & source IP for increased security. FYI using static LAN IP 192.168.1.3 for DS718+ NAS. HDHomeRun device currently assigned 192.168.1.18 on LAN via DHCP.
TIA!
Re: Synology SPK for DVR Record Engine
add a rule to the firewall on the NAS to allow any source IP from the local network (i.e. 192.168.1.1/24) access to that port (TCP/UDP).Nethrick wrote: ↑Mon Aug 30, 2021 9:36 am DSM 7 Synology NAS firewall question here using HDHomeRunDVR-1.1.0_DSM7.spk:
It seems my Windows 10 PC running current Microsoft Store HDHomeRun app has required port 59090
to be opened on my DS718+ NAS in order to find the DVR recorder installed there. This was done
via new custom firewall rule opening destination port 59090 to all protocols (options: TCP, UDP, ICMP, IGMP, All) and allowing all source IP's.
Are there security risks using these firewall rule parameters or should/can this custom firewall rule to be more limited by specific protocols & source IP for increased security. FYI using static LAN IP 192.168.1.3 for DS718+ NAS. HDHomeRun device currently assigned 192.168.1.18 on LAN via DHCP.
TIA!
- open to control panel -> security -> firewall
click on 'edit rules' for your profile
click on 'create'
select Source IP / Specific IP
click on 'select'
select 'Subnet'
enter 192.168.1.1 as IP Address
enter 255.255.255.0 as Subnet
Click OK, OK, OK, Apply
But if you need to lock down you can specify ports, etc.
Also with the UI - you can change 59090 to whatever you want, then stop/start the DVR and then open that new port on your firewall.
Re: Synology SPK for DVR Record Engine
Thx for detailed reply and resolution steps!
Re: Synology SPK for DVR Record Engine
Google drive updated their security
New link needed - OP is updated to Drive
New link needed - OP is updated to Drive
Re: Synology SPK for DVR Record Engine
Hi all, First I want to say thanks, I love this app and have been using it for many years. I just upgraded to version 1.1.0 on DSM 6 from 1.0.2. While the DVR seems to still be working fine and I can see all my recordings in the HDHomeRun app, I can't get to the UI anymore. I am trying to access http://nas ip/HDHomeRunDVR but now get 404 The page you are looking for cannot be found. I tried rebooting the NAS too. Can someone advise what might be wrong? Thanks in advance.
Re: Synology SPK for DVR Record Engine
Did you install DSM7?Peterc wrote: ↑Mon Sep 27, 2021 7:18 am Hi all, First I want to say thanks, I love this app and have been using it for many years. I just upgraded to version 1.1.0 on DSM 6 from 1.0.2. While the DVR seems to still be working fine and I can see all my recordings in the HDHomeRun app, I can't get to the UI anymore. I am trying to access http://nas ip/HDHomeRunDVR but now get 404 The page you are looking for cannot be found. I tried rebooting the NAS too. Can someone advise what might be wrong? Thanks in advance.
fwiw - 1.0.2 and 1.1.0 are functionally the same as mentioned in link
I was worried something wouldn't work completely on DSM6 even though in my testing on single Synology worked.
things to check..
check the UI is copied to /var/services/web/HDHomeRunDVR (i.e. the folder exists and has something in it)
Also check the permissions of the files in that folder - should be owned by hdhomerundvr and group set to http
if the folder is missing - that's an issue not sur why it would happen.. but if you can look for /tmp/hdhomerundvr_install.log there might be some details in there as to why it failed to install
if folder exists but permissions are wrong.. you can fix with
Code: Select all
chmod -R hdhomerundvr:http /var/services/www/HDHomeRunDVR