[mythtv-users] MythFillDatabase running, but not updating anything...

glen glenb at glenb.net
Sat Apr 15 19:14:22 UTC 2023


On Sat, 2023-04-15 at 12:02 -0700, Douglas Peale wrote:
> MythFillDatabase is running about once a minute, claiming to be
> successful, but the log has errors, and nothing gets updated.
> 
> Background: I have done a clean install of Mint Cinnamon 21,
> installed the ppa for MythTV 33 Installed MythTV 33, restored the 
> database, implemented all the changes to allow mythTV to shut down
> when idle. Everything appears to be working except it never 
> shuts down because mythfilldatabase is running continuously.
> 
> MythWeb status says the last successful run of mythfilldatabase was
> on the 9th. I went into Backend Setup, and did not find 
> anything that needed fixing, exited and ran mythfilldatabase, it
> appeared to run, but did not update anything.
> 
> The following is an excerpt from the log of mythfilldatabase. This
> repeats about once a minute. Yes there are errors, but I have 
> no clue what they mean, or how to fix them:
> 
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythfilldatabase.cpp:651 (main) 
> #012===============================================================#0
> 12| Attempting to contact the master backend for 
> rescheduling.  |#012| If the master is not running, rescheduling will
> happen when |#012| the master backend is restarted. 
> > #012===============================================================
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> N CoreContext mythfilldatabase.cpp:666 (main) 
> mythfilldatabase run complete.
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythpowerdbus.cpp:73 (~MythPowerDBus) 
> PowerDBus: Closing interfaces
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythcontext.cpp:1678 (~MythContext) Waiting 
> for threads to exit.
> Apr 15 11:49:51 BlackBox mythfilldatabase: mythfilldatabase[1935750]:
> I CoreContext mythcontext.cpp:1684 (~MythContext) Exiting
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> C thread_unknown mythcommandlineparser.cpp:2903 
> (ConfigureLogging) mythfilldatabase version: fixes/33
> [v33.1+fixes.202304101849.51cb10a678~ubuntu22.04.1] http://email.mg.glenb.net/c/eJxEyT2ugzAMAODTkO1FTnAMGXIY4x94ElAJaFFv36FDx0-fNnHWgsFaojGVkYAwLE0BIXOvuWKCooBJMk2kVdCHEST8tz45A6NxZq3qJF7JiEW5eKp5YC5APPVReLO1Q5hX26e42xXWdt933N7Xcr3i45jD0b74e552nB3C7z4BAAD__74FMpw
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> C thread_unknown mythcommandlineparser.cpp:2907 
> (ConfigureLogging) Qt version: compile: 5.15.3, runtime: 5.15.3
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown mythcommandlineparser.cpp:2909 
> (ConfigureLogging) Linux Mint 21.1 (x86_64)
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythcommandlineparser.cpp:2911 
> (ConfigureLogging) Enabled verbose msgs:  general
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown logging.cpp:689 (logStart) Setting Log 
> Level to LOG_INFO
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I Logger logging.cpp:277 (run) Added logging to the console
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Interrupt handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Terminated handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Segmentation fault handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Aborted handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Floating point exception handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Illegal instruction handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Bus error handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Real-time signal 0 handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I thread_unknown signalhandling.cpp:182 
> (SetHandlerPrivate) Setup Hangup handler
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythdirs.cpp:203 (InitializeMythDirs) 
> Using runtime prefix = /usr
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N thread_unknown mythdirs.cpp:204 (InitializeMythDirs) 
> Using configuration directory = /home/mythtv/.mythtv
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:261 (Init) Assumed 
> character encoding: en_US.UTF-8
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I LogForward loggingserver.cpp:219 (SyslogLogger) Added 
> syslogging
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:584 (LoadDatabaseSettings) 
> Empty LocalHostName. This is typical.
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:635 (LoadDatabaseSettings) 
> Using a profile name of: 'BlackBox' (Usually the same as this host's
> name.)
> Apr 15 11:50:31 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcontext.cpp:872 (TestDBconnection) Start 
> up testing connections. DB localhost, BE , attempt 0, status dbAwake,
> Delay: 2000
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythcorecontext.cpp:1826 (InitLocale) 
> Setting QT default locale to en_US
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:1859 
> (SaveLocaleDefaults) Current locale en_US
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythlocale.cpp:120 (LoadDefaultsFromXML) 
> Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpowerdbus.cpp:540 (AcquireLock) 
> PowerDBus: Failed to delay sleep,shutdown: Permission denied
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpowerdbus.cpp:368 (DeviceAdded) 
> PowerDBus: Added UPower.Device
> '/org/freedesktop/UPower/devices/mouse_hidpp_battery_0'
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpower.cpp:354 (PowerLevelChanged) Power: 
> On AC power
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythpower.cpp:136 (Init) Power: Supported 
> actions: None
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythtranslation.cpp:62 (load) Loading en_us 
> translation for module mythfrontend
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext schemawizard.cpp:117 (Compare) Current 
> MythTV Schema Version (DBSchemaVer): 1376
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:460 
> (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket():
> Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythcorecontext.cpp:1708 (CheckProtoVersion) 
> MythCoreContext::CheckProtoVersion(): Using protocol version 91
> BuzzOff
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:272 (main) Opening 
> blocking connection to master backend
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #3 
> (NorthWest) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 101 channels 
> for source 3 which use grabber
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemSignalManager mythsystemunix.cpp:500 (run) 
> Starting process signal handler
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemManager mythsystemunix.cpp:274 (run) Starting 
> process manager
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemIOHandlerR mythsystemunix.cpp:91 (run) Starting IO 
> manager (read)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I SystemIOHandlerW mythsystemunix.cpp:91 (run) Starting IO 
> manager (write)
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson  
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:33 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data 
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #4 
> (North) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 98 channels for 
> source 4 which use grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson  
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data 
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #5 
> (South) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 19 channels for 
> source 5 which use grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson  
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:34 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data 
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:326 (Run) Updating source #6 
> (NorthWest ATSC3) with grabber tv_grab_zz_sdjson
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext filldata.cpp:341 (Run) Found 101 channels 
> for source 6 which use grabber
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:370 (Run) tv_grab_zz_sdjson  
> --capabilities failed or we timed out waiting. You may need to
> upgrade your xmltv grabber
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> E CoreContext filldata.cpp:677 (Run) Grabbing XMLTV data 
> using tv_grab_zz_sdjson is not supported. You may need to upgrade to
> the latest version of XMLTV.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> N CoreContext mythfilldatabase.cpp:399 (main) Data 
> fetching complete.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:407 (main) Adjusting 
> program database end times.
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:412 (main)     0 
> replacements made
> Apr 15 11:50:35 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:415 (main) Marking 
> generic episodes.
> Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:426 (main)     Found 0
> Apr 15 11:50:37 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:429 (main) Extending 
> non-unique programids with multiple parts.
> Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:479 (main)     Found 0
> Apr 15 11:50:38 BlackBox mythfilldatabase: mythfilldatabase[1937008]:
> I CoreContext mythfilldatabase.cpp:481 (main) Fixing 
> missing original airdates.
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://email.mg.glenb.net/c/eJxMi8FOxSAQRb8GdjbDlE7pgoWb_scAwysJ8ExBE__eaEx0ee85J_mYOW1WizfkzOYIyOrLG8wAYkIgcA5wJ0MYdgBn6bC0Rl38ajIDW2HkdKRMMR8kxDHxls2BO_MGxGFdIjepysKjSg9Ll6mrv-Z8U-urwlPhWcuYY2mf85ofy_N-KDwbl9q4_8LS8_P7_DFe3ofcQ9_-_1QW_vqvAAAA__-90ENo
> http://email.mg.glenb.net/c/eJxEyz1SxSAQAODTQGcGCD-hoLBJpWd4s7C7CSMvarJPx9tbWNh_H5bGgMFrKjYuNizRRK_3Ahywss0-UQrJLMwV3ByqS1wJPepeZstgwBM4wIwcG-dIERpCYJtdAggmQp2nBncayptt0FGng0SPsot8qPlZuVW59bu_9en-I7t8Te_nptz6Cn30Y7u99EtuJP3zQSKkz_Knnh4XnZfy5j_9BgAA___2e0FL
> MythTV Forums: http://email.mg.glenb.net/c/eJxEybFuxCAMANCvga2RMeALA0OX-w9j7Eul5K4ipFL_vkOHG59er2Lcc_JaA60hrwSU_FYVJRkoQotFMDdeMcSbRdEsQCb-q8ZgDJyUkXvpRmKFlFg6ZwsFb8wZiFtchA_dXYLHrs-2PHX6vW5zfp8ufjq8O7zba1zHcvzObf4sr_Hwo_7j4zp1nC7B-_4CAAD__0YbOCo
the log reports grab sdjson is not supported and is asking to upgrade
to later version. you would have to go through the xmltv wiki for
mythtv. i find it much easier to run mythfilldatabase outside of myth
backend with just a daily timer. i grab the xml for the listings on a
'channels' basis rather than grab everything and then run
mythfilldatabase with --file option and specify the xml file grabbed
and the source id in myth. either way first update your xmltv grabbers
and test. 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20230415/5efa0df5/attachment.htm>


More information about the mythtv-users mailing list