著者: Christian Marillat 日付: To: dmo-discussion 題目: Re: Problems with Mythweb 31 in experimental
On 09 mars 2020 18:42, Stephan Seitz <stse+debian@???> wrote:
> On Mo, Mär 09, 2020 at 16:45:39 +0100, Christian Marillat wrote:
>>> For some reason the password for the DB connection in
>>> /etc/mythtv/mythweb-mysql.conf vanished. After changing the file and
>>> restarting Apache everything works as it should.
>>Changing the file by hand ?
>
> Yes, by hand.
>
>>If yes probably a bad idea, this file is generated by postinst script.
>
> I don’t know, but what is the alternative?
Displayed debconf data should match data in
/etc/mythtv/mythweb-mysql.conf
If not reconfigure the mythtv-common package with 'dpkg-reconfigure mythtv-common'
,----[ debconf data ] | echo get mythtv/mysql_host | sudo debconf-communicate
| echo get mythtv/mysql_mythtv_dbname | sudo debconf-communicate
| echo get mythtv/mysql_mythtv_user | sudo debconf-communicate
| echo get mythtv/mysql_mythtv_password | sudo debconf-communicate `----