Synology SPK for DVR Record Engine

Downloads & Instructions
Post Reply
demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

ok - I got this issue to finally show up on my NAS by installing old version, and then restarting, and then updating
Am not sure this is the solution.. so interesting to see if it works for others.

On checking things out I noticed that after upgrading the my.hdhomerun.com was still reporting the OLD version of the engine. I know this because my Synology is ARM and the ARM beta version is newer than the currently changelog'd versions - i.e. 20200701 instead of 20200521 which is the binary in the older SPK and the current version for x86. And once I upgraded the engine version reported was still the old one.

Checking the /tmp/hdhomerun_record_arm binary extracted by the main SD binary showed a file date of 20200521 and not what I would have expected, so I stopped the engine

Code: Select all

sudo synopkgctl stop HDHomeRunDVR
sudo /tmp/hdhomerun_record_arm stop
deleted the /tmp/hdhomerun_record_arm
and then restarted the engine

Code: Select all

sudo synopkgctl start HDHomeRunDVR
And now everything works perfectly. Can someone seeing the storageID issue please try this fix.
if it works I can take care of it in the installer - but there might be an issue for SD to go look at too (if this is genuinely the cause)

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

demonrik wrote:
Wed Jul 08, 2020 3:26 pm
I can't replicate the issue

Can one of you SSH to the box and have a look at the conf file, e.g.

Code: Select all

ls -l /volume1/\@appstore/HDHomeRunDVR/etc
I get:

-rw-rw-r-- 1 hdhomerundvr http 141 Jul 8 17:10 HDHomeRunDVR.conf

I am about to cook dinner so I will try the other suggestions later tonight and report back.

Sion
Posts: 420
Joined: Fri Dec 28, 2012 12:18 pm

Re: Synology SPK for DVR Record Engine

Post by Sion »

Hey Rik,
Just thought I'd comment here... it's not entirely clear (at least it wasn't to me) that one should uninstall / delete the SD record engine before installing your SPK. You may want to make this more clear in your instructions. If it's there, I missed it.

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

demonrik wrote:
Wed Jul 08, 2020 3:46 pm
Checking the /tmp/hdhomerun_record_arm binary extracted by the main SD binary showed a file date of 20200521 and not what I would have expected, so I stopped the engine

Code: Select all

sudo synopkgctl stop HDHomeRunDVR
sudo /tmp/hdhomerun_record_arm stop
deleted the /tmp/hdhomerun_record_arm
and then restarted the engine

Code: Select all

sudo synopkgctl start HDHomeRunDVR
And now everything works perfectly. Can someone seeing the storageID issue please try this fix.
if it works I can take care of it in the installer - but there might be an issue for SD to go look at too (if this is genuinely the cause)
I followed your instructions and deleted hdhomerun_record_x64 in the tmp directory (DS1618 so its x64) and ran the suggested commands.

Now when I try to run it, it does find the storageID however it does not find the DVR. In the log, no DVR devices are listed and when running the HDHomerun app to view recordings, it finds no DVR.

Switching back to the recently created HDHomerun shared folder fixes the issue immediately. DVR is found along with the recordings in your app as well as HDHomeRun viewer app in windows.

It is not really a big deal to keep the new HDHomerun folder for my content but I am happy to continue helping you troubleshoot. Unless there is some negative reason I shouldn't that I can't think of!

Thanks again

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

Sion wrote:
Wed Jul 08, 2020 11:56 pm
Hey Rik,
Just thought I'd comment here... it's not entirely clear (at least it wasn't to me) that one should uninstall / delete the SD record engine before installing your SPK. You may want to make this more clear in your instructions. If it's there, I missed it.
Will update the Original Post to note this is an alternative, and the 2 should not be installed together.
MNOiSY wrote:
Thu Jul 09, 2020 9:25 am
I followed your instructions and deleted hdhomerun_record_x64 in the tmp directory (DS1618 so its x64) and ran the suggested commands.

Now when I try to run it, it does find the storageID however it does not find the DVR. In the log, no DVR devices are listed and when running the HDHomerun app to view recordings, it finds no DVR.

Switching back to the recently created HDHomerun shared folder fixes the issue immediately. DVR is found along with the recordings in your app as well as HDHomeRun viewer app in windows.
Can you elaborate on 'switching back'?
It is not really a big deal to keep the new HDHomerun folder for my content but I am happy to continue helping you troubleshoot. Unless there is some negative reason I shouldn't that I can't think of!
Thanks - all help greatly appreciated.
I suspect something with permissions. If I get what you say in your previous statement, you have recordingpath set to something else and it fails to run the record engine properly.. but if using the new default share that I create it works.
Then that means hdhomerundvr user is probably having issues..
Can you look at the installer log when running with the custom RecordPath? /tmp/hdhomerundvr_install.log
Should give us some data on what's going wrong.

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

demonrik wrote:
Thu Jul 09, 2020 9:42 am
Can you elaborate on 'switching back'?
I mean switching back to the newly created shared folder of "HDHomerun" instead of the default folder "HDHomerunDVR" which is created during the installation process.
demonrik wrote:
Thu Jul 09, 2020 9:42 am
I suspect something with permissions. If I get what you say in your previous statement, you have recordingpath set to something else and it fails to run the record engine properly.. but if using the new default share that I create it works.
Then that means hdhomerundvr user is probably having issues..
Can you look at the installer log when running with the custom RecordPath? /tmp/hdhomerundvr_install.log
Should give us some data on what's going wrong.
I think you might have that backwards. It does NOT work with the default folder used for the install of 'HDHomerunDVR'. It DOES work when I use the newly created share of 'HDHomerun'.

There does not seem to be any timestamps in the install log, but here ya go:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: ** Remove Web UI
HDHomeRunDVR: ** Removing DVR User
HDHomeRunDVR: Removing DVR user hdhomerundvr
HDHomeRunDVR: ** Removing Recording Path Share
HDHomeRunDVR: !!! Does Nothing - leave removing the dir to the user
HDHomeRunDVR: ** Backup Config File
HDHomeRunDVR: ** Create DVR User
HDHomeRunDVR: Creating DVR user hdhomerundvr
HDHomeRunDVR: ** Create and Copy Web UI
HDHomeRunDVR: ** Create Recording Path Share
HDHomeRunDVR: Before creating a share - lets see if we already have config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Check default Recording Path Share exists
HDHomeRunDVR: RecordingPath exists - assume share exists too, add user
HDHomeRunDVR: ** Update vars.php File
HDHomeRunDVR: ** Create Config File
HDHomeRunDVR: check if we have existing config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Creating new Config File
HDHomeRunDVR: ** Adjust Config File Permissions
HDHomeRunDVR: ** Restore Config File
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: ** Remove Web UI
HDHomeRunDVR: ** Removing DVR User
HDHomeRunDVR: Removing DVR user hdhomerundvr
HDHomeRunDVR: ** Removing Recording Path Share
HDHomeRunDVR: !!! Does Nothing - leave removing the dir to the user
HDHomeRunDVR: ** Backup Config File
HDHomeRunDVR: ** Create DVR User
HDHomeRunDVR: Creating DVR user hdhomerundvr
HDHomeRunDVR: ** Create and Copy Web UI
HDHomeRunDVR: ** Create Recording Path Share
HDHomeRunDVR: Before creating a share - lets see if we already have config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Check default Recording Path Share exists
HDHomeRunDVR: RecordingPath exists - assume share exists too, add user
HDHomeRunDVR: ** Update vars.php File
HDHomeRunDVR: ** Create Config File
HDHomeRunDVR: check if we have existing config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Creating new Config File
HDHomeRunDVR: ** Adjust Config File Permissions
HDHomeRunDVR: ** Restore Config File
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: ** Backup Config File
HDHomeRunDVR: ** Remove Web UI
HDHomeRunDVR: ** Removing DVR User
HDHomeRunDVR: Removing DVR user hdhomerundvr
HDHomeRunDVR: ** Removing Recording Path Share
HDHomeRunDVR: !!! Does Nothing - leave removing the dir to the user
HDHomeRunDVR: ** Create DVR User
HDHomeRunDVR: Creating DVR user hdhomerundvr
HDHomeRunDVR: ** Create and Copy Web UI
HDHomeRunDVR: ** Create Recording Path Share
HDHomeRunDVR: Before creating a share - lets see if we already have config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Check default Recording Path Share exists
HDHomeRunDVR: RecordingPath exists - assume share exists too, add user
HDHomeRunDVR: ** Update vars.php File
HDHomeRunDVR: ** Create Config File
HDHomeRunDVR: check if we have existing config file
HDHomeRunDVR: check if we have backup config file
HDHomeRunDVR: Creating new Config File
HDHomeRunDVR: ** Adjust Config File Permissions
HDHomeRunDVR: ** Restore Config File
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Stopping Engine:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: ===========================
HDHomeRunDVR: Starting Engine:
HDHomeRunDVR: ** Validating the Config File is available and set up correctly
HDHomeRunDVR: Config File exists and is writable - is record path and port correct
HDHomeRunDVR: ** Installing the HDHomeRunDVR Record Engine
HDHomeRunDVR: Lets remove any existing engine - we're going to take the latest always....
HDHomeRunDVR: Checking it was deleted - if we can't remove it we can't update
HDHomeRunDVR: Downloading latest release
HDHomeRunDVR: Downloading latest beta
HDHomeRunDVR: Comparing which is newest
HDHomeRunDVR: Beta version is newer - selecting as record engine
HDHomeRunDVR: Changing binary owner to hdhomerundvr
HDHomeRunDVR: Starting the recordengine as hdhomerundvr
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:
HDHomeRunDVR: Requesting Engine Status:

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

MNOiSY wrote:
Thu Jul 09, 2020 10:05 am
demonrik wrote:
Thu Jul 09, 2020 9:42 am
Can you elaborate on 'switching back'?
I mean switching back to the newly created shared folder of "HDHomerun" instead of the default folder "HDHomerunDVR" which is created during the installation process.
demonrik wrote:
Thu Jul 09, 2020 9:42 am
I suspect something with permissions. If I get what you say in your previous statement, you have recordingpath set to something else and it fails to run the record engine properly.. but if using the new default share that I create it works.
Then that means hdhomerundvr user is probably having issues..
Can you look at the installer log when running with the custom RecordPath? /tmp/hdhomerundvr_install.log
Should give us some data on what's going wrong.
I think you might have that backwards. It does NOT work with the default folder used for the install of 'HDHomerunDVR'. It DOES work when I use the newly created share of 'HDHomerun'.

There does not seem to be any timestamps in the install log, but here ya go:
Ah I got you now.
Log looks ok..
I probably need to add a few things to the log so I can get better insights on this issue.
it must be permissions issue somewhere.

Can you SSH to your NAS and run?

Code: Select all

sudo synoacltool -get /volume1/HDHomeRunDVR

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

Code: Select all

sudo synoacltool -get /volume1/HDHomeRunDVR
(synoacltool.c, 359)It's Linux mode

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

MNOiSY wrote:
Thu Jul 09, 2020 10:58 am

Code: Select all

sudo synoacltool -get /volume1/HDHomeRunDVR
(synoacltool.c, 359)It's Linux mode
ah - that's not good..

But I think I know what happened...
you had older version of SPK which had a default 'folder' created /volume1/HDHomeRunDVR
Did you ever make it a shared folder? I suspect not.
And because you had a previous config file I don't create a new 'share'

To fix this - we would need to convert /volume1/HDHomeRunDVR to a share
OR do as you did and create a new shared folder and just move stuff to it.

Wonder if I can do the conversion?! Should I do the conversion?

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

demonrik wrote: ah - that's not good..

But I think I know what happened...
you had older version of SPK which had a default 'folder' created /volume1/HDHomeRunDVR
Did you ever make it a shared folder? I suspect not.
And because you had a previous config file I don't create a new 'share'

To fix this - we would need to convert /volume1/HDHomeRunDVR to a share
OR do as you did and create a new shared folder and just move stuff to it.

Wonder if I can do the conversion?! Should I do the conversion?
There is definitely something weird with the permissions. When I check via the DiskStation GUI for the shared folder permissions, it shows that both the default 'HDHomerunDVR' folder and the one I created, 'HDHomerun' are both shared folders and have identical permissions. However, when I run that command (sudo synoacltool -get /volume1/HDHomeRun) on my newly created 'HDHomerun' shared folder, I get:
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
[0] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[1] user::allow:rwxpdDaARWc--:fd-- (level:0)
[2] group:administrators:allow:rwxpdDaARWc--:fd-- (level:0)
[3] group:managers:allow:rwxpdDaARWc--:fd-- (level:0)
[4] group:http:allow:rwxpdDaARWc--:fd-- (level:0)
[5] user::allow:rwxpdDaARWc--:fd-- (level:0)
[6] user:guest:allow:rwxpdDaARWc--:fd-- (level:0)
[7] group:friends:allow:r-x---a-R-c--:fd-- (level:0)
[8] user::allow:r-x---a-R-c--:fd-- (level:0)
[9] user::allow:rwxpdDaARWc--:fd-- (level:0)
[10] user::allow:rwxpdDaARWc--:fd-- (level:0)
[11] user::allow:rwxpdDaARWc--:fd-- (level:0)
[12] group:users:allow:rwxpdDaARWc--:fd-- (level:0)
[13] user:admin:allow:rwxpdDaARWc--:fd-- (level:0)
[14] group::allow:rwxpdDaARWc--:fd-- (level:0)
[15] user:Backup:allow:rwxpdDaARWc--:fd-- (level:0)
[16] user:Diana:allow:rwxpdDaARWc--:fd-- (level:0)
[17] user:Matt:allow:rwxpdDaARWc--:fd-- (level:0)
[18] user:Media:allow:rwxpdDaARWc--:fd-- (level:0)
[19] user:MediaServer:allow:rwxpdDaARWc--:fd-- (level:0)
The only difference I can tell via the Synology web GUI is that I added an NFS rule to map users to admin for my newly created folder. It seems like maybe permissions/ownership aren't being changed after the initial installation of the SPK.

Here are the permissions/ownership for the folders it creates:

volume1/HDHomeRunDVR - Group and Owner are http. Permissions are 0200 (-w-------)
volume1/HDHomeRunDVR/hdhomerun_record - Group is http, Owner is hdhomerundvr, permissions are 0750 (rwxr-x---)
/volume1/@appstore/HDHomeRunDVR - Group and Owner are root, permissions are 0755 (rwxr-xr-x)
/volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf - Group is http, Owner is hdhomerundvr, Permissions are 0664 (rw-rw-r--)

It looks like all other files/folders in the /volume1/@appstore/HDHomeRunDVR directory are owned by root

Even after removing the HDHomerunDVR folder, uninstalling the app and doing a fresh install, it looks like the permissions and ownership above stay the same.

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

MNOiSY wrote:
Thu Jul 09, 2020 12:11 pm
...
The only difference I can tell via the Synology web GUI is that I added an NFS rule to map users to admin for my newly created folder. It seems like maybe permissions/ownership aren't being changed after the initial installation of the SPK.

Here are the permissions/ownership for the folders it creates:

volume1/HDHomeRunDVR - Group and Owner are http. Permissions are 0200 (-w-------)
volume1/HDHomeRunDVR/hdhomerun_record - Group is http, Owner is hdhomerundvr, permissions are 0750 (rwxr-x---)
/volume1/@appstore/HDHomeRunDVR - Group and Owner are root, permissions are 0755 (rwxr-xr-x)
/volume1/@appstore/HDHomeRunDVR/etc/HDHomeRunDVR.conf - Group is http, Owner is hdhomerundvr, Permissions are 0664 (rw-rw-r--)

It looks like all other files/folders in the /volume1/@appstore/HDHomeRunDVR directory are owned by root

Even after removing the HDHomerunDVR folder, uninstalling the app and doing a fresh install, it looks like the permissions and ownership above stay the same.
that's strange.
On my synology when I install from scratch the SPK creates the folder correctly
the script runs the following command

Code: Select all

synoshare --add HDHomeRunDVR "" /volume1/HDHomeRunDVR "" "hdhomerundvr,@administrators,@http" "" 1 0
on my system if I do following

Code: Select all

synoshare --add testDVR "" /volume1/testDVR "" "hdhomerundvr,@administrators,@http" "" 1 0
and running acltool I get

Code: Select all

NAS2:/volume1/testDVR$ synoacltool -get /volume1/testDVR/
ACL version: 1
Archive: has_ACL,is_support_ACL
Owner: [root(user)]
---------------------
         [0] user:hdhomerundvr:allow:rwxpdDaARWc--:fd--  (level:0)
         [1] group:http:allow:rwxpdDaARWc--:fd--  (level:0)
         [2] group:administrators:allow:rwxpdDaARWc--:fd--  (level:0)
so why doesn't it work for you?!?!
Can you try creating the same as what I just did and see if it sets ACLs?

I will check the NFS thing.. It shouldn't make a difference - but maybe?!

MNOiSY
Posts: 66
Joined: Sun Oct 16, 2016 6:17 pm

Re: Synology SPK for DVR Record Engine

Post by MNOiSY »

Just to clarify, you want me to run:

Code: Select all

synoshare --add HDHomeRunDVR "" /volume1/HDHomeRunDVR "" "hdhomerundvr,@administrators,@http" "" 1 0
Correct?

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

MNOiSY wrote:
Thu Jul 09, 2020 1:56 pm
Just to clarify, you want me to run:

Code: Select all

synoshare --add HDHomeRunDVR "" /volume1/HDHomeRunDVR "" "hdhomerundvr,@administrators,@http" "" 1 0
Correct?
no - do testDVR

Code: Select all

synoshare --add testDVR "" /volume1/testDVR "" "hdhomerundvr,@administrators,@http" "" 1 0

PeterAG
Posts: 7
Joined: Sun Jul 26, 2020 10:31 am

Re: Synology SPK for DVR Record Engine

Post by PeterAG »

My HDHomerun works fine - shows all channels, and I can watch using different channels on all four tuners.

I installed the Synology SPK a year or so back, and followed all the instructions. It worked fine, recording as it should. (My SD DVR account is active)

Recently I went to watch a recording, but it was missing. I tried a new recording, it seemed to be recording, but nothing actually was recorded.

I downloaded and installed the latest SPK, checked everything, HDHomerun DVR Manager is running. But the DVR red button does not show up.

When I open HDHomerun DVR Manager it does not find my HDHomerun.
It will not show up in my Safari or Chrome browser at http://myhdhomerun.com or (https://…)

However - it does show up at http://hdhomerun.local

Any ideas what steps to take?
My NAS is a Synology DS413J
I access HDHomerun on Macs and iPads

demonrik
Posts: 1293
Joined: Mon May 04, 2015 10:03 am
Device ID: 10736454, 1073A35A, 1075C377

Re: Synology SPK for DVR Record Engine

Post by demonrik »

PeterAG wrote:
Mon Jul 27, 2020 10:14 am
My HDHomerun works fine - shows all channels, and I can watch using different channels on all four tuners.

I installed the Synology SPK a year or so back, and followed all the instructions. It worked fine, recording as it should. (My SD DVR account is active)

Recently I went to watch a recording, but it was missing. I tried a new recording, it seemed to be recording, but nothing actually was recorded.

I downloaded and installed the latest SPK, checked everything, HDHomerun DVR Manager is running. But the DVR red button does not show up.

When I open HDHomerun DVR Manager it does not find my HDHomerun.
It will not show up in my Safari or Chrome browser at http://myhdhomerun.com or (https://…)

However - it does show up at http://hdhomerun.local

Any ideas what steps to take?
My NAS is a Synology DS413J
I access HDHomerun on Macs and iPads
sounds like the record engine is reporting out to silicon dusts servers.
Make sure you NAS has access out to the internet - i.e. check firewalls, etc.

Post Reply