I used home assistant for a few weeks. but after restarting the home assistant stopped working here is errors
Try going through these steps: How to Troubleshoot Raspberry Pi Crashing