I have a Raspberry pi set up as a security camera (with Pinoir camera module). It worked perfectly for 9 months but since 2 weeks ago it stops working after a few days. It has apache running as a webserver, samba for file sharing.
When I go to the webpage after the crash it shows a message there are no files in the /var/www directory. Samba has some shared folders which turn out to be empty. So it seems like most of the software / programs are still running but there is a problem with accessing the (root) file system? SSH login is not possible anymore so can't do any dmesg,...
Could this be a problem with the SD card, maybe connection problem with the SD socket? Anyone experienced this problem of all files disappearing?
I've also enabled the watchdog but the Raspberry doesn't boot anymore after the watchdog reset. If I reset it manually by removing the power it works again for a few hours/days.