Oct 08 17:01:54 mythbackend mythbackend[31717]: mythbackend[31717]: I TVRecEvent tv_rec.cpp:1091 (HandleStateChange) TVRec[1]: Changing from None to WatchingLiveTV
Oct 08 17:01:54 mythbackend mythbackend[31717]: mythbackend[31717]: I TVRecEvent tv_rec.cpp:3682 (TuningFrequency) TVRec[1]: TuningFrequency
Oct 08 17:01:54 mythbackend mythbackend[31717]: mythbackend[31717]: I TVRecEvent recorders/hdhrstreamhandler.cpp:378 (Connect) HDHRSH[1](104FD004): Added 2 devices from 104FD004
Oct 08 17:01:54 mythbackend mythbackend[31717]: mythbackend[31717]: I TVRecEvent recorders/hdhrstreamhandler.cpp:396 (Connect) HDHRSH[1](104FD004): Connected to device(104FD004-0)
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: E CoreContext autoexpire.cpp:158 (CalcParams) AutoExpire: Filesystem Info cache is empty, unable to calculate necessary parameters
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: E TVRecEvent threadedfilewriter.cpp:126 (Open) TFW(/media/pi/USB/default/10901_20191008220155.ts:-1): Opening file '/media/pi/USB/
eno: Permission denied (13)
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: E TVRecEvent tv_rec.cpp:4647 (GetProgramRingBufferForLiveTV) TVRec[1]: RingBuffer '/media/pi/USB/default/10901_20191008220155.ts'
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: E TVRecEvent tv_rec.cpp:4680 (CreateLiveTVRingBuffer) TVRec[1]: CreateLiveTVRingBuffer(9_1) failed
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: E TVRecEvent tv_rec.cpp:3809 (TuningFrequency) TVRec[1]: Failed to create RingBuffer 1
Oct 08 17:01:55 mythbackend mythbackend[31717]: mythbackend[31717]: I TVRecEvent tv_rec.cpp:1091 (HandleStateChange) TVRec[1]: Changing from WatchingLiveTV to None
What is this trying to tell me? Are there file permissions I need to set? I just have the one storage directory set, going to my USB drive using the automatic /media/pi/USB/default which is where I set the directory to.
Failed to create Ring Buffer
Moderator: Forum Moderators
Re: Failed to create Ring Buffer
Yes, the threaded file writer can't open a directory in order to get to the 'default' directory
and create the file.:
I'd try ls -ld /media/pi/USB . It must have read/search permission for the user running the backend.
Something like:
The directory named 'default' under USB must have read/write/search permissions and is typically user/group mythtv/mythtv.
Again, assuming the backend is running as that user/group.
and create the file.:
Code: Select all
... TFW(/media/pi/USB/default/10901_20191008220155.ts:-1): Opening file '/media/pi/USB/
eno: Permission denied (13)
Something like:
Code: Select all
sudo chmod ugo+rx /media/pi/USB
Again, assuming the backend is running as that user/group.
Code: Select all
sudo chown mythtv:mythtv /media/pi/USB/default
sudo chmod ug=rwx,o=rx /media/pi/USB/default