Fresh install of Ubuntu 22.04. I then installed a master backend via Mythbuntu Control Panel and added Mythweb, but I get errors trying to access Mythweb:
On the wiki, I see this at the bottom of the Mythweb entry:
Mythweb and PHP 8.0
Some distributions may distribute old code incompatible with PHP 8.0. The Ubuntu mythweb package (31.0+fixes.20200323) is broken with regards to PHP 8+. For Ubuntu and derivative distributions the mythweb package should be installed so mythweb might be activated 'in the Ubuntu way'. The code from a git clone should then be pulled (and perhaps placed in an alternate location, such as /var/www/html/ and configuration files updated).
Mythweb verified to work with mythweb code from a git clone on:
Ubuntu 21.10
Fedora 35
That seems relevant, but as a novice I don't know how to translate that into a step-by-step solution. Can anyone help?
Last edited by Maven on Sun Jun 19, 2022 12:56 am, edited 1 time in total.
Hi. Take a look at this thread from the mailing list. Try installing the MythMusic plugin. MythWeb works for me after installing that plugin, including the channels page.
Beautiful! Installing Mythmusic worked. For the record, it appears that I also needed to add storage locations for music and do an initial music scan so that the music database could be created.
Change directory to wherever your mythweb is installed (perhaps /usr/share/mythtv/mythweb
or /var/www). Then enter this command: grep --recursive "Silence exceptions in PHP 8.1.0"
If you don't get the following, then you're running an older version of mythweb.
The commits were released in June of 2022.