permissions most likely
make sure you check out the post for 1.0.0 viewtopic.php?p=361189#p361189
There are changes that you need to be aware of coming from old releases.
permissions most likely
S0, What file(s) to I need to install manually on my QNAP TS-251D?demonrik wrote: ↑Tue Jul 07, 2020 10:38 pm NEW PACKAGE AVAILABLE
Big change here - apologies it took so long. Some good news and some bad.. And heads up - you will need to do work to upgrade
Main goal of this release has been to
(a) minimize the support headaches of permissions
(b) streamline the install process for better user experience, and minimize code
(c) remove/reduce duplication with SDs existing interfaces (i.e. recordings)
(d) refactor as much as possible to maximize reuse of scripts and code between the various NAS installers
So good news firstSo now bad news, or things removed
- Have changed to be similar to the docker image I created and on starting the engine, the script now gets the latest record engine from SDs servers and runs that. This will mean once SD make available a new version of the record engine you will not need to wait for me to release a new QPKG. Just simply stop and start the engine and it will pick it up.
- To also make it easier, I've added some parameters to the config file I manage for the engine that you can edit. You want to look at BetaEngine parameter, and set this to 1 and it will download from both the beta and the release URLs and then compare to see which is newer and use that.. if BetaEngine is set to anything but 1 it will only download the latest full release.
- The QPKG now creates a 'hdhomerundvr' user to run the engine under. this user will be removed on uninstalling the package. You can change the user to run as by editing the config file once more and changing the 'RunAs' parameter to the username you want to run as.
- The QPKG now creates a HDHomeRunDVR share by default and not a standard folder, and then adds the administrators and http groups to it, as well as the new user created above.
- Installing and Removing the QPKG is logged to /tmp/hdhomerundvr_install.log which should help us understand when things go wrong
- UI Page now opens direct to the dashboard
- Since I've reduced the code/scripts considerably and rolling update means less need to do QPKG updates I am finally updating this to version 1.0.0
To move to new package - simply do manual install of new package. But beware of the user/permissions thing above.
- Recordings management has been completely removed. This broke recently, and was hitting issues with permissions quite a bit. Also since the SD page for your record engine lists the recordings properly - is better to simply point you there.. and that is possible by clicking the first link for the record engine in the HDHR list in the dashboard.
- Engine start/stop from the DVR Manager UI has been removed. Running in to permissions issues a lot, and some crazy thing happening on Synology directly was causing the wrappers to get out of whack with the UI.. You can start/stop the service for HDHomeRunDVR via the command line or the App Center anyway, so removing doesn't remove capability, just duplication and simplifies support.
- Removed the log file management.. Since SD added the cleanup of the log files automatically by the record engine, this features wasn't needed and it cleans up the interface.
- Wrappers are no longer needed and removed
- IMPORTANT That change of user means you need to ensure the user has permissions to your existing recordings. Simply add the new user 'hdhomerundvr' to your recordpath share or change the RunAs user once upgraded and you should be good
new QPKG HDHomeRunDVR-1.0.0.qpkg available in the usual locations Google Drive, DropBox, OneDrive
Code is available on github
https://github.com/Silicondust/dvr_install
Just the 1.0.4.qpkgMr.K wrote: ↑Fri Apr 23, 2021 8:08 pm
S0, What file(s) to I need to install manually on my QNAP TS-251D?
HDHomeRunDVR_0.10.7.qpkg
HDHomeRunDVR_1.0.4.qpkg
HDHomeRunDVR_1.0.4.qpkg.md5
HDHomeRunDVR.conf
HDHomeRunDVR_0.10.7.qpkg.md5
I just uploaded 1.0.4.qpkg tomy Qnap. The Icon showed up on the Main Screen and the apps list. I clicked it and just said HDHomeRunDVR and that's it????
This is an old version. should be newer if you installed recently.. latest is 20210422, and before that was 20210404beta1
Code: Select all
rm -f /tmp/hdhomerun*
the blank dialog is because you're clicking directly on the app's icon.HDHomeRun CONNECT 4K 10812DA7
Version 20210224
66 Channels
Just get a plain blank dialog? window that says HDHomeRunDVR as the lable and whit screen.
Well sounds like it's working thenI do show a shared folder in Privileges Name: HDHomeRunDVR Size: 1.57 MB Number of folders: 2 Number of files: 5
if it disappeared after the QNAP update it can be multiple reasons.flexo wrote: ↑Wed Apr 28, 2021 8:18 pm hi demonrik, thanks for your help with the hdhomerun user permissions. that fixed my issue! recently (today), after a QNAP firmware upgrade I lost the record engine. can you help me with that?
I installed the 0.10.7 version and got the record engine back, for now.
Code: Select all
# cat /tmp/hdhomerundvr_install.log
Downloading latest release
Not checking for Beta versions using the Release version
Downloading latest release
Downloading latest beta
Comparing which is newest
Beta version is newer - selecting as record engine
Code: Select all
qpkg_service restart HDHomeRunDVR
Code: Select all
# qpkg_service restart HDHomeRunDVR
HDHomeRun RECORD stopped
Checking HDHomeRunDVR is enabled
Validating the Config File is available and set up correctly
Config File exists and is writable - is record path and port correct
-- Installing the HDHomeRunDVR Record Engine
Lets remove any existing engine - we're going to take the latest always....
Checking it was deleted - if we can't remove it we can't update
Changing binary owner to hdhomerundvr
Starting the recordengine as hdhomerundvr
HDHomeRun RECORD started
Code: Select all
qpkg_cli -R HDHomeRunDVR
Code: Select all
mkdir /share/CACHEDEV1_DATA/Public/SaveMe
cp -R /share/Recordings/HDHomeRunDVR/* /share/CACHEDEV1_DATA/Public/SaveMe
Code: Select all
rm -f /tmp/hdhome*
Code: Select all
rm -f /share/CACHEDEV1_DATA/Public/SaveMe/hdhome*
Code: Select all
rm -f /share/CACHEDEV1_DATA/Public/SaveMe/*.log
Code: Select all
cp -R /share/CACHEDEV1_DATA/Public/SaveMe/* /share/HDHomeRunDVR/
Code: Select all
chown -R hdhomerundvr:administrators /share/CACHEDEV1_DATA/Public/SaveMe/*
Code: Select all
chmod -R 774 hdhomerundvr:administrators /share/CACHEDEV1_DATA/Public/SaveMe/*
Code: Select all
Recording: myhdhomerun_record authorization error or not subscribed to dvr service
It looks like your account got de-linked from your HDHomeRun units. Possibly someone clicked on the "Not me" link in the HDHomeRun app account settings. I've e-mailed you the activation link to fix it.321liftoff wrote: ↑Wed Jul 14, 2021 5:39 pm Hello @demonrik!
I'm getting this message in my log. It's been this way for a few days. Don't know when it started, but in logs going back to July 4, it's present:
Do you know what next step I could take here?Code: Select all
Recording: myhdhomerun_record authorization error or not subscribed to dvr service
I've noticed that ALL my tasks are missing, except those that I guess I've added since this issue started. And nothing is actually recording.
That did it. Thank you for the fantastic support!NedS wrote: ↑Wed Jul 14, 2021 11:56 pmIt looks like your account got de-linked from your HDHomeRun units. Possibly someone clicked on the "Not me" link in the HDHomeRun app account settings. I've e-mailed you the activation link to fix it.321liftoff wrote: ↑Wed Jul 14, 2021 5:39 pm Hello @demonrik!
I'm getting this message in my log. It's been this way for a few days. Don't know when it started, but in logs going back to July 4, it's present:
Do you know what next step I could take here?Code: Select all
Recording: myhdhomerun_record authorization error or not subscribed to dvr service
I've noticed that ALL my tasks are missing, except those that I guess I've added since this issue started. And nothing is actually recording.
Sounds like a permissions issue on the QNAP.toricred6 wrote: ↑Wed Aug 04, 2021 5:19 pm I'm trying to move from my Synology 920+ over to my new QNAP TS-932PX. I can't get the DVR record service to be recognized on the QNAP. It comes up with StorageID Not Set and DVR Version can't be determined. When I try to go to DVR Record it keeps going to the Synology? What am I doing wrong?
ok - 1.0.4 should be right.toricred6 wrote: ↑Wed Aug 04, 2021 5:35 pm So I installed version 1.0.4 of HDHR from your google drive. My QTS is 4.5.4.1741. I did not have a previous version on the QNAP.
When I pull up the web page for controlling HDHR and click on the first link under DVR Record it goes to my old Synology server instead. Is there a way I can change where it has the .conf file so that I can edit it more easily?