Here is the feedback from today,
Since yesterday, around 11:00pm, no more issues. So around 17hours running. It seems UiDivStats is updating the graph and table fine.
I don’t think It was an USB problem. I didn’t see any strange system log. And there are many other scripts (unbound, connmon, ntpmerlin, ...) working Ok and updating the graphs and tables without any issues.
It is weird but It seems to be resolved. I am going to share what I did yesterday so if could help someone else.
1. I uninstalled UiDivStats..
2. I removed the folder “UiDivStats.d“ located at /opt/share/
3. I opened amtm and Diversion.
4. I used option “d” at Diversion in order to open the install and uninstall options.
5. I used the option “Reinstall Diversion”. I think it was option “2”
6. Then I left to settle everything a couple of minutes. Just to be sure Diversion was running Ok after reinstalling it.
7. Then I reinstalled UiDivStats (option j5 in amtm). And everything went smoothly creating the new database. No more errors.
Since then ... it seems UiDivStats had not stopped of updating the graph and table.
It is weird but It seems this had solved the issue by now. I don’t know why.
If there is more news during the following hours I will post it here.