<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 September 2017 at 22:13, Peter Bennett <span dir="ltr"><<a href="mailto:cats22@comcast.net" target="_blank">cats22@comcast.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF"><div><div class="gmail-h5">
    <p><br>
    </p>
    <br>
    <div class="gmail-m_-2414295613121356500moz-cite-prefix">On 09/10/2017 02:25 PM, Paul Shepherd
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <div>I have been running Mythtv 0.27.6 on Linux Mint 17.3 for
          several months without a problem.  I attempted an upgrade to
          0.28.1 which failed due to dependency issues, as these looked
          complicated to solve I decided to revert to 0.27.6.</div>
        <div><br>
        </div>
        <div>I had backed up the db and restored as per the wiki and
          this seemed to work ok, ie the backend and mythweb seem to
          work ok. However, <a href="http://mythlink.pl" target="_blank">mythlink.pl</a> and optimize.sh
          report an error in the db schema:</div>
        <div><br>
        </div>
        <div>  Database schema 1317 not supported.</div>
        <div>  Bindings support schema version 1344</div>
        <div><br>
        </div>
        <div>So it seems I have some code/data files leftover from
          0.28.1 (which uses schema 1344) in my 0.27.6 system.</div>
        <div><br>
        </div>
        <div>I can't find where or what mythlink uses to return the
          erroneous schema version message - can someone advise me how
          to solve this problem please?</div>
        <div><br>
        </div>
        <div>thanks, paul</div>
        <div><br>
        </div>
        <div>ps also posted to the mythtv forum troubleshooting, but
          realised this list is more active.</div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_-2414295613121356500mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br></div></div>
    Perl bindings are installed here<br>
    /usr/local/share/perl/5.22.1/<wbr>MythTV.pm<br>
    You could also check here, in case it used this location<br>
    /usr/local/lib/x86_64-linux-<wbr>gnu/perl/5.22.1/auto/MythTV<br>
    <br>
    Possibly because these are in /usr/local they are not being properly
    handled by the package manager. You could also try searching for
    file MythTV.pm, in case it is installed somewhere else or in case
    you have two copies of it now in your system. That is the file that
    contains the schema version information that is causing your
    problem.<br>
    <br>
  </div>

<br>______________________________<wbr>_________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/<wbr>mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/<wbr>Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">Thanks for the response Peter and you were 99.9% right!</div><div class="gmail_extra"><br></div><div class="gmail_extra">I located copies of the MythTV.pm file in:</div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_extra">/usr/share/perl5/MythTV.pm</div><div class="gmail_extra">/usr/share/perl5/IO/Socket/INET/MythTV.pm</div><div><br></div><div>and the first one was from the 0.28 install with the schema set to 1344.</div><div><br></div><div>I downloaded the correct version from <a href="https://github.com/MythTV/mythtv/tree/fixes/0.27/mythtv/bindings/perl">https://github.com/MythTV/mythtv/tree/fixes/0.27/mythtv/bindings/perl</a> and also replaced the other .pm files (Channel, Program etc) in the /usr/share/perl5/MythTV folder with the github version.</div><div><br></div><div>Optimize and mythlink now work correctly - many thanks.</div><div><br></div><div>Paul</div></div></div>