<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jul 28, 2020 at 2:35 PM Jim Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@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"><br>
On 7/28/20 5:59 AM, Stuart Auchterlonie wrote:<br>
> On 28/07/2020 09:49, Jim Abernathy wrote:<br>
>> On 7/28/20 12:45 AM, Stephen Worthington wrote:<br>
>>> On Mon, 27 Jul 2020 22:59:28 -0400, you wrote:<br>
>>><br>
>>>> On 7/27/20 10:05 PM, Stephen Worthington wrote:<br>
>>>>> On Mon, 27 Jul 2020 18:32:47 -0400, you wrote:<br>
>>>>><br>
>>>>>> On Mon, Jul 27, 2020 at 6:27 PM James Abernathy<br>
>>>>>> <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>><br>
>>>>>> wrote:<br>
>>>>>><br>
>>>>>>> On Mon, Jul 27, 2020 at 5:54 PM Mark Perkins<br>
>>>>>>> <<a href="mailto:perkins1724@hotmail.com" target="_blank">perkins1724@hotmail.com</a>><br>
>>>>>>> wrote:<br>
>>>>>>><br>
>>>>>>>> ------------------------------<br>
>>>>>>>> *From:* James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>><br>
>>>>>>>> *Sent:* Tuesday, 28 July 2020 6:30 am<br>
>>>>>>>> *To:* Discussion about MythTV<br>
>>>>>>>> *Subject:* [mythtv-users] mythweb program lists missing data on some<br>
>>>>>>>> channels<br>
>>>>>>>><br>
>>>>>>>> I have the latest mythtv v31 update and I looked at mythweb to check<br>
>>>>>>>> something and noticed quite a few stations with No Data in the<br>
>>>>>>>> guide.  I<br>
>>>>>>>> fired up mythfrontend and there was no problem there. The<br>
>>>>>>>> stations all have<br>
>>>>>>>> data.<br>
>>>>>>>><br>
>>>>>>>> I tried on another computer and got the same results.<br>
>>>>>>>><br>
>>>>>>>> Jim A<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Out of curiosity does the newer webfrontend show the missing data<br>
>>>>>>>> or not?<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> Sorry, I have no idea what the newer webfrontend is?  Is it a<br>
>>>>>>>> part of v31?<br>
>>>>>>> JIm A<br>
>>>>>>><br>
>>>>>> My bad, I found webfrontend.  <a href="http://192.168.0.250:6544/" rel="noreferrer" target="_blank">http://192.168.0.250:6544/</a><br>
>>>>>> <<a href="http://192.168.0.250:6544/#" rel="noreferrer" target="_blank">http://192.168.0.250:6544/#</a>>  got it for me.<br>
>>>>>><br>
>>>>>> The guide is fine there. So the only issue is with mythweb<br>
>>>>>><br>
>>>>>> Jim A<br>
>>>>> That suggests a PHP problem.  Have a look for error messages in the<br>
>>>>> Apache log files in /var/log/apache2 and maybe also syslog.  It is not<br>
>>>>> unlikely that you will have to configure a larger RAM buffer or<br>
>>>>> something like that.<br>
>>>> Here's the error.log:<br>
>>>><br>
>>>> [Mon Jul 27 14:09:37.615173 2020] [mpm_prefork:notice] [pid 2294]<br>
>>>> AH00169: caught SIGTERM, shutting down<br>
>>>> [Mon Jul 27 14:11:12.948604 2020] [mpm_prefork:notice] [pid 2254]<br>
>>>> AH00163: Apache/2.4.29 (Ubuntu) configured -- resuming normal operations<br>
>>>> [Mon Jul 27 14:11:12.989288 2020] [core:notice] [pid 2254] AH00094:<br>
>>>> Command line: '/usr/sbin/apache2'<br>
>>>> [Mon Jul 27 14:36:00.416729 2020] [php7:error] [pid 2499] [client<br>
>>>> <a href="http://192.168.0.26:48586" rel="noreferrer" target="_blank">192.168.0.26:48586</a>] PHP Fatal error:  Allowed memory size of 67108864<br>
>>>> bytes exhausted (tried to allocate 16384 bytes) in<br>
>>>> /usr/share/mythtv/mythweb/classes/Database/Query/mysqlicompat.php on<br>
>>>> line 68, referer: <a href="http://192.168.0.250/mythweb/tv/list" rel="noreferrer" target="_blank">http://192.168.0.250/mythweb/tv/list</a><br>
>>>> [Mon Jul 27 14:36:00.418363 2020] [php7:warn] [pid 2499] [client<br>
>>>> <a href="http://192.168.0.26:48586" rel="noreferrer" target="_blank">192.168.0.26:48586</a>] PHP Warning:  Unknown: Cannot call session save<br>
>>>> handler in a recursive manner in Unknown on line 0, referer:<br>
>>>> <a href="http://192.168.0.250/mythweb/tv/list" rel="noreferrer" target="_blank">http://192.168.0.250/mythweb/tv/list</a><br>
>>>><br>
>>>> Jim A<br>
>>> I got the same sort of error caused by too many recordings.  I fixed<br>
>>> it by creating this file:<br>
>>><br>
>>> root@mypvr:/etc/php/7.2/apache2/conf.d# cat 21-mythweb-jsw.ini<br>
>>> memory_limit = 256M<br>
>> I created that file and rebooted. No change; still errors and missing<br>
>> data in the Program listings. It's strange. It's missing data for<br>
>> channels 4.1, 4.3, 4.4. 5.1, 5.2, 11.1, 17.1, but had data for 4.2, 5.3,<br>
>> 11.2, 11.3, etc.<br>
>><br>
>> Also I only have about 39 channels of data from SchedulesDirect provided<br>
>> by tv_grab_zz_sdjson_sqlite. Also I don't have a lot of current<br>
>> recordings, and compared to a lot of you guys, I don't have a very large<br>
>> database. It's currently on 10.2 MB as measured by the size of the<br>
>> overnight backup file.<br>
>><br>
>> Jim A<br>
>><br>
> I had something similar after i last rescanned my channels.<br>
> I however had no error messages at all, so no idea why mine did it.<br>
> It eventually cleared up after a week or 2. I still have no idea<br>
> why it happened. :(<br>
><br>
> Regards<br>
> Stuart<br>
<br>
For a comparison I just check on my V31 mythtv-backend running on a <br>
Raspberry Pi . It only has one recording and the same number of channels <br>
with it's EPG populated by tv_grab_zz_sdjson_sqlite.<br>
<br>
It has no issue on displaying the EPG.<br>
<br>
Jim A<br><br></blockquote><div>I have just rebuilt my backend with Ubuntu 20.04 and v31 mythtv.  No issues with mythweb, but only a handful of recordings so far. The EPG on mythweb agrees with mythfrontend Program guide as expected.</div><div><br></div><div>Jim A<br> </div></div></div>