Hi there,
I am using the latest version of Raspberry OS 32 bit and the latest version of NextPVR. I am trying to record and watch tv using my WD Mycloud as a recording storage/mycloud. I have successfully mounted a wd mycloud share using the following line on my fstab file -
//192.168.0.118/NextPVR /home/pi/wdmycloud cifs username=pi,password=*******,workgroup=WORKGROUP,file_mode=0777,dir_mode=0777,uid=pi,gid=pi,forceuid,forcegid 0 0
This is a public share.
It works fine as I can write to the share no problem from the raspberry pi. When I try to watch a channel though I get a Failed to start requested them error. Here is the error that shows up in the log.
021-06-07 19:26:31.761 [ERROR][24] Unexpected error creating TSWriter map: System.UnauthorizedAccessException: Access to the path '/live-CBOT-DT-603-1.ts.map' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at NShared.Writer.OutputSink..ctor(String filename)
I cannot record anything either.
I also tried in accordance to another thread that I saw on the NextPVR blog to change the credentials under which the service runs from user nextpvr to user pi group pi - but that never worked. I got some kind of internal error on the screen and here is the type of error I received in the log.
...startup]
2021-06-07 17:11:30.555 [INFO][1] See LICENSE.txt for license information
2021-06-07 17:11:30.559 [DEBUG][1] No /var/opt/nextpvr/scripts/PreStartup.sh
2021-06-07 17:11:30.584 [DEBUG][1] Checking if upgrade required
2021-06-07 17:11:30.590 [DEBUG][1] master file is /opt/nextpvr/system/data/Config-master-dont-edit.xml
2021-06-07 17:11:30.596 [DEBUG][1] Doing database updates
2021-06-07 17:11:30.598 [DEBUG][1] Database: /var/opt/nextpvr/npvr.db3
2021-06-07 17:11:30.984 [INFO][1] Version 5.1.2.210603
2021-06-07 17:11:31.408 [DEBUG][1] CaptureSource.LoadAll()
2021-06-07 17:11:31.684 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:32.726 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:33.772 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:34.824 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:35.847 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:36.891 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:37.940 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:39.212 [DEBUG][1]
If I do not use the wd mycloud to record/watch tv, NextPVR performs fine. I even tried unmounting the wd mycloud from the pi and tried to write to the same directory to which the wd mycloud was mounted and it worked.
I am far from an expert in Linux. I have spent way too many hours on this issue and am just about ready to give up on it. Anyways, any help you can give me would be greatly appreciated. Thanks.
I am using the latest version of Raspberry OS 32 bit and the latest version of NextPVR. I am trying to record and watch tv using my WD Mycloud as a recording storage/mycloud. I have successfully mounted a wd mycloud share using the following line on my fstab file -
//192.168.0.118/NextPVR /home/pi/wdmycloud cifs username=pi,password=*******,workgroup=WORKGROUP,file_mode=0777,dir_mode=0777,uid=pi,gid=pi,forceuid,forcegid 0 0
This is a public share.
It works fine as I can write to the share no problem from the raspberry pi. When I try to watch a channel though I get a Failed to start requested them error. Here is the error that shows up in the log.
021-06-07 19:26:31.761 [ERROR][24] Unexpected error creating TSWriter map: System.UnauthorizedAccessException: Access to the path '/live-CBOT-DT-603-1.ts.map' is denied.
---> System.IO.IOException: Permission denied
--- End of inner exception stack trace ---
at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirectory, Func`2 errorRewriter)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String path, OpenFlags flags, Int32 mode)
at System.IO.FileStream.OpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes)
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at NShared.Writer.OutputSink..ctor(String filename)
I cannot record anything either.
I also tried in accordance to another thread that I saw on the NextPVR blog to change the credentials under which the service runs from user nextpvr to user pi group pi - but that never worked. I got some kind of internal error on the screen and here is the type of error I received in the log.
...startup]
2021-06-07 17:11:30.555 [INFO][1] See LICENSE.txt for license information
2021-06-07 17:11:30.559 [DEBUG][1] No /var/opt/nextpvr/scripts/PreStartup.sh
2021-06-07 17:11:30.584 [DEBUG][1] Checking if upgrade required
2021-06-07 17:11:30.590 [DEBUG][1] master file is /opt/nextpvr/system/data/Config-master-dont-edit.xml
2021-06-07 17:11:30.596 [DEBUG][1] Doing database updates
2021-06-07 17:11:30.598 [DEBUG][1] Database: /var/opt/nextpvr/npvr.db3
2021-06-07 17:11:30.984 [INFO][1] Version 5.1.2.210603
2021-06-07 17:11:31.408 [DEBUG][1] CaptureSource.LoadAll()
2021-06-07 17:11:31.684 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:32.726 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:33.772 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:34.824 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:35.847 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:36.891 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:37.940 [WARN][1] Error discovering HDHR devices: Resource temporarily unavailable Resource temporarily unavailable
2021-06-07 17:11:39.212 [DEBUG][1]
If I do not use the wd mycloud to record/watch tv, NextPVR performs fine. I even tried unmounting the wd mycloud from the pi and tried to write to the same directory to which the wd mycloud was mounted and it worked.
I am far from an expert in Linux. I have spent way too many hours on this issue and am just about ready to give up on it. Anyways, any help you can give me would be greatly appreciated. Thanks.