[mythtv-users] mythfilldatabase fails to run automatically from within myth but runs ok from bash prompt

Nick Morrott knowledgejunkie at gmail.com
Tue Mar 27 02:19:29 UTC 2007

On 27/03/07, Viktor Avramov <drvik at bigpond.net.au> wrote:
> Yes I did have a read.... just so you know I'm running on a gentoo system and
> from the shell prompt I get this...
> > mythtv at bigfoot ~ $ echo $HOME
> > /home/mythtv

If you are starting mythbackend via an *init* script, which typically
*does not* have $HOME defined at boot *as Mike has repeatedly stated*,
you need to amend your init script to assign a suitable location to
$HOME. Otherwise, mythbackend/mythfilldatabase will use a $HOME="/"
rather than "/root", or "/home/mythtv" as you see above.

The reason things work from the shell is that you have a correctly
defined $HOME which allows MFDB to run normally.

> to try and pinpoint this I have added "-v all" option to the options for
> mythfilldatabase and explicitly specified the config file for the grabber...
> will report results back here same time tomorrow....

I thought I'd answered this issue yesterday regarding the grabber
failing and interpretation of the error messages, but I'll try to take
another look later.

MythTV Official wiki:
MythTV users list archive:

"An investment in knowledge always pays the best interest." - Benjamin Franklin

More information about the mythtv-users mailing list