<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 11, 2023 at 12:20 PM James Abernathy <<a href="mailto:jfabernathy@gmail.com">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 11, 2023 at 11:51 AM James Abernathy <<a href="mailto:jfabernathy@gmail.com" target="_blank">jfabernathy@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 11, 2023 at 11:43 AM Paul Harrison <<a href="mailto:mythtv@mythqml.net" target="_blank">mythtv@mythqml.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
<p>On 11/10/2023 16:08, James Abernathy wrote:</p>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_quote">
<div>apt-cache policy libmythtv-perl<br>
libmythtv-perl:<br>
Installed:
2:34.0~master.202310100432.20594a9a1e~ubuntu22.04.1<br>
Candidate:
2:34.0~master.202310100432.20594a9a1e~ubuntu22.04.1<br>
Version table:<br>
*** 2:34.0~master.202310100432.20594a9a1e~ubuntu22.04.1 500<br>
500 <a href="https://ppa.launchpadcontent.net/mythbuntu/34/ubuntu" target="_blank">https://ppa.launchpadcontent.net/mythbuntu/34/ubuntu</a>
jammy/main amd64 Packages<br>
500 <a href="https://ppa.launchpadcontent.net/mythbuntu/34/ubuntu" target="_blank">https://ppa.launchpadcontent.net/mythbuntu/34/ubuntu</a>
jammy/main i386 Packages<br>
100 /var/lib/dpkg/status<br>
2:32.0+fixes.20220325.f69ce764b7-0ubuntu1 500<br>
500 <a href="http://us.archive.ubuntu.com/ubuntu" target="_blank">http://us.archive.ubuntu.com/ubuntu</a>
jammy/multiverse amd64 Packages<br>
500 <a href="http://us.archive.ubuntu.com/ubuntu" target="_blank">http://us.archive.ubuntu.com/ubuntu</a>
jammy/multiverse i386 Packages<br>
</div>
</div>
</div>
<span style="font-family:monospace"><span style="font-weight:bold;color:rgb(84,255,84)">jim@kubuntu-closet</span><span style="color:rgb(0,0,0)">:</span><span style="font-weight:bold;color:rgb(84,84,255)">~</span><span style="color:rgb(0,0,0)">$ grep SCHEMA $(find /usr -name
MythTV.pm 2>/dev/null) | head -1 </span><br>
/usr/local/share/perl/5.34.0/MythTV.pm: our $SCHEMA_VERSION =
"1378";
<br>
<span style="font-weight:bold;color:rgb(84,255,84)">jim@kubuntu-closet</span><span style="color:rgb(0,0,0)">:</span><span style="font-weight:bold;color:rgb(84,84,255)">~</span><span style="color:rgb(0,0,0)">$</span><br>
</span>
<div><br>
<br>
</div>
</blockquote>
<p><br>
</p>
<p>I've just checked the MythTV.pm from the Ubuntu package and it
has 1379 for the schema as it should so it looks like there is
something a little mixed up with your install. </p>
<p>Maybe you have multiple versions of the bindings installed and
the one with 1378 for the schema is the first one to be found?<br>
</p>
<p><br>
</p>
<p>Paul H.</p></div></blockquote><div><br></div><div>Paul, this is my production system so it has been upgraded in place from Ubuntu 20.04 to 22.04 and from mythtv v32 to v33 and now to v34. not sure how to proceed. I run Timeshift and my file system is BTRFS so I have a week of snapshots I can restore from, but not really sure where to start from.</div><div><br></div><div>JIm A<br></div></div></div></blockquote><div><br></div><div>So I restored from a snapshot a few days before the last mythtv update. As soon as I booted it ran the mythconverg backup on schema 1378. Then I sudo apt update and upgrade, and now I am back to where the database has indeed been updated to 1379 but the backup will not run because the binding support schema is still 1378.</div><div><br></div><div>Jim A<br></div></div></div></div></blockquote><div><br></div><div>And I cannot run ./find_orphans_jfa.py for the same reason.</div><div><br></div><div>2023-10-11 12:20:20.226853 E [2272] Python Database Connection Database schema mismatch: we speak 1378 but database speaks 1379<br>Traceback (most recent call last):<br> File "/home/jim/./find_orphans_jfa.py", line 223, in <module><br> DB = MythDB()<br> File "/usr/local/lib/python3.10/dist-packages/MythTV/database.py", line 1272, in __init__<br> elif self._testconfig(tmpconfig):<br> File "/usr/local/lib/python3.10/dist-packages/MythTV/database.py", line 1301, in _testconfig<br> self._check_schema(self._schema_value, self._schema_local,<br> File "/usr/local/lib/python3.10/dist-packages/MythTV/database.py", line 1335, in _check_schema<br> raise MythDBError(MythError.DB_SCHEMAMISMATCH, value, sver, local)<br>MythTV.exceptions.MythDBError: Mismatched schema version for 'DBSchemaVer': database speaks version 1379, we speak version 1378<br></div><div><br></div><div>Jim A</div><div><br></div><div><br></div></div></div>