So, I occasionally end up with a run of IGL where there is an error at the end of "database is locked". The files get renamed, but the database doesn't get updated for the new name. It doesn't really bother me that the database doesn't get updated, since I don't watch the recordings made through NPVR, but I make use of the new name that is returned to do some other post-processing.
So, how do I avoid this, or how should I proceed when this happens? I just experimented and tried running it again, but I guess since the files were already renamed, nothing happened and it doesn't return the name.
I've attached the IGL log for one such lock situation. Thanks.