[mythtv-users] Subject: Re: Daily mythfilldatabase fails after conversion to XMLTV
Bill Meek
keemllib at gmail.com
Mon Mar 4 19:05:15 UTC 2019
On 3/4/19 8:27 AM, Ken Mandelberg wrote:
> Removing the full path had two effects. First, as suggested I get mythfilldatabase logs.
>
> Second, now mythfilldatabase actually runs initiated from the backend. In fact too much. It runs over and over again, unsuccessful each time,
> leaving a new log once a minute.
Never saw that. May need to dump the housekeeping table and a setting.
SELECT * FROM housekeeping WHERE tag = 'MythFillDB';
SELECT * FROM settings WHERE value = 'MythFillSuggestedRunTime';
> That log shows failure with
>
> 2019-03-04 09:06:07.517937 I [7142/7142] CoreContext filldata.cpp:584 (Run) - Found 666 channels for source 3 which use grabber
> 2019-03-04 09:06:07.518476 I [7142/7150] SystemSignalManager mythsystemunix.cpp:497 (run) - Starting process signal handler
> 2019-03-04 09:06:07.518494 I [7142/7151] SystemIOHandlerR mythsystemunix.cpp:92 (run) - Starting IO manager (read)
> 2019-03-04 09:06:07.518554 I [7142/7149] SystemManager mythsystemunix.cpp:271 (run) - Starting process manager
> 2019-03-04 09:06:07.521057 I [7142/7152] SystemIOHandlerW mythsystemunix.cpp:92 (run) - Starting IO manager (write)
> 2019-03-04 09:06:08.570470 E [7142/7142] CoreContext filldata.cpp:613 (Run) - tv_grab_zz_sdjson_sqlite --capabilities failed or we timed out
> waiting. You may need to upgrade your xmltv grabber
> 2019-03-04 09:06:08.570540 E [7142/7142] CoreContext filldata.cpp:929 (Run) - Grabbing XMLTV data using tv_grab_zz_sdjson_sqlite is not
> supported. You may need to upgrade to the latest version of XMLTV.
> 2019-03-04 09:06:10.711251 N [7142/7142] CoreContext main.cpp:436 (main) - Data fetching complete.
>
>
> For reference:
> $ /var/log/mythtv$ tv_grab_zz_sdjson_sqlite --version
> XMLTV module version 0.5.70
> This is tv_grab_zz_sdjson_sqlite version 1.4, 2017/06/19 16:15:28
>
> Remember mythfilldatabase runs properly from the command line as me.
>
> I'm wondering if the issue is that it runs as mythtv from the backend, and mythtv does not actually have a home directory. If so, beyond
> creating one, does it need to be populated in some way.
User mythtv may not have a HOME, but you must have a configuration directory.
The full log would tell you which configuration directory is in play. Look for the line:
Using configuration directory = ......
You likely used the: --config-file $HOME/.mythtv/<your source name>.xmltv
from the Wiki.
Copy the config-file, into MythTV's configuration directory
and point the database to your existing one. Like:
database=/home/<yourself>/.xmltv/SchedulesDirect.<name you picked>
I recall that creating a symbolic link didn't work. A hard link may, but
I didn't test it.
User mythtv must have read/write permissions on the DB file and maybe its
directory. You get to test the directory part.
--
Bill
More information about the mythtv-users
mailing list