NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Docker amd64 v
1 2 3 4 5 … 9 Next »
Live streaming starts but then fails with access denied

 
  • 0 Vote(s) - 0 Average
Live streaming starts but then fails with access denied
TheFonz
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Feb 2014
#1
5 hours ago
I am getting access denied on live streams but recordings seem to working
here is my config

Code:
docker run -d \
    --name nextpvr \
    --user root \
    --volume /root/config:/config \
    --volume /mnt/livetv:/recordings \
    --volume /mnt/livetv:/buffer \
    --restart unless-stopped \
    --publish 16891:16891/udp \
    --publish 8866:8866 \
    nextpvr/nextpvr_amd64:stable

I then get receiving data for a a tiny bit, sometimes get video+audio but for a max of about 10 seconds,  before a massive dump of the following error:

Code:
2025-05-13 00:23:51.528 [ERROR][29] Unexpected error writing to OutputSink: System.UnauthorizedAccessException: Access to the path '/buffer/live-Channel 9-1-2.ts' is denied.
---> System.IO.IOException: Permission denied
  --- End of inner exception stack trace ---
  at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset)
  at System.IO.Strategies.BufferedFileStreamStrategy.WriteSpan(ReadOnlySpan`1 source, ArraySegment`1 arraySegment)
  at NShared.Writer.OutputSink.Write(Byte[] data, Int32 offset, Int32 length)

I even tried the buffer folder the same as the recording folder to no avail.
both the buffer & recording folders are the same SMB share.

I am running NextPVR on a docker LXC in proxmox.
I have confirmed the permissions and read+write access to the mnt to be working.

Any ideas would be appreciated!
Cheers,
Fonz
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#2
5 hours ago
Although you say you you confirmed the permissions, i will still be Linux permissions on /mnt/livetv or on the mount itself. You can likely confirm that by using /tmp instead of /mnt/livetv

Martin
TheFonz
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Feb 2014
#3
5 hours ago (This post was last modified: 5 hours ago by TheFonz.)
Yep changing to /tmp works fine - however the drive for the nextpvr lxc is only 14gb and not networked in anyway, so trying to avoid that. I have followed a few tuts re lxc smb shares and permissions but something is still hinky.
When starting a live stream the ts file(s) get created, which proves read+write doesn't it??
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,778
Threads: 954
Joined: May 2006
#4
4 hours ago
That was was simply to show you you have a permission error. If you can write to the local file system maybe focus on smb and the server itself. Sorry I cant help further.

Martin
TheFonz
Offline

Junior Member

Posts: 15
Threads: 3
Joined: Feb 2014
#5
1 hour ago
Found this thread with the exact same situation as me and no resolution Sad
https://forums.nextpvr.com/showthread.php?tid=63964
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Unable to live stream Atanoman 4 333 2025-01-04, 07:22 PM
Last Post: Atanoman
  IPTV streaming uses 100% CPU callumjk 2 958 2024-04-18, 05:11 PM
Last Post: sub
  Container fails to scan channels - Native succeeds Velero 4 1,142 2022-02-08, 06:47 PM
Last Post: Velero
  LiveTv Channels - Streaming Failed (transcoder exited) groenator 22 6,904 2020-10-05, 10:40 AM
Last Post: Graham
  Live TV stream stops VCR58 13 4,613 2019-07-04, 04:32 AM
Last Post: VCR58
  Show already recorded then Live watched, causes problems vintdiesel 1 1,737 2019-06-29, 07:32 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