[[!comment format=mdwn username="joey" subject="""comment 3""" date="2017-11-07T19:45:51Z" content=""" The sqlite failure does not seem to be due to the database getting too large or anything like that, because your loop does eventually manage to add all the files. Perhaps sqlite is failing intermittently for whatever reason.. """]]