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
2answers
19k 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 ...
6
votes
1answer
4k 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 ...
4
votes
3answers
504 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 ...
3
votes
2answers
611 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 ...
2
votes
3answers
1k 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 ...
2
votes
2answers
169 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 ...
2
votes
2answers
2k 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 ...
2
votes
2answers
1k 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 ...
2
votes
2answers
126 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 ...
2
votes
2answers
176 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 ...
2
votes
3answers
352 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 /...
2
votes
1answer
587 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 ...
2
votes
2answers
317 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 (...
2
votes
1answer
152 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, ...
1
vote
1answer
93 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 ...
1
vote
1answer
829 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 ...
1
vote
2answers
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 ...
1
vote
1answer
46 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, ...
1
vote
1answer
103 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 ...
1
vote
1answer
44 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 ...
1
vote
1answer
816 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 ...
1
vote
1answer
610 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 ...
1
vote
1answer
776 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 ...
1
vote
1answer
536 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 ...
1
vote
0answers
32 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 ...
1
vote
0answers
54 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 ...
1
vote
0answers
56 views

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 some times the pi does not successfully boot up again after shutdown so I have ...
1
vote
0answers
182 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 ...
1
vote
0answers
180 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 ...
1
vote
1answer
158 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....
1
vote
0answers
41 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 ...
0
votes
1answer
66 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 ...
0
votes
2answers
64 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 ...
0
votes
2answers
37 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 ...
0
votes
1answer
32 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://...
0
votes
2answers
125 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 ...
0
votes
1answer
2k 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 ...
0
votes
1answer
32 views

new pi & new hdd ext4 messes up permissions and owner on reboot

I have a new hdd powered with external power plug It is attached to the usb 3.0 (new Pi from shop also) hdd is ext4 problem: I mount the hdd on the pi, fine. then I write some files, fine. then I ...
0
votes
1answer
86 views

System crashes when a USB device is plugged in or a web browser is opened

I recently turned my pi into a standalone network following this guide: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md But now when I open a web browser, or plug in a ...
0
votes
1answer
95 views

How to clear the screen and auto-mount device on startup?

I have a Raspberry Pi connected to my TV, which I use to read videos stored on an external hard drive. I have 2 commands that I run everytime the Raspberry Pi reboots: This one, to clear the prompt ...
0
votes
1answer
77 views

Raspbian OS reboot issues with A83T processor system [closed]

We are using Raspbian OS in our A83T processor system. When we giving reboot command system hangs. Please find the log below bpi-iot-ros-ai login: root Password: Last login: Thu Sep 19 20:32:42 CST ...
0
votes
0answers
57 views

pi4 won't return after reboot connected switch?

I have PI4 that connected to router after I reboot ONLY the router , I can see the pi is still connected to the router - but I can't reach it. The pi have static ip. No ping to the pi , disable \ ...
0
votes
0answers
30 views

Audio Amp + battery = shutdown on high volume

I'm using the Raspberry Pi Zero W with a DAC, the MiniAmp from HifiBerry (2x3W) , and a pair of speaker 4Ohms 3W for making a connected speaker device. Everything is working great until, in order to ...
0
votes
0answers
45 views

reboot does not work after setting OTP to USB host boot mode

On an Rpi 3 model B V1.2, I changed the OTP to boot from usb device like here. It works as it should but if I issue a "sudo reboot now" command, the computer shuts down but doesn"t ...
0
votes
1answer
31 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 ...
0
votes
0answers
47 views

How to allow other admin to manage systemctl

I have a pi 4b. I added a new admin as explained in https://www.raspberrypi.org/documentation/configuration/security.md, it has access to all those groups. I locked the pi user: sudo usermod --lock ...
0
votes
0answers
224 views

Hardware watchdog during reboot

I'm creating a prototype of a Raspberry Pi 3B+ that uses Mender as the update manager. My goal is that if the Raspberry Pi is stuck somewhere in the boot process (Corrupted Kernel that cannot even ...
0
votes
1answer
254 views

RaspberryPi not booting error:Failed to load rescue target

Previously my Pi4 2GB was working fine for months. After trying to get InfluxDB (a time series Database) working I rebooted my Pi. When the sreen turned back on i was greeted with the usual 4 ...
0
votes
1answer
179 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, ...
0
votes
0answers
92 views

RPI sometimes freezes on reboot , what to do?

I have an RPI 0 W which I use a script on to run 24/7 , Sometimes the script fails and a system reboot is required which I do by the command sudo reboot, Sometimes while rebooting the RPI is getting ...