My RPi 3 B+ shuts down randomly. I have a official power supply and a 32 GB Toshiba microSDHC class 4 card. I'm using it as a host for a Discord bot.

  • have to you checked any logs for any information? – Chad G Dec 7 '18 at 17:19
  • Have you got a reliable power supply that gives a steady 5.1V @ 2.5A? – Dougie Dec 7 '18 at 17:26
  • where to check it? – Minecon724 Dec 7 '18 at 17:27

Look at your logs in /var/logs using your preferred shell commands such as

pi@raspberrypi:~ $ less /var/log/syslog

You can also post that file or the end of it to a file hosting site and paste the link here.

Lastly, here are is some good raspberry pi troubleshooting information

  • Nothing worked. – Minecon724 Dec 8 '18 at 8:08
  • What did you try and what is in your log files? – T. M. Dec 8 '18 at 11:22

As Dougie commented here, check your power supply. Not having required voltage caused my rpi to reboot often.

  • I checked it. It haves required voltage. – Minecon724 Dec 8 '18 at 8:19
  • Have you connected power hungry devices to your 5V pin or usb ports? – RaspiFan Dec 8 '18 at 8:24

Not the answer you're looking for? Browse other questions tagged or ask your own question.