hi rik,
first of all, thank you so much for your work on this!
it is truly appreciated.
qnap is constantly turning off my qpkg for lack of a valid certificate.
on qts5, i do not see the settings icon when in the app center so i can't follow the instructions to change the setting to permit installation without a valid certificate.
is there another way to edit the settings for the app center directly, since they don't want to let me see the settings icon?
any suggestions?
fyi............instead of 5 icons across the upper right, my app center only shows icons for 1) manual install and 2) 3 vertical dots
QNAP QPKG for DVR Record Engine
-
- Posts: 32
- Joined: Sun Jun 23, 2019 6:34 am
Re: QNAP QPKG for DVR Record Engine
Hi
First many thanks to the efforts creating this awesome QNAP package. I have been using your qpkg for years now with no issues. For some reason recently it no longer records. Looking at the web UI I see that the HDHomeRun RECORD has disappeared from the discovered device section, I only see my hardware. Any ideas how I should troubleshoot?
Thanks so much for your help!
First many thanks to the efforts creating this awesome QNAP package. I have been using your qpkg for years now with no issues. For some reason recently it no longer records. Looking at the web UI I see that the HDHomeRun RECORD has disappeared from the discovered device section, I only see my hardware. Any ideas how I should troubleshoot?
Thanks so much for your help!
Re: QNAP QPKG for DVR Record Engine
Seems many are hitting issues where an update requires you to reset the allow unsigned apps to run in the app center and security counsellor apps
Quick check is always check if engine is running. Look at status bar at bottom of dvr manager, and log entries. If u don't have a log for today/tomorrow (because of it time) that's a dead give away that the engine is not running and that's either down to permissions or the app center check. If it ran then stopped is likely the security scan killed it.
I no longer have a running qnap. And all the live simulators are for older qts. Thus can't confirm where to enable the right options if app center has changed (per @cat6man)
Quick check is always check if engine is running. Look at status bar at bottom of dvr manager, and log entries. If u don't have a log for today/tomorrow (because of it time) that's a dead give away that the engine is not running and that's either down to permissions or the app center check. If it ran then stopped is likely the security scan killed it.
I no longer have a running qnap. And all the live simulators are for older qts. Thus can't confirm where to enable the right options if app center has changed (per @cat6man)
Re: QNAP QPKG for DVR Record Engine
thanks for all your work rik!
for now, i'm going to put the dvr on my linux machine that runs my sageTV server.
if a qnap solution comes up, i'll follow up but i've got a workaround for now.
for now, i'm going to put the dvr on my linux machine that runs my sageTV server.
if a qnap solution comes up, i'll follow up but i've got a workaround for now.
Re: QNAP QPKG for DVR Record Engine
I’ve been very happy with the container (container station) that @demonrik has put together. I can’t remember where he put the migration instructions though…
Re: QNAP QPKG for DVR Record Engine
update: the latest QNAP firmware upgrade brought back my missing 'settings' icon and i was able to go an set the permission to install the dvr despite the certificate issue.
it has now been running fine for a few days and the qnap has not tried to shut it down again.
happy camper here again
Re: QNAP QPKG for DVR Record Engine
Good to know! I’m still gonna stick with the docker container though as it’s more portable.
-
- Posts: 32
- Joined: Sun Jun 23, 2019 6:34 am
Re: QNAP QPKG for DVR Record Engine
Hi demonrikdemonrik wrote: ↑Wed Nov 02, 2022 1:13 pmhere https://github.com/demonrik/HDHR-DVR-do ... -Container
Thanks so much for your help, and of course for creating the container. I was able to follow your instructions and install the container with no errors (log below). However I can't reach the UI. I tried to assign it a few different ports, but I still can't pull it up using the host address (i.e. 192.168.0.1:32001). I do see that it is upset that it can't find /HDHomeRunDVR/data/hdhomerun_record and entered FATAL state. Any ideas what I am doing wrong? Thanks for your help!
************************************************
Starting DVR Container
VERSION: 0.2.3
************************************************
INFO: DVR data folder exists already
INFO: DVR Data folder is linked
INFO: DVR Folder linked to correct folder /dvrdata
INFO: DVR recordings folder exists already
INFO: DVR recordings folder is linked
INFO: DVR recordings Folder linked to correct folder /dvrrec
INFO: PHP WWW Server config file is missing, pulling from defaults...
INFO: Attempting requested User mapping
INFO: From root:root to 1006:100
INFO: Creating Group dvr with GID [100]
/HDHomeRunDVR/supervisord.sh: line 135: resp: not found
sh: 0: unknown operand
INFO: Success
INFO: Creating User dvr with UID [1006]
/HDHomeRunDVR/supervisord.sh: line 147: resp: not found
sh: 0: unknown operand
INFO: Success
INFO: Updating Nginx User
INFO: user with UID [1006] exists, checking GID...
INFO: group with GID [100] exists, updating NGinx config
INFO: Updating PHP User
INFO: user with UID [1006] exists, updating php config
INFO: group with GID [100] exists, updating php config
INFO: Attempting to Fixing Permissions
INFO: Updating the NGINX Port for UI to 32001
2022-11-11 12:25:15,087 INFO Set uid to user 0 succeeded
2022-11-11 12:25:15,090 INFO supervisord started with pid 37
2022-11-11 12:25:16,091 INFO spawned: 'dvr' with pid 38
2022-11-11 12:25:16,093 INFO spawned: 'nginx' with pid 39
2022-11-11 12:25:16,094 INFO spawned: 'php-fpm' with pid 40
DVRMgr: ** Validating the Config File is available and set up correctly
DVRMgr: Config File exists and is writable - is record path and port correct
DVRMgr: ** Installing the HDHomeRunDVR Record Engine
/HDHomeRunDVR/hdhomerun.sh: line 1: /HDHomeRunDVR/data/hdhomerun_record: not found
DVRMgr: ** Current Engine Version is
DVRMgr: Downloading latest Stable release
[11-Nov-2022 12:25:16] NOTICE: fpm is running, pid 40
[11-Nov-2022 12:25:16] NOTICE: ready to handle connections
DVRMgr: Got Engine 20221031
DVRMgr: Downloading latest Beta release
DVRMgr: Got Engine 20221031
DVRMgr: Beta version downloaded - check if [20221031] newer than []
DVRMgr: Beta version is not newer than existing engine - not updating
sh: -gt: argument expected
sh: -eq: argument expected
chmod: /HDHomeRunDVR/data/hdhomerun_record: No such file or directory
/HDHomeRunDVR/hdhomerun.sh: line 1: /HDHomeRunDVR/data/hdhomerun_record: not found
DVRMgr: Engine Updated to...
DVRMgr: ** Starting the DVR Engine
DVRMgr: ** Checking for PUID
DVRMgr: ** PUID user exists - adjusting permissions to dvrdata & dvrrec
DVRMgr: ** Executing DVR engine with PUID info...
ash: /HDHomeRunDVR/data/hdhomerun_record: not found
2022-11-11 12:25:16,703 INFO exited: dvr (exit status 127; not expected)
2022-11-11 12:25:17,704 INFO gave up: dvr entered FATAL state, too many start retries too quickly
2022-11-11 12:25:17,704 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2022-11-11 12:25:17,704 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
Re: QNAP QPKG for DVR Record Engine
Which qnap model?paradoxgrowth wrote: ↑Fri Nov 11, 2022 5:35 am <snip>
Hi demonrik
Thanks so much for your help, and of course for creating the container. I was able to follow your instructions and install the container with no errors (log below). However I can't reach the UI. I tried to assign it a few different ports, but I still can't pull it up using the host address (i.e. 192.168.0.1:32001). I do see that it is upset that it can't find /HDHomeRunDVR/data/hdhomerun_record and entered FATAL state. Any ideas what I am doing wrong? Thanks for your help!
<snip>
Some strange things in your logs. Not sure why. Looks like the shell in the container is not behaving right. Will take some investigating.
Re: QNAP QPKG for DVR Record Engine
Found the issue, I think - definitely found AN issuedemonrik wrote: ↑Fri Nov 11, 2022 7:18 amWhich qnap model?paradoxgrowth wrote: ↑Fri Nov 11, 2022 5:35 am <snip>
Hi demonrik
Thanks so much for your help, and of course for creating the container. I was able to follow your instructions and install the container with no errors (log below). However I can't reach the UI. I tried to assign it a few different ports, but I still can't pull it up using the host address (i.e. 192.168.0.1:32001). I do see that it is upset that it can't find /HDHomeRunDVR/data/hdhomerun_record and entered FATAL state. Any ideas what I am doing wrong? Thanks for your help!
<snip>
Some strange things in your logs. Not sure why. Looks like the shell in the container is not behaving right. Will take some investigating.
fix inbound.
For future can you post issues with the container over on it's thread viewtopic.php?t=73757
-
- Posts: 32
- Joined: Sun Jun 23, 2019 6:34 am
Re: QNAP QPKG for DVR Record Engine
Sorry I am such a noob, how would I fix inbound?demonrik wrote: ↑Fri Nov 11, 2022 8:14 amFound the issue, I think - definitely found AN issuedemonrik wrote: ↑Fri Nov 11, 2022 7:18 amWhich qnap model?paradoxgrowth wrote: ↑Fri Nov 11, 2022 5:35 am <snip>
Hi demonrik
Thanks so much for your help, and of course for creating the container. I was able to follow your instructions and install the container with no errors (log below). However I can't reach the UI. I tried to assign it a few different ports, but I still can't pull it up using the host address (i.e. 192.168.0.1:32001). I do see that it is upset that it can't find /HDHomeRunDVR/data/hdhomerun_record and entered FATAL state. Any ideas what I am doing wrong? Thanks for your help!
<snip>
Some strange things in your logs. Not sure why. Looks like the shell in the container is not behaving right. Will take some investigating.
fix inbound.
For future can you post issues with the container over on it's thread viewtopic.php?t=73757
I have a TS-677 running container station 2.6.2.574 on QTS 5.0.1.2194. I upgraded the processor to a Ryzen 1700 but it's using the native driver for it.
Thanks again man!
-
- Expert
- Posts: 11112
- Joined: Wed Jan 24, 2007 1:04 am
- Device ID: 10A05954 10802091 131B34B7 13231F92 1070A18E 1073ED6F 15300C36
- x 25
Re: QNAP QPKG for DVR Record Engine
He wasn't telling you to fix anything but that he would be providing a fix shortly (the fix itself is (coming) inbound) and has already posted such in the thread mentioned as that is the thread for when running a container.
-
- Posts: 32
- Joined: Sun Jun 23, 2019 6:34 am
Re: QNAP QPKG for DVR Record Engine
Thanks for the clarity signcarver.signcarver wrote: ↑Fri Nov 11, 2022 1:51 pm He wasn't telling you to fix anything but that he would be providing a fix shortly (the fix itself is (coming) inbound) and has already posted such in the thread mentioned as that is the thread for when running a container.
-
- Posts: 32
- Joined: Sun Jun 23, 2019 6:34 am
Re: QNAP QPKG for DVR Record Engine
Hi All,
I was able to get this QPKG to work again. Thank you everyone for your help!
I am still having issues with recording live tv. When I hit the recording control while watching live TV, I can't find the recording anywhere. It doesn't make a folder for the show in the recording folder and it can't be found in the live TV folder. Don't know if this is related, but I noticed is there is a fault.log that has been generated. Looking at contents of the log below it is not very descriptive. Does anyone know what the issue might be?
0xe5592573
11
(nil)
0x413b66
0x430e8c
0x40de19
0x43a4b2
0x43a554
0x43b538
0x411efa
0x40d28a
0x40d231
0x40d118
0x40d2bc
0x40d0bc
0x43c381
0x43c34d
0x43cfc6
0x40d09a
I was able to get this QPKG to work again. Thank you everyone for your help!
I am still having issues with recording live tv. When I hit the recording control while watching live TV, I can't find the recording anywhere. It doesn't make a folder for the show in the recording folder and it can't be found in the live TV folder. Don't know if this is related, but I noticed is there is a fault.log that has been generated. Looking at contents of the log below it is not very descriptive. Does anyone know what the issue might be?
0xe5592573
11
(nil)
0x413b66
0x430e8c
0x40de19
0x43a4b2
0x43a554
0x43b538
0x411efa
0x40d28a
0x40d231
0x40d118
0x40d2bc
0x40d0bc
0x43c381
0x43c34d
0x43cfc6
0x40d09a