Thanks and apologies on the delay. Monday was my son's 8th birthday and I was up against the wall in terms of getting the grill going before the grandparents showed. Tuesday was a loooong day in the office (due to new alternate work schedules related to COVID). And now it's Wednesday morning and I'm back.
demonrik wrote: ↑Mon Jul 13, 2020 9:59 am
But to get it to work you need to restart the engine.. See the original
post, scroll down to "
Starting and Stopping the Record Engine" on how to stop and then start the engine.
If you ssh to the NAS you can execute
Code: Select all
qpkg_service stop HDHomeRunDVR
qpkg_service start HDHomeRunDVR
Once done the engine should now be able to download the record engine and get going.
And if what I suspect is wrong with conf file - it should just work
So to that config file 'does not exist' concern
Generally - I try to NOT make things so every user has access to files, which means sometimes things like this happen where we need to patch up permissions. I could just use a sledgehammer approach and make it all writable, but thats unsecure, and I don't want to be the one responsible for opening up security holes.
My suspicion here is that for some reason your httpdusr is NOT part of the administrators group and therefore it can't read the config file.
Previous installer made the config file owner the httpdusr so this was not an issue
I logged into my NAS and did what the first post said:
App Center --> HDHomeRun 1.0.1 --> Blue "down arrow" next to "open" --> STOP --> Wait a few seconds --> Grey "START" button
I'm still having the same error. My dashboard still looks like this:
---------- OS and ENV VARIABLES --------------------------------------------------
Operating System = Linux NAS1TS431 4.2.8 #2 SMP Thu Aug 30 04:39:53 CST 2018 armv7l
HTTP_HOST = 192.168.0.200
SERVER_NAME = 192.168.0.200
SERVER_ADDR = 192.168.0.200
SERVER_SOFTWARE = Apache
SYS TEMP = /tmp
---------- PHP INFO -------------------------------------------------------------
php version = 5.6.36
php.ini file = /mnt/HDA_ROOT/.config/php.ini
php.ini date.timezone = Asia/Taipei
date_default_timezone_get() = Asia/Taipei
---------- DVRUI VARS -----------------------------------------------------------
DVRUI_DEBUG =
DVRUI_name = HDHomeRun DVR Manager
DVRUI_version = 1.0.1
DVRUI_TZ =
---------- PERMISSIONS ----------------------------------------------------------
style = 0755
style/style.css = 0644
---------- Config File ----------------------------------------------------------
Location = /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf Does Not Exist
RecordPath = Path not Set
RecordStreamsMax = 16
ServerPort = Path not Set
StorageID = StorageID not Set
---------- CONNECTIVITY CHECKS --------------------------------------------------
DVRUI_apiurl =
http://api.hdhomerun.com/
Discover URL =
http://api.hdhomerun.com/discover
Ping to api.hdhomerun.com success
curl extension = installed
curl returned = [ { "DeviceID": "13219F42", "LocalIP": "192.168.0.246", "ConditionalAccess": 1, "BaseURL": "
http://192.168.0.246", "DiscoverURL": "
http://192.168.0.246/discover.json", "LineupURL": "
http://192.168.0.246/lineup.json" }, { "DeviceID": "13254099", "LocalIP": "192.168.0.109", "ConditionalAccess": 1, "BaseURL": "
http://192.168.0.109", "DiscoverURL": "
http://192.168.0.109/discover.json", "LineupURL": "
http://192.168.0.109/lineup.json" } ]
checking alternative connection
stream returned = [ { "DeviceID": "13219F42", "LocalIP": "192.168.0.246", "ConditionalAccess": 1, "BaseURL": "
http://192.168.0.246", "DiscoverURL": "
http://192.168.0.246/discover.json", "LineupURL": "
http://192.168.0.246/lineup.json" }, { "DeviceID": "13254099", "LocalIP": "192.168.0.109", "ConditionalAccess": 1, "BaseURL": "
http://192.168.0.109", "DiscoverURL": "
http://192.168.0.109/discover.json", "LineupURL": "
http://192.168.0.109/lineup.json" } ]
---------- HDHR TUNERS-----------------------------------------------------------
tuner(0) id: 13219F42
tuner(0) model: HDHR3-CC
tuner(0) firmware: 20200521
tuner(0) baseurl:
http://192.168.0.246
tuner(0) auth: jsxQ_04lhIbJGYwc95VJHpwH
tuner(1) id: 13254099
tuner(1) model: HDHR3-CC
tuner(1) firmware: 20200521
tuner(1) baseurl:
http://192.168.0.109
tuner(1) auth: 5Wzlg7GHZ4uJqM6iQwcXloMj
---------- HDHR DVR ENGINES------------------------------------------------------
---------- HDHR Account -----------------------------------------------------------
curl extension = installed
curl returned = { "AccountEmail": "
psukinger@hotmail.com", "AccountDeviceIDs": [ "13219F42", "13254099" ], "DvrActive": 1, "AccountState": "Active" }
------------ DVR Series ------------------------------------------------------
?DisplayGroupID=root
------------ DVR Recordings ------------------------------------------------------
demonrik wrote: ↑Mon Jul 13, 2020 9:59 am
we can check quickly the file with
Code: Select all
ls -la /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf
You should have something like
Code: Select all
-rw-rw-r-- 1 hdhomerundvr administrators 155 2020-07-08 16:05 /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf
The key parts are the '-rw-rw-r--' and the 'hdhomerundvr administrators'
This tells me that the hdhomerundvr owner has read and write performance (the first rw-) as does the administrators group (the second rw-) but here I also have it set so anyone can read it (the r--). But I suspect I have the UI seeking read/write access and it will fail if it can't get it.
So lets make sure you have a conf file and it's got permissions like above.
Will be interested to see if your httpduser is in a group or not
I would be more than happy to take a crack at this, but I think I might need to get up to speed on what I need to do. Is this all done "after I ssh in" (as I believe you say)? And if so, is this good directions on what I need to do to make that happen:
https://www.qnap.com/en/how-to/knowledg ... as-by-ssh/
Install "PuTTY" here on my Win10 Desktop as that link shows, and then from inside the black command prompt in that link type in the text you show above?