Posts are deleted everyday at night

‘Every night’ sounds like it’s triggered via a cronjob. You may install the wp-crontrol plugin to see what cronjobs are sheduled in your wordpress install.

If you don’t see something obvious there I would also suppose it happens outside of wp. But as you already pointed out, you can only be sure when you revert everything to a stock install (disable plugins & theme).