I purchased a Raspberry PI 2 two years ago and installed Raspbian Jessie at the time.
I configured several services including nginx/ssh/... with very specific settings so complete OS re-install is not an option.
It has been running smoothly for months without reboot.
I decided to upgrade to stretch six month ago. No errors so far.
I noticed after some time that since upgrading, the RPi freezes randomly after two days to a week and half of uptime.
I tried troubleshooting it by activating the SysRq key, to no avail. When frozen the SysRq key combinations don't work (-> works when not frozen). I also tried to find kernel logs after reboot in several places on the system -> no luck either, nothing unusual found in the logs.
Then, I tried to activate the "reboot on kernel panic" option using kernel parameters, because I need this RPi to be up 24/7 but the RPi doesn't even reboot on freeze.
I even tried to use a kernel debugger but couldn't find a way to activate it on the PI.
I don't know what to do next (I searched for months on the web for solutions), appart from manually plugging-off and on my RPi once I noticed it is not responsive anymore...
Am I the only one affected ? Anybody have an idea of what I can do to at least find the source of the problem ?
- The SD card I have is a Class10 - UHS-1 U1 "PNY MicroSDXC High Performance" card
- The Pi is not overclocked
- I did not change anything after upgrading to stretch, but still no crash before, crashes after
- When frozen, both LEDs are lit
- The power supply is 2A
- The Pi crashes when idle most of the time (never crashed when I was actively using it)
Thanks in advance