[mythtv-users] 2 recordings failed at the same time

Jim Abernathy jfabernathy at gmail.com
Mon Oct 26 11:01:02 UTC 2020

On 10/26/20 6:57 AM, John Pilkington wrote:
> On 26/10/2020 10:41, Stephen Worthington wrote:
>> On Mon, 26 Oct 2020 06:01:56 -0400, you wrote:
>>> My log file has always been sprinkled with these 2 Permission denied
>>> errors.
>>> /Oct 25 19:00:23 mythbuntu mythpreviewgen[57623]: 
>>> mythpreviewgen[57623]:
>>> I CoreContext platforms/mythpowerdbus.cpp:530 (AcquireLock) PowerDBus:
>>> Failed to delay sleep,shutdown: Permission denied/
>>> Oct 25 19:00:23 mythbuntu mythpreviewgen[57623]: mythpreviewgen[57623]:
>>> I CoreContext platforms/mythpowerdbus.cpp:360 (DeviceAdded) PowerDBus:
>>> Added UPower.Device '/org/freedesktop/UPower/devices/ups_hiddev0'
>>> Oct 25 19:00:23 mythbuntu mythpreviewgen[57623]: mythpreviewgen[57623]:
>>> I CoreContext mythpower.cpp:348 (PowerLevelChanged) Power: On AC power
>>> Oct 25 19:00:23 mythbuntu mythpreviewgen[57623]: mythpreviewgen[57623]:
>>> I CoreContext mythpower.cpp:131 (Init) Power: Supported actions: None
>>> /Oct 25 19:00:23 mythbuntu mythpreviewgen[57623]: 
>>> mythpreviewgen[57623]:
>>> E CoreContext main.cpp:77 (preview_helper) Setting priority failed.//
>>> //eno: Permission denied (13)/
>>> However this system has recorded gigabytes of programs while these
>>> errors continue to accumulate.
>>> Not sure what they mean.
>>> Yesterday I always had a couple of football games being recorded but it
>>> wasn't until 7PM with the start of 2 new recordings that I had a 
>>> problem
>>> of nothing being written to a file.
>>> The only thing new yesterday was frontend related. I just built a new
>>> x86_64 frontend with an Nvidia GT1030 gfx card on Archlinux KDE Plasma.
>>> When I built mythtv I only configured the frontend and it worked fine.
>>> However it was v0.31-118 and my backend is on Ubuntu is
>>> v0.31-202010122044. Both the most current v31 releases. I was using 
>>> this
>>> frontend to view all recordings yesterday.
>>> My backend was built about as standard as you could get from an Ubuntu
>>> point of view, nothing weird.
>>> It's what I've done before and has been recording fine since July 
>>> when I
>>> did the most recent complete rebuild. FWIW, I documented it here:
>>> https://mythtvinstall.blogspot.com/2020/07/combined-mythtv-v31-media-system-and.html 
>>> I checked this morning and all my recordings since the reboot around
>>> 7:30pm last night have been fine.
>>> Jim A
>> I do not think those permissions messages are a real problem. My
>> reading of them is that you are probably running mythbackend as
>> non-root user, so it does not have the right permissions to send power
>> control commands or to set program priorities.  So I think those are
>> red herrings.
>> Using a slightly older version of mythfrontend should not be any
>> problem - all the protocols used to talk between MythTV programs are
>> only supposed to be changed with a major version, and they all have
>> protocol version information anyway.
>> There is not much detail in the log about the recording process, so it
>> is very difficult to tell what happened.  I would recommend adding the
>> "-v record" option to the mythbackend command line to get it to log
>> about the recording process in future.
> This was the weekend when clocks in the UK were put back by an hour. 
> Could somthing similar be responsible for this failure?
We are still on Daylight Saving time in the USA, so probably not the 
cause of this issue.

Jim A

More information about the mythtv-users mailing list