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 … 285 286 287 288 289 … 433 Next »
Can't record to mapped drive

Can't record to mapped drive
mtisza
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Oct 2012
#1
2012-10-27, 02:13 PM
Hi all. This is my first post, and I'm just checking out NextPVR for the first time. I've used sage for years, and need to switch to something else now. My first issue is that it seems that I can only record to a local drive, whereas I need to record to a mapped drive. I have a 8TB NAS with a share dedicated to this NextPVR Instance mapped to "Z:\" , and I can read and write files to that drive manually without any issue (i.e. it shouldn't be a plain permissions issue). When I setup a recording using the snazzy website, I get this error in the logs:

Code:
2012-10-27 09:11:31.992    [DEBUG][7]    Unexpected error in GetTargetName: System.IO.DirectoryNotFoundException: Could not find a part of the path 'Z:\NCIS\'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
   at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
   at NShared.RecordingService.GetTargetName(ScheduledRecording scheduledRecording)
   at NShared.RecordingService.WorkerThread()

If I change the recordings to go to a folder on the C:\ drive, it works.

I've attached all my logs zipped, up. Here' my specific setup:
PC: VMware ESXi virtual machine, with 4GB RAM, 8 cores, 64 GB virtual disk.
OS: Windows 7 64-bit freshly installed with all updates
Next PVR: 2.5.9 with the cumulative patches applied (how can I confirm patches are successful?)
Tuner: 1x HDHomeRun Prime with cable card
Source: FIOS
Front-ends: 3x Rapsberry Pi 512MB with OpenElec (not yet functioning right, but that's for another post)

Thanks for any information that could help resolve this.

-Miki
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#2
2012-10-27, 03:49 PM
The recording service runs in the background as a different system user account, so doesn't see your drive mappings. ie, there is no Z:\ drive in that account.

You can change it to record to a UNC path though. ie \\server\share.
ElihuRozen
Offline

Senior Member

Massachusetts, USA
Posts: 514
Threads: 51
Joined: Apr 2006
#3
2012-10-27, 03:56 PM
Martin wrote a utility that allows you to use a share. See ShareHelper2 info here: http://forums.nextpvr.com/showthread.php...er-utility
Tuners: SD HDHR Prime (HDHR3-CC). SD HDHR Connect Quatro Tuner (HDHR5-4US) - only QAM.  EXVIST H.265 Encoder - capturing cable box.
Client: Odroid-N2 running knewc on KODI - connected via MoCA.
EPG: SchedulesDirect
Provider: Verizon Fios
Server: Dell XPS 8700 with Windows 10
mtisza
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Oct 2012
#4
2012-10-27, 04:25 PM
So I started following what sub wrote, and I quickly noticed there was no option for manually typing in the directory name, as it shows a browse dialog box. So I then thought I should edit config.xml directly, and it seems to ignore my changes. I had the service stopped in services.msc, and NextPVR was not running while editing. Then when I restart it shows the recording folder as C:\Users\Public\videos.

So where can I type in the UNC path? Also will it accept \\UsernameTongueassword@server\share ? Should I add prefix of smb:\\... ?

If this doesn't pan out I can try the tool ElihuRozen suggested.

Thanks for the quick replies!
-Miki
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#5
2012-10-27, 04:29 PM
From memory, if you do need to use a UNC share then you do need type it directly into config.xml. Its only going to work with the \\server\share format though. You'll either have to make sure the default permissions on that share allow writing without any explicit login. (usually not a big deal in a home environment)

Alternatively you can try changing the account the recording service runs as.
mtisza
Offline

Junior Member

Posts: 6
Threads: 2
Joined: Oct 2012
#6
2012-10-27, 05:47 PM
I went the route of configuring the service to login as a normal user, who's login credentials match the NAS account. This didn't work at first. I had win7 64 bit home premium, which doesn't have a way to add that account to the users that are allowed to logon as a service. I had already purchased an "anytime upgrade" to pro for other reasons. As soon as I upgraded, then ran secpol.msc, and added the permission to the user, it worked fine. Thanks.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording to a network drive woes. 2leftfeet 12 7,346 2022-04-05, 08:03 PM
Last Post: mvallevand
  Can't watch certain channels on live tv (but can record) tvwatcher 4 2,201 2021-05-05, 06:23 AM
Last Post: tvwatcher
  Recordings with Next PVR 4.2.5 (CL0116) have background music but no voice in record DavidF 4 2,152 2021-01-07, 08:47 AM
Last Post: sub
  Possible to record in different format than .ts files? gadgetgaz 29 13,153 2020-10-04, 03:05 PM
Last Post: Ehrlichia
  Can't record repeating programs dave22 2 1,872 2020-04-20, 04:27 PM
Last Post: sub
  Windows 10 Record Issues Captain Jack 11 5,568 2020-02-02, 09:11 PM
Last Post: Captain Jack
  EPG showing "no show details" for mapped channels iameric 3 2,455 2019-12-17, 12:00 AM
Last Post: iameric
  Record direct from live tv? rv0987 3 1,991 2019-11-01, 12:29 PM
Last Post: rv0987
  Won't Record with Windows 10 v. 1903 GWCowling323 5 3,528 2019-10-15, 03:51 PM
Last Post: mvallevand
  NextPVR - black screen when watching and can't record XC-3730C 5 3,090 2019-10-14, 05:08 PM
Last Post: sub

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

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

Linear Mode
Threaded Mode