NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 179 180 181 182 183 … 433 Next »
Need assisatance with recording to NAS... windows share not working?

Need assisatance with recording to NAS... windows share not working?
vbtalent
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2013
#1
2015-07-05, 08:37 PM
I'm trying to setup my QNAP NAS with NPVR and I'm having issues.

If the "Recordings" folder or "Buffer Directory" is set to the local drive (SSD) the same as the software install - I can record OK. As soon as I point it to my share that I've created on the local machine that points to the NAS it appears to not be able to write to the NAS, any ideas on how to fix?

In another test when playing "Live TV" if the folders are set to c:\temp I get a black screen however the "Buffer" file is being created..

I hope someone can help.

Thanks.

VB,
Lee Thompson
Offline

Junior Member

Posts: 15
Threads: 7
Joined: Aug 2013
#2
2015-07-05, 08:45 PM
If you're running NextPVR as a service you can be running into some issues.

1. Make sure you define the path to the NASshare within NextPVR using a UNC path and not a drive letter (i.e. \\mynas\share not F:\ etc)

2. In the Services applet in Windows, locate the "NPVR Recording Service". Right click and select properties. Then click on the "Log On" tab change it from using the service account to a windows account with permission to read/write to the share (it also needs read/write permission to the NextPVR installation and data directories as well.) Click apply and re-start the service.

The LocalService account does NOT have permission to read/write to network shares and service accounts don't get the drive letter maps*.


(* There is a way for them too but it's a huge pain in the behind. http://stackoverflow.com/questions/18275...-a-service has some hints but frankly it's easier just to change the account the service is using and use unc paths.)
vbtalent
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2013
#3
2015-07-05, 09:10 PM
Thanks for the feedback.

How can I get a UNC path in the network share, it always assigns a drive letter?

So lets say I create a user in my PC with a similar name and password as that on the NAS with read/write to to the share, will that suffice?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#4
2015-07-05, 10:17 PM
Lee Thompson Wrote:If you're running NextPVR as a service you can be running into some issues.

1. Make sure you define the path to the NASshare within NextPVR using a UNC path and not a drive letter (i.e. \\mynas\share not F:\ etc)

2. In the Services applet in Windows, locate the "NPVR Recording Service". Right click and select properties. Then click on the "Log On" tab change it from using the service account to a windows account with permission to read/write to the share (it also needs read/write permission to the NextPVR installation and data directories as well.) Click apply and re-start the service.

The LocalService account does NOT have permission to read/write to network shares and service accounts don't get the drive letter maps*.


(* There is a way for them too but it's a huge pain in the behind. http://stackoverflow.com/questions/18275...-a-service has some hints but frankly it's easier just to change the account the service is using and use unc paths.)

Unless you need security on the folders UNC paths will work without changing recording permissions.

Martin
vbtalent
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2013
#5
2015-07-05, 10:34 PM
Thanks for the reply Martin.

I'm not sure I follow your reply?

I think you saying that I don't need to change the NPVR service to use a specific account, that the Local System account will work...is that correct?

From what I can find in the Forum this seems to be a common issue for people and I was even looking for the utility you wrote but am unable to find it.

Since the share from my NAS is available to and can be written from the user on my PC running the NPVR services I'm not sure how to setup the recording and buffering directory's properly, can you assist?

Would a symbolic link work?

mklink /d C:\buffer \\192.168.2.11\Multimedia\movies

VB,
vbtalent
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2013
#6
2015-07-05, 10:40 PM
It appears to have UNC in the path now which I think looks correct... but still nothing?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,205
Threads: 958
Joined: May 2006
#7
2015-07-05, 11:22 PM (This post was last modified: 2015-07-05, 11:31 PM by mvallevand.)
vbtalent Wrote:I think you saying that I don't need to change the NPVR service to use a specific account, that the Local System account will work...is that correct?

Yes assuming there is no security on the share you are writing too. Make sure is it s a CIFS share not a Windows share. Local System can't always write to Everyone but it can write to guest.

Quote:From what I can find in the Forum this seems to be a common issue for people and I was even looking for the utility you wrote but am unable to find it.

I'vel edited the post to link to nextpvr.com not gbpvr.com http://forums.nextpvr.com/showthread.php...er-utility

Quote:Since the share from my NAS is available to and can be written from the user on my PC running the NPVR services I'm not sure how to setup the recording and buffering directory's properly, can you assist?

If running as a user is working there is no need to change.


Quote:Would a symbolic link work?

mklink /d C:\buffer \\192.168.2.11\Multimedia\movies

VB,

It would be the same problem as drive letters, it is account specific.

Martin
vbtalent
Offline

Junior Member

Posts: 28
Threads: 5
Joined: Mar 2013
#8
2015-07-05, 11:23 PM
For future reference for anyone dealing with an NAS and Windows and setting up a network share.

This worked for me on Windows 7 and a QNAP NAS.

1) Create a user on both Windows and the NAS user with the same name and allow read/write on the NAS share.

2) Create a symbolic link on the Windows machine by executing the following (or similar) in a DOS prompt:

mklink /d C:\buffer "\\192.168.2.11\Multimedia\movies\my path"

3) Give the new user you created on Windows read/write access to the symbolic link folder you just created

4) Change the "NPVR Recording Service" to use the new account you just created.

It will not survive a reboot... so you'll need a batch file, etc. to help with that.

I hope this saves someone some time..

VB,
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#9
2015-07-08, 05:45 PM (This post was last modified: 2015-07-08, 06:17 PM by pBS.)
i'm pretty sure if you use a directory junction instead of a link, it'll stay after a reboot.. "mklink /J linkdir targetdir"
i've been using these for years..even with old gbpvr..Smile
it doesn't seem to care about user accounts either...[although your nas might?...this way persists even under other accounts, as if it's hardware linked, not dependent on user account, tho permissions still in effect]

to see existing reparse points, use " dir /al" and it will show only reparse points for that dir...

careful when deleting the reparse points...make sure dest dir is empty as it will be deleted...
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording movies / TV to XBMC directory stucture spinnaker 10 3,910 2024-06-03, 03:56 AM
Last Post: Rod Hutchinson
  Not recording errors vidwiz 4 1,183 2024-04-17, 05:39 PM
Last Post: mvallevand
  Add Series/Episode Info to Recording Metadata andrewj 2 1,236 2023-11-20, 03:42 PM
Last Post: sub
  Recording to a network drive woes. 2leftfeet 12 7,650 2022-04-05, 08:03 PM
Last Post: mvallevand
  device needed for recording David209 2 1,846 2021-04-04, 08:47 AM
Last Post: David209
  PC not going to sleep after recording LeoL 7 3,608 2021-04-01, 07:17 PM
Last Post: Handy.Man
  HDHomerun recording bizzarely not working Jean0987654321 3 2,227 2021-03-27, 03:23 PM
Last Post: Jean0987654321
Video Restrict Recording Space foucomm 1 1,430 2021-01-30, 09:25 PM
Last Post: mvallevand
  Lights-Out for Windows Home Server 2011? TuckerDean 1 1,436 2021-01-28, 01:52 PM
Last Post: mvallevand
  Directory dropdown on the recording edit dialog MicahMakenzie 1 1,608 2021-01-11, 04:37 PM
Last Post: Graham

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode