I am still investigating which is a little difficult since the issue is only occuring unfrequently approx. once a day.
1. Are you doing development in the manager, so that the cache is getting cleared frequently?
-> at the moment I am not developing at all on this site jsut fixing this issue but generally yes I am develoving in the manager on top I also cleared cache manually by deleting the whole cache folder content
2. Have you checked and repaired the table after restoring it?
3. How are you restoring it? Are you using DROP TABLE/CREATE TABLE?
-->Yes I droped the table and restored it with "mysqldumper"
Also, do you have any template-related plugins running? If so, which one(s)?
--> not 100% sure which plugin this could be since most of them are more ore less template-related. I am running folowing packages:
- Babel
- getResourceField
- getResources
- UltimateParent
- Wayfinder
From my understanding if its related to any plugin it would be a plugin that is generally able to run "UPDATE" on SQL tables so either Babel or Wayfinder the other 3 should be only pulling data not writing any if I am correct. As a temporary hotfix I removed the "UPDATE" privilige from the modx SQL user wich seems to avoid the table corruption.
Regarding merging the content into a clean MODX installation that is definetly a step I will do if I can not identify the core of the issue for now I will still digg a little deeper into it to find out whats wrong so I can avoid it in the future.