[mythtv-users] Creating user "mythtv" before installing mythtv

Peter Bennett pb.mythtv at gmail.com
Fri Mar 1 15:32:11 UTC 2024


On 3/1/24 07:58, James Abernathy wrote:
> My previous discussion on this in Debian 12 with mythtv from 
> deb-multimedia.org <http://deb-multimedia.org> is buried in a long 
> thread so I'm creating a new one with new information.
>
> It was pointed out that deb-multimedia's version of mythtv v34 from 
> stable-backports has an additional line in the systemd service, 
> mythtv-backend.service.
>
> Environment=HOME=/var/lib/mythtv
>
> When I created my user 'mythtv' before installing mythtv I used:
>
> sudo addgroup --gid 200 mythtv
> sudo adduser --ingroup mythtv --home /home/mythtv --shell /bin/bash 
> --uid 200 mythtv
>
> This was causing the mythtv Web App to use an incorrect mythconverg 
> password, 'mythv' and it would not connect to the database.
Do you mean mythweb? The web app is the new page on port 6544 in V34. 
mythweb is deprecated. The web app does not use the database.
>
> I could get around this by copying the real password from 
> /etc/mythtv/config.xml to the field in the web app for the mythconverg 
> password.
>
> I also found out that I could edit the mythtv-backend.service with:
>
> sudo systemctl edit --full mythtv-backend.service
>
> and change the Environment= to:
>
> Environment=HOME=/home/mythtv
>
> That was pointed out to me, but I was too stupid at that time to 
> understand that.  However, with a lot of experimenting thanks to 
> timeshift and btrfs I could try out multiple installs and test this to 
> prove it out.
>
> Thanks for all the help from those on this list.
>
> Jim A
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums:https://forum.mythtv.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240301/ca699610/attachment.htm>


More information about the mythtv-users mailing list