[mythtv-users] Subject: Re: Daily mythfilldatabase fails after conversion to XMLTV

Ken Mandelberg km at mathcs.emory.edu
Mon Mar 4 14:27:45 UTC 2019


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.

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.



Bill Meek wrote on 3/3/19 12:23 PM:
> On 3/3/19 10:11 AM, Ken Mandelberg wrote:
>> Bill
>>
>> curl -H Accept:application/json
>> localhost:6544/Myth/GetSetting?Key=MythFillDatabasePath\&HostName=_GLOBAL_ 
>>
>>
>> gives
>>
>> {"String": "\/usr\/local\/bin\/mythfilldatabase"}
>>
>> Is that wrong? /usr/local/bin/mythfilldatabase is the correct path that
>> works by hand.
>
> Hi,
>
> The full path will prevent logging, see Mike's response here:
>
>     https://code.mythtv.org/trac/ticket/12169
>
> Change it to: mythfilldatabase
>



More information about the mythtv-users mailing list