[mythtv-users] Replace my database with a "stock" one
Frank Phillips
frankalso at gmail.com
Thu Jun 5 05:01:17 UTC 2014
On Wed, Jun 4, 2014 at 8:49 PM, Rob Owens <rowens at ptd.net> wrote:
> On Wed, Jun 04, 2014 at 11:02:36PM +0100, Mike Perkins wrote:
> > On 04/06/14 18:05, Rob Owens wrote:
> > >>From: "Frank Phillips" <frankalso at gmail.com>
> > >>
> > >>On Jun 2, 2014 8:28 PM, "Rob Owens" < rowens at ptd.net > wrote:
> > >>>
> > >>>On Mon, Jun 02, 2014 at 12:22:08PM -0500, Frank Phillips wrote:
> > >>>>On Mon, Jun 2, 2014 at 11:47 AM, Will Dormann < wdormann at gmail.com >
> > >>>>wrote:
> > >>>>
> > >>>>>On 6/2/14, 12:22 PM, Rob Owens wrote:
> > >>>>>>Mythfilldatabase no longer runs automatically (but it works when I
> > >>>>>>run
> > >>>>>it manually).
> > >>>>>
> > >>>>>
> > >>>>>I ran into this myself. In the end I just ended up adding a cron
> job to
> > >>>>>do it.
> > >>>>>
> > >>>>>
> > >>>>I have a patch at
> https://code.mythtv.org/trac/ticket/12101#comment:1 to
> > >>>>fix that. If you don't want to patch you can set the mfdb run window
> to
> > >>>>0-23 in mythtv-setup. Also see the script at the linked
> > >>>>schedulesdirect.org
> > >>>>page to monitor how it's doing.
> > >>>
> > >I've tried the workaround suggested above, but I don't see any log info
> indicating that mythfilldatabase is being run. Which log should I be
> looking at? There is a mythfilldatabase.log but it hasn't been updated
> since December, so I'm wondering whether that log file is a leftover from a
> previous version of MythTV. I grepped /var/log/mythtv/* and didn't find
> any recent mentions of mythfilldatabase.
> > >
> > You've checked the usual: that the log directory you've specified
> > (or defaulted) can be written by the user which is running
> > mythfilldatabase - which might not be the user which is running
> > mythbackend, of course.
> >
> /var/log/mythtv/* is owned by mythtv.mythtv
>
> > Check system or cron logs to see if the cron job is actually doing
> anything.
> >
> There is no cron job. I think MythTV handles this based on a database
> entry.
>
> However, I just checked my Program Guide, and I have a full 2 weeks
> worth of listing data. The last time I manually ran mythfilldatabase
> was several days ago, so it appears to me that Frank's workaround is
> working. I just can't find evidence of it in my logs.
>
> -Rob
>
Once you have everything logging properly, you can use the script I
mentioned to monitor it for a while, instead of grepping through the logs
manually.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20140605/db7adbd0/attachment-0001.html>
More information about the mythtv-users
mailing list