<div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 29, 2020 at 2:18 PM PlainFaceBoy <<a href="mailto:plainfaceboy@hotmail.com">plainfaceboy@hotmail.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"><br>
>> Hi - I'm running Ubuntu 18.04 and Mythtv 31 (fresh install), previous <br>
>> versions working fine and 31 no different. I've got 100's of <br>
>> 'recordings' and 'videos' going gack around 10 years.<br>
>> Just recently I seem to have lost the recording schedule info for <br>
>> most of my recordings. When I hit E, or use M and edit recording <br>
>> schedule I get a 'recording rule does not exist' message.<br>
>> I can edit the metadata, but not the recording rule. This seems to <br>
>> means that I cannot edit the covers, or fanart if I want to.<br>
>><br>
>> I've not been through them all, but it looks like the oldest <br>
>> recordings (pre 2013) still have the recording info in, but as far as <br>
>> I can tell nothing since. All the videos are of course fine and I can <br>
>> edit artwork as normal. In the recordings screen, they all still show <br>
>> the recording date, and artwork is still present.<br>
>><br>
>> I've tried restoring to the oldest database backup I have (about a <br>
>> month ago) when I'm pretty sure everything was working, but I still <br>
>> have the issue.<br>
>><br>
>> Does anyone know why this might have happened?<br>
>> I've done a few updates recently - might they be the cause?<br>
>> I would like to fix this if I can, so any help greatly appreciated.<br><br></blockquote><div><br></div><div><div style="font-family:monospace,monospace" class="gmail_default">You may want to check the consistency of your database.  There is a script in mythtv to do it, but I cannot find it on my system.  Mysql will do it as well:</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">mysqlcheck -h mysql -u mythtv -pmythtv mythconverg</div><div style="font-family:monospace,monospace" class="gmail_default"><br></div><div style="font-family:monospace,monospace" class="gmail_default">The -h is the hostname of your mythconverg database, probably localhost for most.  -u and -p are the username and passwords from /etc/mythtv/config.xml<br></div><div style="font-family:monospace,monospace" class="gmail_default"></div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
> Recording does not exist doesn't mean that the information about the <br>
> recording is not in the database. It means that the recording itself <br>
> (the file) is missing/inaccessible. This is usually due to file system <br>
> permissions or missing file system mounts (i.e. with network file <br>
> systems) or files in the wrong location/directory compared to those <br>
> specified in your Storage Groups or, potentially, because of changed <br>
> host names of your MythTV backend systems.<br>
><br>
> Mike<br>
><br>
Thanks. I'll take a look at permissions and storage locations etc, but <br>
nothing should have changed from when everything was fine  - though can <br>
never be sure of course.<br>
<br>
That said, all the files/recordings are definitely there as they all <br>
play ok. So it looks like it's not the recording itself that seems to be <br>
missing but the 'recording rule'?<br>
<br>
<br>
-- <br>
This email has been checked for viruses by Avast antivirus software.<br>
<a href="https://www.avast.com/antivirus" rel="noreferrer" target="_blank">https://www.avast.com/antivirus</a><br>
<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div></div>