Questions tagged [reboot]

Rebooting refers to an operating system or hardware level reset without cutting power from the pi.

Filter by
Sorted by
Tagged with
8 votes
2 answers
23k views

Raspberry Pi 3 Freezes

My Raspberry Pi 3 Model B freezes randomly. This as been going on since I got it, about 4 months ago. It sometimes freezes on reboot causing reboot loops. It freezes on Chromium when all that's open ...
User98764431's user avatar
7 votes
1 answer
7k views

What's different about a crontab reboot?

I have a python script to log data from a USB weather station and present it via a flask front end. The USB on the pi (Pi2 model B) is flaky and occasionally hangs after 24-48 hours. The flask app ...
Steve Foster's user avatar
4 votes
4 answers
2k views

Powering Raspberry Pi via battery pack and buck converter - how to solve low voltage reboot issues

I'm trying to power a Raspberry Pi 4 via a 6-AA battery pack via buck converter which steps it down to 5V but it gets stuck in a reboot loop on boot up. Watching the display on the buck converter, the ...
g491's user avatar
  • 143
4 votes
3 answers
832 views

Python script run from crontab does not recognize USB drive mounted later

I am having a bit of a problem here, I really hope some of you can point me in the right direction: I made a python3 program running a loop and checking if the file /DATALOGGER/DATALOGUSB/SETUP.py ...
Rasmus's user avatar
  • 41
3 votes
2 answers
2k views

Raspberry Pi random reboots (Raspi 3B+)

I have a raspberry pi 3B+ model that I bought back in February 2019. For sometime, I "remember" it was working fine (although I can say from experience - memories can be deceiving). Then I ...
Duck Dodgers's user avatar
3 votes
2 answers
673 views

Cleanly shutting down daemon on Reboot or Shutdown command

I have a daemon I've created which fires up a bunch of subcomponent threads. If I use the "systemctl stop" command I catch the SIGTERM and usually have everything closed down cleanly in 2-6 seconds (...
Chrisby's user avatar
  • 31
2 votes
2 answers
436 views

RaspberryPi keeps rebooting after i changed rc.local file

my raspberryPi keeps rebooting and I have no idea how to solve this problem other than recovery the image. I haven't backuped for a while so I prefer not to recover it from an old one. Background I ...
Yihan Hu's user avatar
2 votes
2 answers
5k views

Raspberry Pi does not reboot with powered external HDD attached

I have recently set up a Plex Media Server on a new Raspberry Pi 4 (4 Gb). This is powered using it's own official power supply, the Pi is connected via USB to a powered USB hub which has a 1TB WD ...
Scott Wilks's user avatar
2 votes
2 answers
2k views

Black Screen after changing .config/lxsession/LXDE-pi/autostart

After opening .config/lxsession/LXDE-pi/autostart it approximately looked like this @lxpanel --profile LXDE-pi @pcmanfm --desktop --profile LXDE-pi @xscreensaver -no-splash @point-rpi @lxterminal -e ...
Ramón Wilhelm's user avatar
2 votes
2 answers
149 views

How do I trigger a task to run when the system starts to reboot?

My Pi is rebooting for no obvious reason. Each time it reboots, syslog has a line that says the system is rebooting, so something must be causing it. I wrote a script to log which processes are ...
NewtownGuy's user avatar
2 votes
2 answers
255 views

Running IRSEND through custom service

I am totally new to raspberry pi and I am trying to get the IRSEND command to work in my custom service. My objective is when my pi is about to shutdown or reboot that it would execute a shell script ...
Ikigai99's user avatar
2 votes
3 answers
1k views

Raspberry PI @reboot open xterm windows

Hello i am trying to open two shell scripts on reboot. Crontab My crontab is the following @reboot sh /home/pi/Desktop/autoStart.sh autoStart.sh in this shell script is the following #!/bin/sh cd /...
user avatar
2 votes
1 answer
735 views

Mounting USB-HDD with NTFS filesystem on Raspbian boot

I use Raspberry pi3+ as a small NAS (with Samba). I have to use a couple of HDDs in usb-sata cases with NTFS file system. Raspbian mounts them automatically on boot in /media/pi directory. I don't ...
Ivan's user avatar
  • 43
2 votes
0 answers
46 views

Imported CA Certs Disappear After Reboot

We've got some Pis at work that just display some dashboard stats on some TVs on the main office floor. The dashboard runs on our own internal self-hosted intranet site that the Pis are supposed to ...
Abdul-Hakeem's user avatar
2 votes
0 answers
172 views

The Raspberry Pi 4 fails to reboot

I have a Raspberry Pi 4 running Ubuntu Server 18.04. I usually SSH into it and reboot the system. However, I noticed that sometimes the pi does not successfully boot up again after shutdown, so I have ...
Faisal Altassan's user avatar
2 votes
1 answer
361 views

PXE - reboot if nfs root fail

I have a full working PXE server and multiple Raspberry Pi 3b+ running on read only. My problem come from an issue we can face anytime, a connection loss. If we lose connection with the NFS server, ...
Thanatheos's user avatar
1 vote
3 answers
355 views

Why does my RPi reboot every ~15 minutes?

I installed on my RPi 3 the latest Raspberry OS (Linux rpi-datacenter 5.10.63-v7+ #1488 SMP Thu Nov 18 16:14:44 GMT 2021 armv7l GNU/Linux) and I have no idea why it reboots on its own every ~15 ...
WoJ's user avatar
  • 535
1 vote
1 answer
1k views

Raspberry pi with HDD and SSD not booting on reboot

I have a Raspberry Pi 4 B with 2 disks connected via usb. One is an SSD and the other is an HDD. Both of them are in SATA to USB cases that have their own power supply each. I've configured the Rpi4 ...
RabidTunes's user avatar
1 vote
1 answer
227 views

Raspberry pi 3 keeps rebooting

I am trying to make a simple robotic car with my raspberry pi. The problem is that when it reaches the white load up screen it immediately reboots itself over and over again. My raspberry pi is ...
dlam0002's user avatar
1 vote
1 answer
1k views

Run a script before blank screen on shutdown/reboot

I am trying to get my raspberry pi 3 (running Raspbian 10) to show an animation on boot and before shutdown/reboot. using Plymouth I managed to get the boot animation, however, it doesn't display ...
Behnam Ezazi's user avatar
1 vote
2 answers
2k views

Rpi 3 reboots on opening chrome

Every time I open chromium on my raspberry pi, it just reboots sometimes even 3 or 4 times. I've read about instances of the pi crashing but my device just starts from the rainbow screen. There's also ...
Screwdriver's user avatar
1 vote
2 answers
482 views

How to reboot/restart a Raspberry Pi using its GPIO pins through another Pi?

I have a cluster of Pis that sometimes one of them fails and I cannot access it remotely until I come to the device and unplug and plug it again. I want a solution that if a Pi fails, I can remotely ...
Mohammad Sadegh Aslanpour's user avatar
1 vote
1 answer
60 views

Can't Reboot from pishutdown GUI after renaming pi user

I didn't check for shutdown, only reboot, because the pi is remote ATM and no easy way to wake it up back. I renamed the pi user, everything seems OK but this. Here're info I gathered after reading a ...
user120167's user avatar
1 vote
1 answer
84 views

Python script refuses to start automatically

I have a python script (taken from the forums here) that reboots my RPI when a button is pressed. It works great, no issues, except that it refuses to start automatically (either on boot, login, ...
lukenm's user avatar
  • 183
1 vote
1 answer
157 views

ssh, shutdown problem, pi 3B+

I could not find answer to my question reading the forum, Im having unusual problem with my new pi 3b+. I'm able to connect my Pi with ethernet cable, and I can ssh to it. So no problem with ...
Marko Cvejic's user avatar
1 vote
1 answer
47 views

Need help with running terminal commands on startup

I made my Zero into a radio transmitter and I am trying to make it transmit on startup, I am not quite sure how to do it, I've looked around different forums but I can't really find anything. I would ...
imnewplsdontbully's user avatar
1 vote
1 answer
2k views

Pi resets state after every reboot

my Raspberry Pi 3 (Raspbian Stretch) is behaving oddly for about 5 days now. What's happening: I create a file on my Desktop and modify another file at another location. Now I reboot the pi. Once I ...
WaveRipper's user avatar
1 vote
1 answer
801 views

Pi 3 reboots when GPIO 13 is given 3V

simulate this circuit – Schematic created using CircuitLab I am taking the 3V from Pi and giving it to COM of a relay. The NO goes to GPIO 13 of the same Pi. I have a 120V line that triggers ...
Dushyant Bangal's user avatar
1 vote
1 answer
1k views

real time clock problem -- why do I have endless rtc0/subsystem/rtc0/subsystem

I'm having trouble with a Pi-Zero rebooting after a varying number of hours. It's not crashing, it's rebooting, so there must be a reason for its madness. I see this in syslog minutes or hours before ...
NewtownGuy's user avatar
1 vote
1 answer
767 views

Run script on terminal at startup

I want to run a command in a terminal (not background) every time my pi is completely booted (once it loads the desktop). I tried to edit the rc.local and add these commands sleep 10 chromium-browser ...
D. Appresti's user avatar
1 vote
0 answers
28 views

RPI fails to boot after reboot; ok after unplug

Four of my five Raspberry Pi boot flawlessly upon sudo reboot; one fails. This RPi, but none of the others, has a Hifiberry Amp2 mounted on the GPIO header. I suspect for the below reasons that the ...
Al_'s user avatar
  • 11
1 vote
0 answers
54 views

Raspberry Pi 4: Black screen after boot both local and via vnc

I have a Raspberry Pi 4 that I have had running for at least half a year as a Plex server. I used Raspberry Pi Imager to create the os, and then I connected via vnc from either my mac or my pc, the ...
Steffen Beth's user avatar
1 vote
1 answer
160 views

Headless Rpi 4 reboots when changing resolution

I hope someone can help me, I've bought my first Rpi a few months ago and I haven't been able to use it at all because of this issue. Specs: Raspberry Pi 4 - 4GB OS: Raspberry Pi OS with desktop Fully ...
Psycoguana's user avatar
1 vote
0 answers
43 views

Raspberry Pi seemed to have rebooted

I let my RPi on yesterday with several scripts open and running. But when I came back today, all the scripts were closed, like if the RPI rebooted. I read that Raspbian, contrary to Windows, is not ...
Dark Patate's user avatar
1 vote
0 answers
206 views

Starting Python program on boot starts but buttons do not work

Latest Raspbian on a pi zero w... I'm newish and still learning. I have a simple python program that connects to i2c lcd display that will control credits on a home arcade machine. So a momentary ...
user3486773's user avatar
1 vote
1 answer
577 views

Raspberry Pi always reboots when trying to shutdown

I've been facing this issue for a long time and I haven't been able to find a working solution for it. I've found a few different posts online of people having the same issue but none of the solutions ...
Jesse Mount's user avatar
1 vote
1 answer
305 views

No HDMI after retropie restart, every time, multiple micro sd cards?

So I install the latest image of retropie, and boot it up on my rpi3. Plug it into my hdmi arcade cab, connect to wifi, add games from pc via wifi, force audio to 3.5 or I'd have no sound, restart, ...
user76595's user avatar
  • 171
1 vote
0 answers
258 views

Automatically restart Raspberry Pi on Shutdown

I'm currently using a Raspberry Pi 3 B+ at a remote location and use a VPN and SSH to access the device. If the power unexpectedly goes out at this remote location (or more commonly I stupidly ...
Matt's user avatar
  • 11
1 vote
1 answer
244 views

GPIO 1 not waking up the board when shorted to ground

I'm trying to use a single button to put the pi in a halt state and then wake it up. I cannot use GPIO3 since I'm using i2c devices as well. However according to this original post https://www....
shekit's user avatar
  • 111
1 vote
0 answers
46 views

Raspberry PI Model 3 B: Why is the run breakout activated by touching of wire?

When I touch the RUN breakout square whole with a wire it is activated and resets from shutdown. The other end of the wire is not in contact with anything, and thus surely is not grounded? Why does ...
Sam Smith's user avatar
1 vote
1 answer
160 views

Why do i suddenly need "reboot --force"?

Since recently i need to issue sudo reboot --force in order to reboot my raspberry pi 2 (buster). In the past i could use sudo reboot. How can I find the reason? When calling sudo reboot without "...
Ben's user avatar
  • 39
0 votes
1 answer
301 views

Reboot unresponsive pi

Several times my Pi 4B has become unresponsive because I dropped a screw or a penny on it. The lights on the board stay on, but all other functions cease and I cannot reach it via SSH. Disconnecting ...
user118616's user avatar
0 votes
2 answers
752 views

Raspbian: run command or script only once in next reboot

I need to run a program or script only once at next reboot of my Raspi. For instance, if i would need to rename a file and change its permissions, the script cp file.old file.new && chmod +rwx ...
PiBer2's user avatar
  • 11
0 votes
2 answers
559 views

Troubleshooting cron job to restart broken internet connection

I have a pi zero 1.3 running on an ethernet connection (using this hub hat). I am running it headless, so I can only access it via ssh. Every once in a while, the internet connection drops, and I have ...
Zach Taliaferro's user avatar
0 votes
1 answer
93 views

pi4 Only 4B fails to reboot

I have a Raspberry Pi 3B and 4B. It operates 24 hours a day. Reboot once a day. Only 4B fails to restart about once a week. The screen goes black. The lamp on the Raspberry Pi 4B is normal, so it's ...
ninja's user avatar
  • 1
0 votes
2 answers
288 views

reboot raspberry pi supplied after shutdown

My Raspberry Pi is connected to the supply, and after shutting down, it is still connected to the supply and the red led is on. Is it possible to reboot the pi without removing the supply and without ...
mina's user avatar
  • 357
0 votes
2 answers
326 views

Modbus to USB stops working after a few days

I monitor 10 Modbus devices with a Raspberry Pi 3B. Each modbus device sits about 20-30cm from the Pi and sends signal to the Pi through a Modbus RS485 to USB converter, which is shown here: https://...
Hayden Eastwood's user avatar
0 votes
2 answers
149 views

Why is my systemd script not working, while reboot pi my app not receiving signal(SIGTERM, SIGINT )

[Unit] Description=+++++++++++App start/stop+++++++++++++++++ After=network.target [Service] User=root Group=root StandardOutput=null ExecStart=/usr/local/bin/app_start > /dev/null Restart=always ...
Shilesh Babu's user avatar
0 votes
1 answer
3k views

How can I do a force restart?

I'm wondering once I'm in Kodi and it freezes what do I do? Is it possible to force quit the program? or is there a way to do a reboot of the system? It's happened a few times now where the system ...
Bros's user avatar
  • 1
0 votes
1 answer
555 views

raspberry pi 4 is constantly rebooting after stalled upgrade

I had sudo apt update & sudo apt upgrade'ed my raspberry pi 4 with raspberry OS. The upgrade process stalled while unpacking. or at least I thought it did. nothing happened for minutes while ...
Bravewart's user avatar