<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 12, 2022 at 10:38 AM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 1/12/22 7:56 AM, James Abernathy wrote:<br>
> | MythFillDatabaseLog             | /var/log/mythtv           | NULL     |<br>
> | MythFillDatabasePath            | /usr/bin/mythfilldatabase | NULL     |<br>
> | MythFillEnabled                 | 1                         | NULL     |<br>
> | MythFillFixProgramIDsHasRunOnce | 1                         | crw-pvr  |<br>
> | MythFillFixProgramIDsHasRunOnce | 1                         | crw-pvr  |<br>
> | MythFillGrabberSuggestsTime     | 0                         | NULL     |<br>
> | MythFillMaxHour                 | 16                        | NULL     |<br>
> | MythFillMinHour                 | 16                        | NULL     |<br>
<br>
MythFillDatabaseLog doesn't exist, at least in the v32Pre code base, harmless<br>
<br>
MythFillDatabasePath must be mythfilldatabase, any other value, like a full<br>
path name will *prevent* mythfilldatabase logging.<br>
<br>
MythFillFixProgramIDsHasRunOnce, I've only got one. Probably harmless.<br>
<br>
MythFillMaxHour and Min are the same, that looks like a change just for<br>
testing. Not the original 0-5AM.<br>
<br>
I'd also look at the timestamps in housekeeping:<br>
<br>
mysql> SELECT * FROM housekeeping WHERE tag='MythFillDB';<br>
+------------+----------+---------------------+---------------------+<br>
| tag        | hostname | lastrun             | lastsuccess         |<br>
+------------+----------+---------------------+---------------------+<br>
| MythFillDB | NULL     | 2022-01-12 09:00:02 | 2022-01-12 09:00:02 |<br>
+------------+----------+---------------------+---------------------+<br>
<br>
Once MythFillDatabasePath is corrected, I'd run the backend with -v system,xmltv<br>
and there may be clues in the mythfilldatabase.log (or wherever you log to).<br>
<br>
-- <br>
Bill<br></blockquote><div><br></div><div>I took a look at the mythtv-backend.service file and fixed the logging from syslog to systemd-journal and added the -v system,xmltv.</div><div><br></div><div>I found some odd things about the grabbers. I get an error on tv_grab_zz_sdjson_sqlite when it runs from the backend service, but I do not get the error if I run it manually as user 'mythtv'.</div><div><br></div><div>I wonder if the backend has a hard coded path for the grabbers and not using the default path. My path puts the grabbers at:</div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">/usr/bin/site_perl/tv_grab_zz_sdjson_sqlite</span><br></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">which is where the xmltv make install puts it under arch linux.</span></span></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)"><br></span></span></div><div> <span style="color:rgb(0,0,0);font-family:monospace">Jan 12 11:58:38 den-pc mythbackend[4235]: Managed child (PID: 4289) has started! * command=/usr/bin/mythfilldatabase --verbose general,system,xml</span></div><span style="font-family:monospace">tv --loglevel info --systemd-journal --quiet, timeout=0
<br>Jan 12 11:58:38 den-pc mythbackend[4235]: Starting IO manager (read)
<br>Jan 12 11:58:38 den-pc mythbackend[4235]: Starting process signal handler
<br>Jan 12 11:58:38 den-pc mythbackend[4235]: Starting IO manager (write)
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: mythfilldatabase version: master [v32-Pre-3361-gba401e1ea9] <a href="http://www.mythtv.org">www.mythtv.org</a>
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Qt version: compile: 5.15.2, runtime: 5.15.2
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Arch Linux (x86_64)
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Enabled verbose msgs:  general system xmltv
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setting Log Level to LOG_INFO
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Interrupt handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Added logging to the console
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Terminated handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Segmentation fault handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Aborted handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Bus error handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Floating point exception handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Illegal instruction handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Real-time signal 0 handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Setup Hangup handler
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Using runtime prefix = /usr
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Using configuration directory = /home/mythtv/.mythtv
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Assumed character encoding: en_US.UTF-8
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Empty LocalHostName. This is typical.
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Using a profile name of: 'den-pc' (Usually the same as this host's name.)
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Start up testing connections. DB localhost, BE , attempt 0, status dbAwake, Delay: 2000
<br>Jan 12 11:58:38 den-pc mythfilldatabase[4289]: Added journal logging
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Setting QT default locale to en_US
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Current locale en_US
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: PowerDBus: Failed to delay sleep,shutdown: Permission denied
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: PowerDBus: Added UPower.Device '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Power: On AC power
<br>Jan 12 11:58:39 den-pc mythbackend[4235]: 2022-01-12 11:58:39.701231 I  MainServer: MainServer::ANN Playback
<br>Jan 12 11:58:39 den-pc mythbackend[4235]: 2022-01-12 11:58:39.701238 I  MainServer: adding: den-pc(556d85a4d430) as a client (events: 0)
<br>Jan 12 11:58:39 den-pc mythbackend[4235]: MainServer: MainServer::ANN Playback
<br>Jan 12 11:58:39 den-pc mythbackend[4235]: MainServer: adding: den-pc(556d85a4d430) as a client (events: 0)
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Power: Supported actions: None
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Loading en_us translation for module mythfrontend
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Current MythTV Schema Version (DBSchemaVer): 1372
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: MythCoreContext::ConnectCommandSocket(): Connecting to backend server: <a href="http://192.168.0.100:6543">192.168.0.100:6543</a> (try 1 o
<br>f 1)
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Opening blocking connection to master backend
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Updating source #1 (SD) with grabber tv_grab_zz_sdjson_sqlite
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Found 30 channels for source 1 which use grabber
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Starting process manager
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Starting process signal handler
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Starting IO manager (read)
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Starting IO manager (write)
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Managed child (PID: 4305) has started! * command=tv_grab_zz_sdjson_sqlite --capabilities, timeout=
<br>25
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Managed child (PID: 4305) has exited! command=tv_grab_zz_sdjson_sqlite --capabilities, status=3251
<br>2, result=127
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: <font color="#ff0000">tv_grab_zz_sdjson_sqlite  --capabilities failed or we timed out waiting. You may need to upgrade y
<br>our xmltv grabber
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Grabbing XMLTV data using tv_grab_zz_sdjson_sqlite is not supported. You may need to upgrade to th
<br>e latest version of XMLTV.
</font><br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Data fetching complete.
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Adjusting program database end times.
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]:     0 replacements made
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Marking generic episodes.
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]:     Found 0
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Extending non-unique programids with multiple parts.
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]:     Found 0
<br>Jan 12 11:58:39 den-pc mythfilldatabase[4289]: Fixing missing original airdates.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 0 with programids
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 0 without programids
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Marking repeats.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 0
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Unmarking new episode rebroadcast repeats.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 0
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Marking episode first showings.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 15971
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Marking episode last showings.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:     Found 15965
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]:  <br>                                               ===============================================================
<br>                                               | Attempting to contact the master backend for rescheduling.  |
<br>                                               | If the master is not running, rescheduling will happen when |
<br>                                               | the master backend is restarted.                            |
<br>                                               ===============================================================
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: mythfilldatabase run complete.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: PowerDBus: Closing interfaces
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Waiting for threads to exit.
<br>Jan 12 11:58:40 den-pc mythfilldatabase[4289]: Exiting<br>
<br></span></div></div>