LinHES Forums
http://forum.linhes.org/

No upcoming recordings :::SOLVED:::
http://forum.linhes.org/viewtopic.php?f=21&t=30003
Page 1 of 1

Author:  mattbatt [ Mon Aug 17, 2020 11:28 am ]
Post subject:  No upcoming recordings :::SOLVED:::

TL;DR:
I have no Upcoming recordings, the guide data is empty, but
Code:
mythfilldatabase --refresh-all
runs without error. I have run
Code:
optimize_mythdb.py
, deleted and re-added the input source (Schedules Direct) and the tuners, which caused me to re-scan for all my channels.
What did I forget to do?

OK so Long version:
The last recording I have is from 8-9-2020 during the 6 pm news. We have had some heavy thunderstorms here in Central Florida and several brownouts that caused LinHES to loose power.
I also recently had to change my password on Schedules Direct and forgot to update it in LInHES (oops).

Attachments:
unknownMyth.PNG
unknownMyth.PNG [ 1.06 MiB | Viewed 11686 times ]

Author:  mattbatt [ Mon Aug 17, 2020 11:56 am ]
Post subject:  Re: No upcoming recordings

update:
I found a warning in the mythbackend log
Code:
2020-08-17T10:57:15.309622-04:00 mythbackend[3140]: I MythSocketThread(78) mainserver.cpp:7928 (connectionClosed) Playback sock(56429659eb90) 'gimli' disconnected
2020-08-17T10:57:20.414488-04:00 mythbackend[3140]: I TVRecEvent tv_rec.cpp:3682 (TuningFrequency) TVRec[11]: TuningFrequency
2020-08-17T10:57:20.414561-04:00 mythbackend[3140]: N CoreContext autoexpire.cpp:261 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2020-08-17T10:57:20.414622-04:00 mythbackend[3140]: W TVRecEvent programinfo.cpp:5787 (LoadFromProgram) LoadFromProgram(): SQL contains LIMIT clause, caller should be updated to use limit parameter instead
2020-08-17T10:57:20.414662-04:00 mythbackend[3140]: N TVRecEvent recordinginfo.cpp:703 (ApplyRecordRecGroupChange) ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
2020-08-17T10:57:21.215386-04:00 mythbackend[3140]: E HDHRStreamHandler recorders/dtvsignalmonitor.cpp:361 (HandlePMT) DTVSigMon[11](1012BFEE): Wrong PMT; pmt->pn(3) desired(2)
2020-08-17T10:57:21.415537-04:00 mythbackend[3140]: E HDHRStreamHandler recorders/dtvsignalmonitor.cpp:361 (HandlePMT) DTVSigMon[11](1012BFEE): Wrong PMT; pmt->pn(1) desired(2)
2020-08-17T10:57:21.415576-04:00 mythbackend[3140]: N CoreContext autoexpire.cpp:261 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2020-08-17T10:57:21.415623-04:00 mythbackend[3140]: W TVRecEvent programinfo.cpp:5787 (LoadFromProgram) LoadFromProgram(): SQL contains LIMIT clause, caller should be updated to use limit parameter instead
2020-08-17T10:57:21.415663-04:00 mythbackend[3140]: N TVRecEvent recordinginfo.cpp:703 (ApplyRecordRecGroupChange) ApplyRecordRecGroupChange: LiveTV to LiveTV (2)
2020-08-17T10:57:30.123810-04:00 mythbackend[3140]: I ProcessRequest mainserver.cpp:1780 (HandleAnnounce) MainServer: MainServer::ANN Playback
2020-08-17T10:57:30.123852-04:00 mythbackend[3140]: I ProcessRequest mainserver.cpp:1785 (HandleAnnounce) MainServer: adding: gimli(564296589730) as a client (events: 0)

Author:  mattbatt [ Mon Aug 17, 2020 12:04 pm ]
Post subject:  Re: No upcoming recordings

And this:
Code:
2020-08-17T13:02:09.739405-04:00 mythbackend[11450]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](1012BFEE): Added 2 devices from 1012BFEE
2020-08-17T13:02:09.739453-04:00 mythbackend[11450]: I CoreContext recorders/hdhrstreamhandler.cpp:403 (Connect) HDHRSH[0](1012BFEE): Connected to device(1012BFEE-0)
2020-08-17T13:02:09.739503-04:00 mythbackend[11450]: I CoreContext recorders/hdhrstreamhandler.cpp:385 (Connect) HDHRSH[0](1012BFEE): Added 2 devices from 1012BFEE
2020-08-17T13:02:09.839682-04:00 mythbackend[11450]: I CoreContext recorders/hdhrstreamhandler.cpp:403 (Connect) HDHRSH[0](1012BFEE): Connected to device(1012BFEE-0)
2020-08-17T13:02:09.839751-04:00 mythbackend[11450]: E CoreContext tv_rec.cpp:1832 (GetStartChannel) TVRec[15]: Problem finding starting channel, setting to default of '3'.
2020-08-17T13:02:09.839803-04:00 mythbackend[11450]: W CoreContext recorders/dvbchannel.cpp:249 (Open) DVBChan[15](): Opening DVB frontend device failed.#012#011#011#011eno: No such file or directory (2)
2020-08-17T13:02:09.839852-04:00 mythbackend[11450]: E CoreContext recorders/dvbchannel.cpp:254 (Open) DVBChan[15](): Failed to open DVB frontend device due to fatal error or too many attempts.
2020-08-17T13:02:09.839895-04:00 mythbackend[11450]: E CoreContext recorders/channelbase.cpp:796 (CreateChannel) ChannelBase: CreateChannel() Error: Failed to open device
2020-08-17T13:02:09.839940-04:00 mythbackend[11450]: E CoreContext main_helpers.cpp:205 (setupTVs) Problem with capture cards. Card 15 failed init
2020-08-17T13:02:09.839984-04:00 mythbackend[11450]: E CoreContext scheduler.cpp:5810 (CreateConflictLists) Scheduler: Input 15 is not assigned to any input group
2020-08-17T13:02:09.840028-04:00 mythbackend[11450]: I CoreContext programinfo.cpp:2555 (CheckProgramIDAuthorities) Found 1 distinct programid authorities
2020-08-17T13:02:09.840072-04:00 mythbackend[11450]: I Scheduler mythdbcon.cpp:458 (getStaticCon) New static DB connectionSchedCon
2020-08-17T13:02:09.840116-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'LogClean'.
2020-08-17T13:02:09.840159-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'DBCleanup'.
2020-08-17T13:02:09.840203-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'ThemeUpdateNotifications'.
2020-08-17T13:02:09.840246-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'RecordedArtworkUpdate'.
2020-08-17T13:02:09.840290-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'MythFillDB'.
2020-08-17T13:02:09.840332-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'UpdateRadioStreams'.
2020-08-17T13:02:09.840374-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'JobQueueRecover'.
2020-08-17T13:02:09.840420-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:649 (RegisterTask) Registering HouseKeeperTask 'HardwareProfiler'.
2020-08-17T13:02:09.840467-04:00 mythbackend[11450]: I CoreContext housekeeper.cpp:715 (Start) Queueing HouseKeeperTask 'HardwareProfiler'.

Author:  bobmyth [ Mon Aug 17, 2020 7:42 pm ]
Post subject:  Re: No upcoming recordings

If I were in your shoes, I'd probably go to mythtv-setup and delete all my tuners, re-add them, and see if that would help. You also may to to look at /var/log/mysqld.log and see if there are any errors there.

Author:  mattbatt [ Mon Aug 17, 2020 7:50 pm ]
Post subject:  Re: No upcoming recordings

I did the tuners already. I haven't tried the full nuke everything in Myth-Setup. and Mysqld.log is completely blank, which seems odd.

Author:  mattbatt [ Wed Aug 19, 2020 11:12 pm ]
Post subject:  Re: No upcoming recordings

Well I removed everything from mythtv-setup and started from scratch and I am no further along.

Author:  mattbatt [ Wed Aug 19, 2020 11:27 pm ]
Post subject:  Re: No upcoming recordings

So this is odd I noticed that I have an MTC error and that backup and de-frag haven't run in a while.
How do I see what program is running that is holding up these important tasks?

Code:
Aug 20 00:10:02 gimli myth_mtc: 2020-08-20 00:10
Aug 20 00:10:02 gimli myth_mtc: Checking system idle...
Aug 20 00:10:02 gimli myth_mtc:     Checking if the schema is locked...
Aug 20 00:10:02 gimli myth_mtc:     Checking if programs are in use...
Aug 20 00:10:02 gimli myth_mtc:         Programs are in use.
Aug 20 00:10:02 gimli myth_mtc: System is busy.
Aug 20 00:10:02 gimli myth_mtc:
Aug 20 00:10:02 gimli myth_mtc: 2020-08-20 00:10 Waiting 10 minutes before trying again.
Aug 20 00:20:02 gimli myth_mtc:
Aug 20 00:20:02 gimli myth_mtc: 2020-08-20 00:20
Aug 20 00:20:02 gimli myth_mtc: Checking system idle...
Aug 20 00:20:02 gimli myth_mtc:     Checking if the schema is locked...
Aug 20 00:20:02 gimli myth_mtc:     Checking if programs are in use...
Aug 20 00:20:02 gimli myth_mtc:         Programs are in use.
Aug 20 00:20:02 gimli myth_mtc: System is busy.

Author:  mattbatt [ Thu Aug 20, 2020 7:16 am ]
Post subject:  Re: No upcoming recordings

Does this php log look like I need to reinstall mysql?

Code:
Aug 20 07:58:02 gimli php: PHP Warning:  PHP Startup: mcrypt: Unable to initialize module#012Module compiled with module API=20131226#012PHP    compiled with module API=20170718#012These options need to match#012 in Unknown on line 0
Aug 20 07:58:02 gimli php: PHP Warning:  PHP Startup: Unable to load dynamic library 'mysql.so' (tried: /usr/lib/php/modules/mysql.so (/usr/lib/php/modules/mysql.so: cannot open shared object file: No such file or directory), /usr/lib/php/modules/mysql.so.so (/usr/lib/php/modules/mysql.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Aug 20 07:58:02 gimli php: PHP Warning:  PHP Startup: Unable to load dynamic library 'openssl.so' (tried: /usr/lib/php/modules/openssl.so (/usr/lib/php/modules/openssl.so: cannot open shared object file: No such file or directory), /usr/lib/php/modules/openssl.so.so (/usr/lib/php/modules/openssl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Aug 20 07:58:02 gimli php: PHP Warning:  Module 'zip' already loaded in Unknown on line 0
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155
Aug 20 07:58:02 gimli php: PHP Notice:  Undefined index: value in /usr/bin/myth_trailers_grabber on line 155

Author:  mattbatt [ Fri Aug 21, 2020 10:56 am ]
Post subject:  Re: No upcoming recordings

OK I think I figured out where it's having issues. MythTV-setup wasn't passing the new password to the config file for the new JSON grabber (I THINK) I'm trying to fight my way to setting up the JSON grabber from scratch but it's confusing.

Author:  mattbatt [ Sat Aug 22, 2020 12:10 am ]
Post subject:  Re: No upcoming recordings

OK I fought my way through setting up the JSON grabber again. With the help of this post. http://forums.linhes.org/viewtopic.php? ... cf#p143584

The documentation on the JSON/XMLTV grabber really needs to be cleaned up. Using MythTV-setup I was not able to get the JSON grabber to work I had to set it up from the command line
Then copy the config file to rando xmltv file name mythfilldatabase was looking for, because I named it Broadcast but mythfilldatabase was looking for Broadcast-JSON.xmltv.

and then run
Code:
tv_grab_zz_sdjson --days 0 --config-file $HOME/.mythtv/Broadcast-JSON.xmltv > list.xml

Which I think did something but I'm not sure what.
This was a highly unpleasant experience all because I changed my password on a website.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/