<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Finally got mine straightened out (using mythbackend to spawn
      mythfilldatabase).  In my (fedora) mythbackend.service file, the
      Environment=MYTHCONFDIR=/etc/mythtv tells mythbackend (and
      mythfilldatabase) to look in /etc/mythtv for its .xmltv file(s),
      which were residing in /var/lib/mythtv, which is the home
      directory of the mythtv user (that mythbackend runs as) as defined
      in /etc/passwd.  I figured out what went wrong by looking at
      /var/log/mythtv/mythfilldatabase*, which told me it couldn't find
      the .xmltv file in /etc/mythtv.  As root, I symlinked from
      /etc/mythtv/*.xmltv to /var/lib/mythtv and now have SUCCESS in the
      mythfilldatabase results.  I don't know about other distros, but
      all the docs refer to /home/mythtv, which did me no good at all. 
      What a convoluted mess!!</p>
    <p>Dave D.<br>
    </p>
    <div class="moz-cite-prefix">On 5/20/20 8:38 PM, Frank Phillips
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAADtG4ihc5DWXWQCQSdeP-sV-yE8HALv8q7sThfCVDBb442DUQ@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">On Wed, May 13, 2020 at 1:26 PM Matthew Daubenspeck
        <<a href="mailto:matt@oddprocess.org" moz-do-not-send="true">matt@oddprocess.org</a>>
        wrote:<br>
        <div class="gmail_quote">
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">Just recently updated to
            mythtv 31.0 on Arch Linux. I moved the<br>
            SchedulesDirect setup to tv_grab_zz_sdjson and am having a
            very strange<br>
            thing happen which I can't figure out.<br>
            <br>
            If I run mythfilldatabase manually at the commandline,
            everything works<br>
            perfectly. If I add it to a cron job, it fails with the
            following error:<br>
            <br>
            tv_grab_zz_sdjson  --capabilities failed or we timed out
            waiting. You<br>
            may need to upgrade your xmltv grabber<br>
            <br>
            Grabbing XMLTV data using tv_grab_zz_sdjson is not
            supported. You may<br>
            need to upgrade to the latest version of XMLTV.<br>
            <br>
            Again, it works perfectly, as long as it isn't run from cron
            and I can'tthe<br>
            figure out why. Any suggestions?<br>
            <br>
            -- <br>
              Matthew Daubenspeck<br>
              <a href="http://oddprocess.org" rel="noreferrer"
              target="_blank" moz-do-not-send="true">http://oddprocess.org</a><br>
            <br>
          </blockquote>
          <div><br>
          </div>
          <div>I also had this problem on Arch with the non-sqlite
            sdjson. My failure at --capabilities was because the
            tv_grab_zz_sdjson from the xmltv package is put in
            /usr/bin/vendor_perl,</div>
          <div>which is not part of systemctl show-environment. I don't
            know why your cron would fail, though.<br>
          </div>
          <div>I ended up creating a wrapper mfdb.sh to set PATH and
            start mythfilldatabase, and then set the wrapper in
            mythtv-setup as the target.</div>
          <div><br>
          </div>
          <div>Frank<br>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>