[mythtv-users] mythweb program lists missing data on some channels
Jim Abernathy
jfabernathy at gmail.com
Tue Jul 28 15:40:44 UTC 2020
On 7/28/20 11:09 AM, Bill Meek wrote:
> On 7/27/20 9:56 PM, Jim Abernathy wrote:
>>
>> On 7/27/20 10:50 PM, Bill Meek wrote:
>>> On 7/27/20 9:05 PM, Stephen Worthington wrote:
>>>> On Mon, 27 Jul 2020 18:32:47 -0400, you wrote:
>>>>
>>>>> On Mon, Jul 27, 2020 at 6:27 PM James Abernathy
>>>>> <jfabernathy at gmail.com>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 27, 2020 at 5:54 PM Mark Perkins
>>>>>> <perkins1724 at hotmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>> ------------------------------
>>>>>>> *From:* James Abernathy <jfabernathy at gmail.com>
>>>>>>> *Sent:* Tuesday, 28 July 2020 6:30 am
>>>>>>> *To:* Discussion about MythTV
>>>>>>> *Subject:* [mythtv-users] mythweb program lists missing data on
>>>>>>> some
>>>>>>> channels
>>>>>>>
>>>>>>> I have the latest mythtv v31 update and I looked at mythweb to
>>>>>>> check
>>>>>>> something and noticed quite a few stations with No Data in the
>>>>>>> guide. I
>>>>>>> fired up mythfrontend and there was no problem there. The
>>>>>>> stations all have
>>>>>>> data.
>>>>>>>
>>>>>>> I tried on another computer and got the same results.
>>>>>>>
>>>>>>> Jim A
>>>>>>>
>>>>>>>
>>>>>>> Out of curiosity does the newer webfrontend show the missing
>>>>>>> data or not?
>>>>>>>
>>>>>>>
>>>>>>> Sorry, I have no idea what the newer webfrontend is? Is it a
>>>>>>> part of v31?
>>>>>>
>>>>>> JIm A
>>>>>>
>>>>>
>>>>> My bad, I found webfrontend. http://192.168.0.250:6544/
>>>>> <http://192.168.0.250:6544/#> got it for me.
>>>>>
>>>>> The guide is fine there. So the only issue is with mythweb
>>>>>
>>>>> Jim A
>>>>
>>>> That suggests a PHP problem. Have a look for error messages in the
>>>> Apache log files in /var/log/apache2 and maybe also syslog. It is not
>>>> unlikely that you will have to configure a larger RAM buffer or
>>>> something like that.
>>>
>>> Also, please run these four commands:
>>>
>>> $ CURRENT_PHP_VERSION=$(php -r 'echo PHP_MAJOR_VERSION, ".",
>>> PHP_MINOR_VERSION;')
>>> $ echo "$CURRENT_PHP_VERSION"
>>> $ ls -ld /etc/php5/apache2/conf.d/20-mythweb.ini
>>> /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d/20-mythweb.ini
>>> $ cat /etc/php5/apache2/conf.d/20-mythweb.ini
>>> /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d/20-mythweb.ini
>>>
>>> Expecting to see this:
>>>
>>> ; default is 1000 input vars, at 16 vars per channel that is 62
>>> channels
>>> max_input_vars = 10000
>>>
>> jim at mythbuntu:~$ CURRENT_PHP_VERSION=$(php -r 'echo
>> PHP_MAJOR_VERSION, ".", PHP_MINOR_VERSION;')
>> jim at mythbuntu:~$ echo "$CURRENT_PHP_VERSION"
>> 7.2
>> jim at mythbuntu:~$ ls -ld /etc/php5/apache2/conf.d/20-mythweb.ini
>> /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d/20-mythweb.ini
>> ls: cannot access '/etc/php/7.2/apache2/conf.d/20-mythweb.ini': No
>> such file or directory
>> -rw-r--r-- 1 root root 143 Dec 26 2017
>> /etc/php5/apache2/conf.d/20-mythweb.ini
>> jim at mythbuntu:~$ cat /etc/php5/apache2/conf.d/20-mythweb.ini
>> /etc/php/${CURRENT_PHP_VERSION}/apache2/conf.d/20-mythweb.ini
>> ; default are 1000 input vars, at 16 vars per channel that is 62
>> channels
>> ; before the channel editor in mythweb breaks
>> max_input_vars = 10000
>> cat: /etc/php/7.2/apache2/conf.d/20-mythweb.ini: No such file or
>> directory
>> jim at mythbuntu:~$
>
> I'd like to see this too:
>
> ls -ld /etc/php/?.?/apache2/conf.d/20-mythweb.ini
>
> Then see if this helps:
>
> sudo cp /etc/php5/apache2/conf.d/20-mythweb.ini
> /etc/php/7.2/apache2/conf.d/20-mythweb.ini
> # MAYBE: a2enmod php${CURRENT_PHP_VERSION}, # mythweb.postinst does
> this but sends output to /dev/null
> sudo systemctl restart apache2.service
>
> See if more channels appear in mythweb.
>
So I found /etc/php/7.2 doesn't exist but 7.4 does so I copied there,
restarted and still no more channels in mythweb.
Jim A
jim at mythbuntu:~$ ls -ld /etc/php/?.?/apache2/conf.d/20-mythweb.ini
-rw-r--r-- 1 root root 143 Jul 21 18:54
/etc/php/7.0/apache2/conf.d/20-mythweb.ini
-rw-r--r-- 1 root root 143 Jul 28 11:16
/etc/php/7.4/apache2/conf.d/20-mythweb.ini
jim at mythbuntu:~$ sudo systemctl restart apache2.service
jim at mythbuntu:~$ sudo mythweb.postinst > /dev/null
sudo: mythweb.postinst: command not found
More information about the mythtv-users
mailing list