The web page I mean is the one that is installed with the qpkg (ip address/HDHomreDVR).
My plan is to turn off the Synology and just use the QNAP. I tried that this evening and it would only connect directly to the HDHR devices (this is through Kodi).
QNAP QPKG for DVR Record Engine
Re: QNAP QPKG for DVR Record Engine
Ah - I think I know what you mean now..
You only see the DVR recorder on the Synology listed at <qnap_up>/HDHomeRunDVR
That makes sense.
OK - the issue here is the DVR is not starting on the QNAP.
We need to resolve that..
Once it does - then you will see both listed.
Then you can either disable the Synology, or set the RecordStreamsMax = 0 on the synology until you are ready to disable it.
I've done a clean install on my NAS here after an update to latest QTS as you have.
And I see an issue on installing which is breaking the creation of the share, and thus the permissions - hence your problem.
I'll need to investigate and get back to you on a fix.
Re: QNAP QPKG for DVR Record Engine
Thanks for looking at this. Should I remove your .qpkg on the QNAP for now?
Re: QNAP QPKG for DVR Record Engine
it's not doing any harm since it can't start.
You can leave it there until I post new version or remove.
Should be noted for others too.. latest 4.5.4.1741 QTS is broken for NEW installs. but upgrade to 4.5.4.1741 is OK.
Re: QNAP QPKG for DVR Record Engine
well some good news..
It's working on latest QTS
bad news - I didn't change anything.
I did complete clean install and it just worked.
Did it 5 times and it worked every time.
There is a very minor bug - seems to have been introduced recently, so released a new 1.0.5 update for that anyways (I got it working before I fixed this bug)
Not announcing it as the fix is very small.
I just wonder if that bug causes the installer to fail every so often.
Anyway you can find it on usual sites.
There is still one problem on my NAS - for some reason Am not getting the little icons on the AppCenter to stop and start or remove the app.
Am trying to debug that now and see is there something new added that I need to manage.
SSH to the NAS and stop/start via qpkg_service is still working, example:
If you need to remove the package and the icons aren't there in AppCenter - this is how you do it from SSH command line
The first command looks up the Install_Path parameter for HDHomeRunDVR as recorded by the appcenter into the QPKG configuration.. Then calls the private .uninstall.sh script to remove the package
The second command removes the data from the config file
You will still need to remove the Share folder from the Control Panel -> Shared Folders
When installing the QPKG.
The better way to debug what is going on is to do it via SSH.
I.e. place the package somewhere on the NAS.
SSH to the NAS and then execute the package, i.e.
You get a much richer output of what is happening, and will hopefully see any errors.
Have tried to do similar to Synology logging - but isn't available
It's working on latest QTS
bad news - I didn't change anything.
I did complete clean install and it just worked.
Did it 5 times and it worked every time.
There is a very minor bug - seems to have been introduced recently, so released a new 1.0.5 update for that anyways (I got it working before I fixed this bug)
Not announcing it as the fix is very small.
I just wonder if that bug causes the installer to fail every so often.
Anyway you can find it on usual sites.
There is still one problem on my NAS - for some reason Am not getting the little icons on the AppCenter to stop and start or remove the app.
Am trying to debug that now and see is there something new added that I need to manage.
SSH to the NAS and stop/start via qpkg_service is still working, example:
Code: Select all
qpkg_service stop HDHomeRunDVR
Code: Select all
$(getcfg HDHomeRunDVR Install_Path -f /etc/config/qpkg.conf)/.uninstall.sh
rmcfg HDHomeRunDVR-f /etc/config/qpkg.conf
The second command removes the data from the config file
You will still need to remove the Share folder from the Control Panel -> Shared Folders
When installing the QPKG.
The better way to debug what is going on is to do it via SSH.
I.e. place the package somewhere on the NAS.
SSH to the NAS and then execute the package, i.e.
Code: Select all
sh ./HDHomeRunDVR_1.0.5.qpkg
Have tried to do similar to Synology logging - but isn't available
Last edited by demonrik on Fri Aug 06, 2021 9:29 am, edited 1 time in total.
Re: QNAP QPKG for DVR Record Engine
So I tried installing it and got the following error at the end:
/share/CACHEDEV1_DATA/HDHomeRunDVR/hdhomerun_record: line 10: /tmp/hdhomerun_record_arm: cannot execute binary file
/share/CACHEDEV1_DATA/HDHomeRunDVR/hdhomerun_record: line 10: /tmp/hdhomerun_record_arm: cannot execute binary file
Re: QNAP QPKG for DVR Record Engine
Interesting...
Could be permissions, could be binary comparability with your CPU.
Can you check permissions
Code: Select all
ls -l /tmp/hdhome*
Re: QNAP QPKG for DVR Record Engine
-rw-rw-rw- 1 admin administrators 562 2021-08-05 18:39 /tmp/hdhomerundvr_install.log
-rwxr-xr-x 1 hdhomerundvr hdhomerundvr 522716 2021-06-24 11:08 /tmp/hdhomerun_record_arm*
I am logged in as admin.
-rwxr-xr-x 1 hdhomerundvr hdhomerundvr 522716 2021-06-24 11:08 /tmp/hdhomerun_record_arm*
I am logged in as admin.
Re: QNAP QPKG for DVR Record Engine
Did you mean to put a ) at the end of the first line in uninstalling?
Re: QNAP QPKG for DVR Record Engine
Never mind, I found the ) that I missed.
Re: QNAP QPKG for DVR Record Engine
Permissions are all good
Try getting a version or status with the /tmp/hdhomerun_record_arm binary
I suspect it will fail as before.
And if so we'll need Silicondust help here since is arm but failing to exec.
Could be that the A57 core in the CPU is causing issues
Re: QNAP QPKG for DVR Record Engine
As you suspected it wouldn't give me the status or version. I did notice in the install log that it says it is using the release instead of the beta.
Re: QNAP QPKG for DVR Record Engine
One other thing is that it's showing the symbol that it hasn't been digitally signed in the Application Center so I wonder if that is part of the problem.
Re: QNAP QPKG for DVR Record Engine
Nope. It will still work.
Did it say it can't execute again?
-
Online
- Expert
- Posts: 11111
- 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
That error often comes if /tmp is mounted as noexec but for some reason I thought this package moved such out of /tmp. I'd check fstab. I know a couple of years ago I saw a lot of updates to nas's doing this.