<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 3/1/24 07:58, James Abernathy wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANFv2EmfqstOY5_PPJJqJQ6OPx=ve_YJoxLrHzpfH3mifoQSRQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>My previous discussion on this in Debian 12 with mythtv
          from <a href="http://deb-multimedia.org"
            moz-do-not-send="true">deb-multimedia.org</a> is buried in a
          long thread so I'm creating a new one with new information.</div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace">Environment=HOME=/var/lib/mythtv</span></div>
        <div><br>
        </div>
        <div>When I created my user 'mythtv' before installing mythtv I
          used:</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace">sudo addgroup --gid 200
            mythtv<br>
            sudo adduser --ingroup mythtv --home /home/mythtv --shell
            /bin/bash --uid 200 mythtv</span></div>
        <div><br>
        </div>
        <div>This was causing the mythtv Web App to use an incorrect
          mythconverg password, 'mythv' and it would not connect to the
          database.<br>
        </div>
      </div>
    </blockquote>
    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.<br>
    <blockquote type="cite"
cite="mid:CANFv2EmfqstOY5_PPJJqJQ6OPx=ve_YJoxLrHzpfH3mifoQSRQ@mail.gmail.com">
      <div dir="ltr">
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div>I also found out that I could edit the
          mythtv-backend.service with:<br>
        </div>
        <div><br>
        </div>
        <div> <span style="font-family:monospace">sudo systemctl edit
            --full mythtv-backend.service</span></div>
        <div><br>
        </div>
        <div>and change the Environment= to:</div>
        <div><br>
        </div>
        <div><span style="font-family:monospace">Environment=HOME=/home/mythtv</span></div>
        <div><br>
        </div>
        <div>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.</div>
        <div><br>
        </div>
        <div>Thanks for all the help from those on this list.</div>
        <div><br>
        </div>
        <div>Jim A</div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
mythtv-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>
<a class="moz-txt-link-freetext" href="http://lists.mythtv.org/mailman/listinfo/mythtv-users">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a>
<a class="moz-txt-link-freetext" href="http://wiki.mythtv.org/Mailing_List_etiquette">http://wiki.mythtv.org/Mailing_List_etiquette</a>
MythTV Forums: <a class="moz-txt-link-freetext" href="https://forum.mythtv.org">https://forum.mythtv.org</a>
</pre>
    </blockquote>
  </body>
</html>