[mythtv-users] Mythfrontend fails if mythtv installed after user mythtv created

James Abernathy jfabernathy at gmail.com
Fri Jun 21 22:04:39 UTC 2024


On Fri, Jun 21, 2024 at 5:39 PM Mike Hodson <mystica at gmail.com> wrote:

>
> Okay I keep lying saying that I will not keep replying, but I do think
> there are a few more things that need to be elaborated upon.
>
> Jim,
>
>>
>>> On 6/21/24 16:07, James Abernathy wrote:
>>>
>>>
>>>
>>> 4. I reboot for safety reasons, then sudo apt install mythtv
>>>
>>> I meant to touch on this at least once in a prior post but got
> sidetracked, I do not see the need to reboot at all.
>
> If you suspect that there is a service still running which might be
> affected by simply installing a database, setting file system attributes,
> and creating a user. I suspect you may have some preconceptions or
> uncertainties in the processes involved, but I assure you there is no need
> to reboot.
>
> If anything, a manual start of the database service may be required.
>
> If you worry about the file system content not being saved properly, you
> always can run the 'sync' command as any user. Once 'sync' returns to the
> command line, all file system cache contents are now synchronized to disc
> and no caches remain that would potentially cause problems if power were to
> immediately go off or the system spontaneously hang/reboot for some other
> reason.
>
> On Fri, Jun 21, 2024, 14:47, Peter Bennett wrote:
>
>
> The way it  works:
>>>
>>> You perform your setup with the browser, and remember what you set for
>>> Security Pin.
>>>
>>> Then log on as a different user (eg jim) and run mythfrontend. It gives
>>> a screen that says cannot connect database. Arrow to the search button and
>>> press enter. It gives a list of running backend on  your network. select
>>> one, enter the pins, and mythfrontend creates your config.xml  and starts
>>> up.
>>>
>>
> This right here removes the need to perform step number 7 in your
> installation, and instead would create a brand new config.xml owned by user
> 'jim' [or whoever actually runs mythfrontend] after the initial connection
> to the database is made with the PIN number.
>
> Mike
>

The Security Pin defaults in the browser setup to 0000 and I leave it alone.

As to rebooting.  That comes from 40 years of knowing that it fixes things
that it shouldn't but does. This was true on the IBM 360 mainframe, the GE
4020, and the Windows PC.  So if all else fails reboot.

Jim A
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240621/edf636b2/attachment.htm>


More information about the mythtv-users mailing list