It states look at the logs, and the only thing in the logs is where I tried stopping the homerundvr app, but stopping the app did not help.
Are there locations on the server that i can look at instead of the "GUI" log.


perfect - I think I know the issue - will fix quickly, but shouldn't cause issues with functionality.Rew452 wrote: Wed Jul 08, 2020 2:10 pm The app does run, just no information. One note though at the moment my SD Prime is not on the network, relocating. Not sure if this has a bering or not.
Rew
To get a log please do followingpunch-card wrote: Wed Jul 08, 2020 2:35 pm I tried to so a manual install on my QNAP, and I received an error.
It states look at the logs, and the only thing in the logs is where I tried stopping the homerundvr app, but stopping the app did not help.
Are there locations on the server that i can look at instead of the "GUI" log.
Code: Select all
sh ./HDHomeRunDVR_1.0.0.qpkg
that's weird - definitely do the firmware update and see.. looks like something is broken in permissions overall. make sure your user has admin rightspunch-card wrote: Wed Jul 08, 2020 2:54 pm Something weird going on, getting permission errors on busybox.
I have a firmware update I need to do, I will apply it tonight and try it again, unless you have seen this before.
[~] # ls -l
total 504
-rwx---rwx 1 nvr 513 507116 2020-07-08 16:12 HDHomeRunDVR_1.0.0.qpkg*
-rw-r--r-- 1 admin administrators 6526 2007-07-11 04:35 index_default.html
[~] # sh ./HDHomeRunDVR_1.0.0.qpkg
./HDHomeRunDVR_1.0.0.qpkg: line 62: /bin/echo: Permission denied
[~] # ls -l /bin/echo
lrwxrwxrwx 1 admin administrators 7 2020-07-01 20:04 /bin/echo -> busybox
[~] # tail /var/log/messages
-sh: /usr/bin/tail: Permission denied
[~] #
Fixed in 1.0.1 - shoudln't cause an issue though.punch-card wrote: Wed Jul 08, 2020 7:14 pm After rebooting QNAP, it was back to "normal". I see some errors at the end of the script, any concerns?
...
package_routines: line 45: /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf: Permission denied
I need to check on that.. doesn't look like my error.....
Config is missing
Are you trying to open via the app center icon? or are you using direct URL i.e. http://MyNASIP/HDHomeRunDVRJWylds wrote: Thu Jul 09, 2020 5:06 am Installed qpkg on QNAP TS212P. HDHomerun 1.0.1 Everything installs, all goes through, I can get the DVR to work. BUT unable to open the UI on the QNAP. SO no utilities...
Just gives me a screen with - 10.0.0.1 Failed to connect
Any ideas??
[~] # sh ./HDHomeRunDVR_1.0.1.qpkg
Install QNAP package on TS-NAS...
./
./built_info
./qinstall.sh
./package_routines
./qpkg.cfg
20+1 records in
20+1 records out
483310 bytes (472.0KB) copied, 0.000982 seconds, 469.4MB/s
471+1 records in
471+1 records out
483310 bytes (472.0KB) copied, 0.001921 seconds, 239.9MB/s
HDHomeRunDVR 1.0.0 is already installed. Setup will now perform package upgrading.
Firmware check is fine.
/etc/init.d/HDHomeRunDVR.sh: line 91: /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf: No such file or directory
HDHomeRunDVR: Checking if hdhomerundvr exists
HDHomeRunDVR: Checking if a RecordPath already is set and exists
HDHomeRunDVR: Parsing /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf
HDHomeRunDVR: No config file found
HDHomeRunDVR: Creating default share
HDHomeRunDVR: removing any left over hdhomerun binaries in /tmp
HDHomeRunDVR: Checking if backup conf exists and restore
HDHomeRunDVR: no backup file, so generate one
HDHomeRunDVR: Patching UI Vars file with QPKG path and Version
HDHomeRunDVR: Setting Conf file group writable
HDHomeRunDVR: Linking the Web UI
HDHomeRunDVR: Removing Old Web Link
HDHomeRunDVR: Creating New Web Link
Link service start/stop script: HDHomeRunDVR.sh
Set QPKG information in /etc/config/qpkg.conf
Updating the UI vars.php
HDHR_LOG_PREFIX Ensuring permissions are correct on UI
** 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
[~] # logout
Looks like success to mepunch-card wrote: Thu Jul 09, 2020 10:10 am Did an update from 1.0.0 tp 1.0.1 here were results....
[~] # sh ./HDHomeRunDVR_1.0.1.qpkg
Install QNAP package on TS-NAS...
./
./built_info
./qinstall.sh
./package_routines
./qpkg.cfg
20+1 records in
20+1 records out
483310 bytes (472.0KB) copied, 0.000982 seconds, 469.4MB/s
471+1 records in
471+1 records out
483310 bytes (472.0KB) copied, 0.001921 seconds, 239.9MB/s
HDHomeRunDVR 1.0.0 is already installed. Setup will now perform package upgrading.
Firmware check is fine.
/etc/init.d/HDHomeRunDVR.sh: line 91: /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf: No such file or directory
HDHomeRunDVR: Checking if hdhomerundvr exists
HDHomeRunDVR: Checking if a RecordPath already is set and exists
HDHomeRunDVR: Parsing /share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR/HDHomeRunDVR.conf
HDHomeRunDVR: No config file found
HDHomeRunDVR: Creating default share
HDHomeRunDVR: removing any left over hdhomerun binaries in /tmp
HDHomeRunDVR: Checking if backup conf exists and restore
HDHomeRunDVR: no backup file, so generate one
HDHomeRunDVR: Patching UI Vars file with QPKG path and Version
HDHomeRunDVR: Setting Conf file group writable
HDHomeRunDVR: Linking the Web UI
HDHomeRunDVR: Removing Old Web Link
HDHomeRunDVR: Creating New Web Link
Link service start/stop script: HDHomeRunDVR.sh
Set QPKG information in /etc/config/qpkg.conf
Updating the UI vars.php
HDHR_LOG_PREFIX Ensuring permissions are correct on UI
** 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
[~] # logout
From what I see it looks like the install went OK, but you have a webserver issue to resolvejumbleknot wrote: Sun Jul 12, 2020 5:01 pm I tried to document everything this time to see if you could help me understand what I am doing wrong.
any folders with a . are hidden. You need ls -a to see themInstall screen shot
Looked normal to me other than one question about the file path being "/share/CACHEDEV1_DATA/HDHomeRunDVR" instead of "/share/CACHEDEV1_DATA/.qpkg/HDHomeRunDVR". I can't find any directory there named .qpkg.
Looks good, hdhomerun_record downloaded and a log.The install successfully created the file share and the user, but the user was disabled.
Disabled is ok.. What it means is no login possible with that usernameI went back in afterward and enabled the user in case that might be causing any issues.
But clearly something is up with it or your php installation.This is what happened when I tried to use the direct URL in Chrome
I confirmed the QNAP had the web server enabled.
This is only needed if you can browse directly to the URL but app won't open in QTS, but see comment above on using httpsThen I found your post about the Apache.conf file, so I SSH back into the QNAP and made the change and restarted
You have https connection to the qnap, so it tries to open https link.Then I went back into QTS desktop and tried to Open HDHomeRun again. This time I was prompted for a User Name and Password. I entered the QNAP admin user name and password, and I got a Forbidden error.