Over the last few days I have noticed that a number of scheduled recordings have been missed, not failed but they continue to be in a 'Pending' state. A couple of these have been automatically rescheduled (?) to another time - Emmerdale and Coronation St to today, Sunday June 7th, at 09:00 (ITV3) and 07:30 (ITV3) respectively. However, in the case of Coronation St the pending start time has passed and it is still showing as 'Pending', Emmerdale has not yet reached its rescheduled start time but I kind of expect the same to happen.
On checking the logs I can see that from 2020-06-07 02:46:37.244 the database is being reported as locked, this continues to be reported until 2020-06-07 06:59:33.682. My SD update starts at 02:45 each day. I have recently started putting my NAS to sleep, unless disk activity is detected, from 22:00 to 07:00 each day. My recordings are held on a NAS NFS share but all the rest of my my NPVR setup, including the database, is held on the RPI4 local micro SD card I use to run NPVR and this does not sleep.
It seems a bit of a coincidence that the NAS recordings share might be asleep when this problem starts to occur but should it be being used during a guide refresh from SD ? I would expect the PI to be able to refresh its guide / database when the NAS share is asleep. I could see it as a problem when recordings are due but the share would have been available well before Coronation St should have started recording and it doesn't account for the continued 'Pending' state of these recordings. The NAS share would NOT have been asleep when the previous recordings failed to start, and subsequently ended up in a 'Pending' state, last Friday (from 13:45 to 20:00) and which first alerted me to something being not right but which I haven't had time to investigate until just now.
I have attached the logs so you can see what appears to be happening.
Thanks as always for any help or advice you can provide, hopefully this ins't soemthing of my own making.
Chris
logs-20200607-0843.zip (Size: 1.48 MB / Downloads: 5)
On checking the logs I can see that from 2020-06-07 02:46:37.244 the database is being reported as locked, this continues to be reported until 2020-06-07 06:59:33.682. My SD update starts at 02:45 each day. I have recently started putting my NAS to sleep, unless disk activity is detected, from 22:00 to 07:00 each day. My recordings are held on a NAS NFS share but all the rest of my my NPVR setup, including the database, is held on the RPI4 local micro SD card I use to run NPVR and this does not sleep.
It seems a bit of a coincidence that the NAS recordings share might be asleep when this problem starts to occur but should it be being used during a guide refresh from SD ? I would expect the PI to be able to refresh its guide / database when the NAS share is asleep. I could see it as a problem when recordings are due but the share would have been available well before Coronation St should have started recording and it doesn't account for the continued 'Pending' state of these recordings. The NAS share would NOT have been asleep when the previous recordings failed to start, and subsequently ended up in a 'Pending' state, last Friday (from 13:45 to 20:00) and which first alerted me to something being not right but which I haven't had time to investigate until just now.
I have attached the logs so you can see what appears to be happening.
Thanks as always for any help or advice you can provide, hopefully this ins't soemthing of my own making.
Chris
![ZIP File .zip](https://forums.nextpvr.com/images/attachtypes/zip.png)