[mythtv-users] Setting MYTHCONFDIR

Phill Edwards philledwards at gmail.com
Sun Apr 13 02:13:49 UTC 2008


I run mythfilldatabase from a daily cron job which picks up the listings
from a xmltv file prepared earlier. When I run this as mythtv from the
command line it works fine. But when it's run from the cron job I get these
errors:
    2008-04-05 14:25:32.211 Bypassing grabbers, reading directly from file
    2008-04-05 14:25:32.212 Using runtime prefix = /usr, libdir = /usr/lib
    2008-04-05 14:25:32.212 Cannot locate your home directory. Please set
the
    +environment variable HOME or MYTHCONFDIR
    2008-04-05 14:25:32.212 Failed to init MythContext, exiting.

I put this line in /etc/sysconfig/mythbackend but it's obviously not what's
needed because the problem still occurs:
    MYTHCONFDIR=/home/mythtv/.mythtv

Can anyone advise what I need to do to fix this? It says to set HOME or
MYTHCONFDIR, but where do I set it and what do I set it to?

Regards,
Phill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080413/a1dcacb9/attachment.htm 


More information about the mythtv-users mailing list