<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 7:22 AM 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">I have my mythconverg backup script running daily and after yesterday's update to master it didn't run this morning at 5:40 as it should. I know because I didn't get the email it usually sends to one of my gmail accounts. <div><br></div><div>I checked the systemctl status and this is what I saw:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Oct 11 05:40:02 kubuntu-closet systemd[1]: Starting Backup MythTV Database 'mythconverg'...
</span><br>Oct 11 05:40:02 kubuntu-closet mythtv-database-backup.sh[319303]: Database schema 1379 not supported.
<br>Oct 11 05:40:02 kubuntu-closet mythtv-database-backup.sh[319303]: Bindings support schema version 1378
<br>Oct 11 05:40:02 kubuntu-closet systemd[1]: <span style="font-weight:bold;color:rgb(0,0,0)">mythtv-database-backup.service: Main process exited, code=exited, status=1/FAILURE</span><span style="color:rgb(0,0,0)">
</span><br>Oct 11 05:40:02 kubuntu-closet systemd[1]: <span style="font-weight:bold;color:rgb(215,215,95)">mythtv-database-backup.service: Failed with result 'exit-code'.</span><span style="color:rgb(0,0,0)">
</span><br>Oct 11 05:40:02 kubuntu-closet systemd[1]: <span style="font-weight:bold;color:rgb(255,84,84)">Failed to start Backup MythTV Database 'mythconverg'.</span><br><span style="color:rgb(0,0,0)">
</span><br></span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Not sure why it's talking about schema 1379??</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Jim A</span></div></div></blockquote><div><br></div><div>BTW, the complete script that systemd runs to backup is below:</div>#!/bin/sh<br># /etc/cron.weekly/mythtv-database script - check and backup mythconverg tables<br># Copyright 2005/12/02 2006/10/08 Paul Andreassen <br># 2010 Mario Limonciello<br><br>set -e -u<br><br>DBNAME="mythconverg"<br>USER="mythtv"<br>OPT_MYTHDB='/usr/share/doc/mythtv-backend/contrib/maintenance/<a href="http://optimize_mythdb.pl">optimize_mythdb.pl</a>'<br><br>/usr/bin/mysqlcheck -s $DBNAME<br><br>BKUP_LOG=/tmp/backup-mythconverg.log<br><br>export MYTHCONFDIR=/home/mythtv/.mythtv/<br><br>${OPT_MYTHDB} | grep -v "^Analyzed:" 2>&1 > $BKUP_LOG<br><br>sudo --preserve-env --user=$USER /usr/share/mythtv/<a href="http://mythconverg_backup.pl">mythconverg_backup.pl</a> \<br> --rotate=5 --verbose 2>&1 >> $BKUP_LOG<br><br>if [ $? -eq 0 ]; then<br> MSG="kubuntu-closet $DBNAME Checked and Backed Up, RC=$?"<br>else<br> MSG="kubuntu-closet $DBNAME Back Up Failed, RC=$?"<br>fi<br><br>cd /data/mythtv/db_backups/<br>ls -l --directory --block-size=K * | tail -10 >> $BKUP_LOG<br><br>mail -s "$MSG" <a href="mailto:my.email@gmail.com">my.email@gmail.com</a> < $BKUP_LOG<br><span style="font-family:monospace"><span style="color:rgb(0,0,0)">
</span><br></span><div> --------------------------</div><div><br></div><div>The actual error I get when it's run from the console is:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Database schema 1379 not supported.
</span><br>Bindings support schema version 1378<br>
<br></span></div><div><span style="font-family:monospace">Jim A</span></div><div><span style="font-family:monospace"><br></span></div></div></div>