QNAP QPKG for DVR Record Engine
Re: QNAP QPKG for DVR Record Engine
Removed - see OP for correct version and link
Last edited by demonrik on Fri Oct 01, 2021 4:24 pm, edited 1 time in total.
Re: QNAP QPKG for DVR Record Engine
Trying my best to keep up with you guysnickk wrote:Thanks!
Re: QNAP QPKG for DVR Record Engine
Thanks, looks easier than Windows updating.
One issue, No logfiles are shown anything I need to do?
Forgot to add, I used your Google drive packaged to install.
Rew
One issue, No logfiles are shown anything I need to do?
Forgot to add, I used your Google drive packaged to install.
Rew
Re: QNAP QPKG for DVR Record Engine
Did you disable the record engine installed by the windows installer?Rew452 wrote:Thanks, looks easier than Windows updating.
One issue, No logfiles are shown anything I need to do?
Forgot to add, I used your Google drive packaged to install.
Rew
If not - SSH to the QNAP, cd to the install directory (/share/HDHomeRun is the SD default) and then run ./hdhomerun_record_linux stop
Back to the QTS Desktop page.
Does the status bar at the bottom say the engine is running or not?
If not - the hit the start button to get the engine running?
Any errors?
If you have updated the 'RecordPath' in the config file, you will need to restart the record engine..
Unfortunately there is something going on where on installing the admin user starts the engine, and the web user can't shut it down. I think it's because the web user on qnap isn't a real user in the admin group.
Anyway..
To control the engine from the UI you need to first shutdown the engine
Open an ssh session and run the following
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
I've noticed a bug when you start the engine from the UI after changing the record path it doesn't refresh the log file list. Luckily in that instance it just requires a reload of the frame/page to rescan.
Hopefully 1 of these will fix it.
Re: QNAP QPKG for DVR Record Engine
No, I did not disable record engine installed by Windows.
Will do this after work tonight and post back.
Thanks
Rew
Will do this after work tonight and post back.
Thanks
Rew
Re: QNAP QPKG for DVR Record Engine
Did you disable the record engine installed by the windows installer?
If not - SSH to the QNAP, cd to the install directory (/share/HDHomeRun is the SD default)
Works, shows HDHomeRun share
and then run ./hdhomerun_record_linux stop
When I run this I get "no such file or directory"
I ended up trying a restart Qnap server, since I know this should shut down the service and then tried starting it with the app, which said it did but when I ran the Windows app HDHomeRun but no server.
At this point I ran out of time and just used the windows install to start the server since I have recordings for tonight.
My linux is very rusty anything else to remedy this?
Thanks
Rew
If not - SSH to the QNAP, cd to the install directory (/share/HDHomeRun is the SD default)
Works, shows HDHomeRun share
and then run ./hdhomerun_record_linux stop
When I run this I get "no such file or directory"
I ended up trying a restart Qnap server, since I know this should shut down the service and then tried starting it with the app, which said it did but when I ran the Windows app HDHomeRun but no server.
At this point I ran out of time and just used the windows install to start the server since I have recordings for tonight.
My linux is very rusty anything else to remedy this?
Thanks
Rew
Re: QNAP QPKG for DVR Record Engine
Next time doc a list command to see what is there --- "ls -l"Rew452 wrote:Did you disable the record engine installed by the windows installer?
If not - SSH to the QNAP, cd to the install directory (/share/HDHomeRun is the SD default)
Works, shows HDHomeRun share
and then run ./hdhomerun_record_linux stop
When I run this I get "no such file or directory"
I ended up trying a restart Qnap server, since I know this should shut down the service and then tried starting it with the app, which said it did but when I ran the Windows app HDHomeRun but no server.
At this point I ran out of time and just used the windows install to start the server since I have recordings for tonight.
My linux is very rusty anything else to remedy this?
Thanks
Rew
On my server the record name is without _linux. But not sure what is here. But with that error maybe is the case.
Example:
ls -l
cd /share/HDHomeRun
ls -l ---- are you there --- what is the name of the record program?
./hdhomerun_record stop ---- again, on the WDMyCloud it is hdhomerun_record.
Re: QNAP QPKG for DVR Record Engine
d21mike wrote:Next time doc a list command to see what is there --- "ls -l"Rew452 wrote:Did you disable the record engine installed by the windows installer?
If not - SSH to the QNAP, cd to the install directory (/share/HDHomeRun is the SD default)
Works, shows HDHomeRun share
and then run ./hdhomerun_record_linux stop
When I run this I get "no such file or directory"
I ended up trying a restart Qnap server, since I know this should shut down the service and then tried starting it with the app, which said it did but when I ran the Windows app HDHomeRun but no server.
At this point I ran out of time and just used the windows install to start the server since I have recordings for tonight.
My linux is very rusty anything else to remedy this?
Thanks
Rew
On my server the record name is without _linux. But not sure what is here. But with that error maybe is the case.
Example:
ls -l
cd /share/HDHomeRun
ls -l ---- are you there --- what is the name of the record program?
./hdhomerun_record stop ---- again, on the WDMyCloud it is hdhomerun_record.
Thanks that helped.
I think I found the problem; my record directory is HDHomeRun not HDHomeRunDVR.
Not sure what file to change to correct this in Qnap app.
Rew
Re: QNAP QPKG for DVR Record Engine
Apologies on that one. It's been quite some time since I used the installer I forgot it renames the binary.
You change the recordings location in the UI
It's the second text entry area. Just set it to your path then update.
Because of this issue with permissions you will need to shutdown the engine once from the command line
Oh... And if want to reuse the SD default install path, it's probably /share/HDHomeRun
So no /Recordings/ either
Then you can start/stop/restart the engine
You change the recordings location in the UI
It's the second text entry area. Just set it to your path then update.
Because of this issue with permissions you will need to shutdown the engine once from the command line
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
Oh... And if want to reuse the SD default install path, it's probably /share/HDHomeRun
So no /Recordings/ either
Then you can start/stop/restart the engine
Re: QNAP QPKG for DVR Record Engine
No worries, but my install is from the very beginning last year. Around late August/September I think.
Anyway my directory is HDHomeRun and not HDHomeRunDVR.
My files hdhomerun_record and hdhomerun_conf are located there.
Changing the config and record paths in the UI don't seem to work as even stopping and starting in UI and using putty they seem to revert to HDHomeRunDVR and though I can get the engine re-started using the App I don't see my recordings.
Have stopped the App and reverted to Win install for now and all seems well.
Can you please check and see if something else needs to be changed, The install did create HDHomeRunDVR directory; does this have some connection?
Really like the App and would like to get it working.
Rew
Anyway my directory is HDHomeRun and not HDHomeRunDVR.
My files hdhomerun_record and hdhomerun_conf are located there.
Changing the config and record paths in the UI don't seem to work as even stopping and starting in UI and using putty they seem to revert to HDHomeRunDVR and though I can get the engine re-started using the App I don't see my recordings.
Have stopped the App and reverted to Win install for now and all seems well.
Can you please check and see if something else needs to be changed, The install did create HDHomeRunDVR directory; does this have some connection?
Really like the App and would like to get it working.
Rew
Re: QNAP QPKG for DVR Record Engine
By default the app uses the qnap defaults.Rew452 wrote:No worries, but my install is from the very beginning last year. Around late August/September I think.
Anyway my directory is HDHomeRun and not HDHomeRunDVR.
My files hdhomerun_record and hdhomerun_conf are located there.
Changing the config and record paths in the UI don't seem to work as even stopping and starting in UI and using putty they seem to revert to HDHomeRunDVR and though I can get the engine re-started using the App I don't see my recordings.
Have stopped the App and reverted to Win install for now and all seems well.
Can you please check and see if something else needs to be changed, The install did create HDHomeRunDVR directory; does this have some connection?
Really like the App and would like to get it working.
Rew
It installs the record engine and configure in the apps location. Not /share/HDHomeRun
It also defaults to the qnap /share/Recordings share so that we don't have to create a new one.
At this time the app does not allow you to change the config file location, only the RecordPath parameter which you update in the UI.
For RecordPath change to take effect you need to restart the engine. But as I mentioned we have slight issue with initial permissions which requires you to ssh in as admin to shutdown the engine. Hopefully I'll have that worked around in the next release.
So make sure to ssh in and shutdown with
Code: Select all
/share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
Anyway, you have 2 choices.
1. Update the RecordPath to the SD default of /share/HDHomeRun and start/restart the engine via the UI
2. Keep the app defaults, move your recordings to the /share/Recordings/HDHomeRunDVR then start/restart the engine via the UI
With 2 (not 1) you can then remove the HDHomeRun share.
Re: QNAP QPKG for DVR Record Engine
Using Qnaps defaults seem a better choice, so I would:
1. Shut down/stop HDHomeRun/HdHomeRunDVR then move share hdhomerun contents to HDHomeRunDVR share, Right? Can I use Qnaps File mgr to do this or what ?
2. /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
3. Restart HDHomeRunDVR and all should be well.
Please verify and make any suggestions.
Thanks
Rew
1. Shut down/stop HDHomeRun/HdHomeRunDVR then move share hdhomerun contents to HDHomeRunDVR share, Right? Can I use Qnaps File mgr to do this or what ?
2. /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
3. Restart HDHomeRunDVR and all should be well.
Please verify and make any suggestions.
Thanks
Rew
Re: QNAP QPKG for DVR Record Engine
if it's still running - yes.Rew452 wrote:Using Qnaps defaults seem a better choice, so I would:
1. Shut down/stop HDHomeRun/HdHomeRunDVR then move share hdhomerun contents to HDHomeRunDVR share, Right? Can I use Qnaps File mgr to do this or what ?
And yep - File Manager works You can leave behind the hdhomerun_record and config file.
I would make sure you do this BEFORE the copying2. /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.sh stop
Sounds good.3. Restart HDHomeRunDVR and all should be well.
Please verify and make any suggestions.
Thanks
Rew
Re: QNAP QPKG for DVR Record Engine
Thanks, demonrik!
Will be making the change, tonight after work and before Prime Time.
Will report back after that.
Rew
Will be making the change, tonight after work and before Prime Time.
Will report back after that.
Rew