<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 15 September 2015 at 11:46, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">On 09/14/2015 07:54 PM, Roger Siddons wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
On Mon, 14 Sep 2015 23:24:22 +0100, Paul Stillwell wrote:<br>
<br>
<br>
As you can see from the dates they were all recorded before 9/11<br>
when I messed something up. I’m unclear what ‘deletepending’ means<br>
though. I am suspecting that it is the problem because recordings<br>
made after I messed things up have ‘deletepending’ set to 0 (and<br>
all the recordings that were made after I messed things up are<br>
showing up fine in the front end). Maybe there is some other<br>
fields that are messed up also? Is there some way to set<br>
‘deletepending’ to 0 and see if everything shows up again or<br>
should I check some other fields too?<br>
<br>
IIUC it means find_orphans instructed the BE to delete them but for some reason the BE never completed the task and now they're stuck in limbo.<br>
<br>
<a href="http://www.gossamer-threads.com/lists/mythtv/users/573751" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/573751</a> <<a href="http://www.gossamer-threads.com/lists/mythtv/users/573751?search_string=Recordings%20marked%20with%20%26quot%3Bdeletepending%26quot%3B;#573751" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/573751?search_string=Recordings%20marked%20with%20%26quot%3Bdeletepending%26quot%3B;#573751</a>><br>
<a href="http://www.gossamer-threads.com/lists/mythtv/users/111569" rel="noreferrer" target="_blank">http://www.gossamer-threads.com/lists/mythtv/users/111569</a><br>
<br>
Your call! Maybe back up first ? Or wait for knowledgeable opinions...<br>
</blockquote>
<br>
No, a deletepending value that's not 0 and not 1 means that you have corrupt database data--your MySQL data file was corrupted and though MySQL may have been able to "repair" the database, the data itself was corrupted. MythTV only ever sets the value to 0 or 1 and any other value is invalid according to MythTV data requirements, and (as described by the schema definition) since it's a tinyint(1) field, any value other than 0-9 is invalid according to the database itself.<br>
<br>
If you do change the value back to a legal value (0), make sure you shut down /everything/ that touches the mythconverg database first--all 3rd party applications, all frontends, all backends. Not doing so can do some very bad things.<br>
<br></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">But deletepending appears to be 1 for the records posted earlier? Not sure I understand the comments about corrupted databases?<br></div><div><br></div></div>