MarkGrimwood / Mognet-All-Sky-Camera-install

Software for a simple Raspberry Pi based all sky camera
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

Memory card full #11

Closed MarkGrimwood closed 3 years ago

MarkGrimwood commented 3 years ago

Memory card filled up causing image capture and display to stop working

Cannot currently see a reason why the history clearance would fail. Have manually cleared the oldest items and added the history clearance code to the daily update script too. The daily update also produces a log file which might give an indication of what the problem is

MarkGrimwood commented 3 years ago

I suspect it's more likely that the new movie script didn't trigger rather than there being a problem with the history clearance. Again I cannot currently see a reason for it. Adding some more logging to my test boxes to see

MarkGrimwood commented 3 years ago

No actual cause found, so the dailyupdate script also contains space clearance, and the code has been improved so that it will only clear five or make five attempts at clearance, and won't delete the entire history folder on small cards. Also dailyupdate now has a log output that will include the output from space clearance.