[mythtv-users] Database damage?
ylee at columbia.edu
Sat Feb 13 15:04:32 UTC 2021
Craig Treleaven says:
> The other issue is that I had nearly 700 recordings that were
> orphaned. The find_orphans.py script would not get rid of them.
The script is supposed to handle both zero-byte files unassociated with a database entry, and orphaned database entries without a corresponding file. I think what you saw is a different symptom of the general inability of the script to gracefully handle many files.
> So with the output from find_orphans.py and a little massaging with
> awk, xargs and touch, I created zero byte ‘recordings’ for the
> nearly 700 remaining problems. That’s too many. When I ask
> find_orphans.py to delete them, the script crashes. It also crashed
> mythbackend a couple of times.
<https://lists.archive.carbon60.com/mythtv/users/616731#616731> may be helpful.
Frontend: Apple MacBook Pro 2012, Nvidia Shield 2017
Backend: HP Microserver N40L 1.5GHz with 4x3TB HDDs
Tuners: Two over-the-air ATSC inputs with multirec
More information about the mythtv-users