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
0 votes
1 answer
35 views

Writing bash script to reboot pi 10 times and log output

I have written a Python script and scheduled it to run @reboot using cronjob. Sometimes this script throws an exception sometimes it works perfectly. I want to write test scripts for this. Preferably, ...
Osama Khalid's user avatar
0 votes
2 answers
36 views

Cronjob not executing when raspberry pi reboots

The following is the Python script that I want to execute every time Raspberry Pi reboots. When I run this Python script directly from the terminal it works. Not only does IP gets stored in the file ...
Osama Khalid's user avatar
0 votes
0 answers
72 views

My raspberry pi 4 won't boot

I have OMV installed on my Rasberry pi 4. I also have Portainer installed, I wanted to install Nginx Proxy Manager on a docker container so I though I should uninstall nginx that I had on my rpi4. I ...
Veoxer's user avatar
  • 101
0 votes
0 answers
28 views

Raspian continuously reboots after reaching autologin console

I'm a pretty experienced Raspberry Pi / Raspian / Raspberry OS user and can't figure this one out. Background: I started encountering this issue about a month ago on two varieties: RPi4 and RPiZero2. ...
jlcooke's user avatar
0 votes
2 answers
91 views

Automatic execution of a Python script using a Raspberry Pi 4

Im programming on a Raspberry Pi 4 and trying to make a python script start automatically, when powering on. The python script is working and has no errors. I tried to insert a starting command in /....
En99's user avatar
  • 13
0 votes
0 answers
38 views

Investigating Random Crashes/Reboots - RaspberryPi 3B

We have a Raspberry Pi 3B running a custom Buster image (PiSignage 3.2.0 - Its for digital signage). I have recently noticed that the Pi has been crashing periodically and my troubleshooting knowledge ...
DOSed_And_Confused's user avatar
0 votes
0 answers
106 views

Raspberry Pi 3B+ freezes on cron reboot

I set up a cronjob on my Raspberry Pi 3B+ (1GB RAM) to reboot every morning, which worked fine for over a year. For three days, however, the RPi has been crashing immediately after reboot. By “...
Pixelcode's user avatar
  • 101
0 votes
0 answers
55 views

add a reboot and shutdown button to top panel

I have just upgraded my Rasp Pi4 from Buster to Bullseye. I had to create a fresh installation but had copies of my previous disk image. I have managed to get most things re-installed but noticed I ...
stain's user avatar
  • 1
0 votes
0 answers
24 views

halt the raspberry when power supply connected but not when GPIO3 is shorted to ground

For context I am using a raspberry PI3 but in the end might use a PI4 (but docs says they should behave the same). I changed config.txt to allow my raspberry to wake from a halt state (with GPIO3). ...
camp's user avatar
  • 1
0 votes
0 answers
53 views

Desktop icons position lost after logout / reboot

Environment Debian (Raspbian) distro (64-bit) on either 8GB Raspberry Pi 4, or Raspberry Pi Desktop (32-bit) on HP x86 laptop. Fully updated with apt. Problem After reboot or logout/login from the ...
user avatar
0 votes
0 answers
56 views

Why is my Raspberry Pi booting an infinite number of times when I turn it on?

I recently got a Raspberry Pi 4 Model B board in 2022, and I did not use my Raspberry much. When I put the OS in the Raspberry, it works. But When I tried using it now with a new OS and a new sd card. ...
Evan Mathew's user avatar
0 votes
2 answers
2k 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
2 votes
0 answers
59 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
1 vote
0 answers
36 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
105 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
323 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
-1 votes
1 answer
2k views

Raspberry Pi not booting automatically after a power outage

I have an RPI4 (Buster) with SD Card for root storage as a home server. Recently I noticed that it does not boot up automatically after power outages. When the electricity is turned back, all lights ...
ihorc's user avatar
  • 9
0 votes
0 answers
57 views

Reboot and password issues

My son got a raspberry PiTop at a class at the Centre for Computimg History in Cambridge last week. We have had some issues rebooting since attempting to download recommended software. However, the Pi ...
Juliet Davis's user avatar
0 votes
0 answers
287 views

Raspberry pi very slow boot

I have a very slow reboot of raspberry pi 4 (8gb ram). It wasnt always like this, but the last days i realized it's extremely slow. I use it for Home assistant (with Docker), pihole and plex, and i ...
uzer123's user avatar
-1 votes
1 answer
640 views

shutdown/reboot raspberry using GPIO - doesn't work for me

I need my raspberry Pi to turn OFF automatically when I press a button, so I've forked the Adafruit-GPIO-halt project and created a slight modified version of it here. I've modified the C code and the ...
orestino's user avatar
0 votes
0 answers
22 views

Not booting after shutdown [duplicate]

We are putting rpis in one of our products and we have a few dozens of units already in use. We currently observe a very annoying problem - whenever it shuts down or is issued reboot it won't boot ...
php_nub_qq's user avatar
1 vote
3 answers
465 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
  • 545
0 votes
0 answers
25 views

Reboot on using Microsoft remote desktop

I have a raspberry Pi 4 running Ubuntu. Most of the times I connect to it using Microsoft remote desktop, it hangs and then reboots after some time. Has anybody seen this? How can I find out why the ...
hmehra's user avatar
  • 1
0 votes
0 answers
1k views

How to find out what process is using Raspberry Pi camera?

Some background: Hi. I've recently been experimenting with the Raspberry Pi Camera through node.js and other languages. But, even with none of those scripts running, Pikrellcam (a live security camera ...
Blue Herring's user avatar
0 votes
0 answers
128 views

raspi3 qemu wont reboot

I finally got raspian to boot in quem by following these instructions. https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emulation The only problem is that I can't figure out how to ...
bob mcgrath's user avatar
0 votes
0 answers
45 views

SSH remote connection working "every other reboot"

Latest raspberry pi os lite installed on a raspi4 4gb, customized to my needs. I can normally SSH into it, everyhing works. I then reboot (sudo reboot) and raspi won't respond to SSH connection ...
ephestione's user avatar
0 votes
1 answer
144 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
1 answer
814 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
1 vote
1 answer
186 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
0 votes
1 answer
514 views

CIRCUITPY on RP2040 Won't Reboot and Run code.py

I'm trying to build this T9 Macro Pad project, by Guy Dupont, using a PIMORONI TINY2040, which uses a RP2040 chip. I installed CircuitPython 6.3.0 on the development board and then could see the ...
BitFlow's user avatar
  • 225
-1 votes
2 answers
212 views

Watchdog and autologin - raspberry pi zero-

Hi I have turned on watchdog and configurate them at my raspberry. I tested at my raspberry with fork-bomb and watchdog work - fork-bomb ( I wrote this command to console ) :(){ :|:& };: freeze ...
Hamilkar Barkas's user avatar
0 votes
2 answers
337 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
  • 377
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
0 votes
0 answers
102 views

RaspberryPi 2 can not be restarted (sdhost-bcm2835 timeouts, print_req_error)

I have a relatively simple setup: One Raspberry Pi 2 is directly connected to my home router, running Debian 10 and PiHole with an Unbound rDNS service. That's it. I have set this system up two times ...
Prototype700's user avatar
0 votes
1 answer
200 views

Problem with resetting Screen Resolution using cron job

I am running a cron job with @ reboot bin/sleep 60 /path/to/script. I know the job runs 60 seconds after reboot but I get an error. The script is: #!/bin/sh -e sudo xrandr --newmode "2560x1440_60....
HaWi's user avatar
  • 1
0 votes
2 answers
666 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
2 answers
402 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
-1 votes
2 answers
401 views

Problem with crontab -e. Does not saving photos using autorun

Does not save photos using auto-launch in crontab. I use Python 3 or raspistill, they work well for photos when a monitor is connected. #!/usr/bin/python3 # BEFORE USING THIS SCRIPT. # ...
Albertas T.'s user avatar
0 votes
1 answer
545 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 ...
Ben Muircroft's user avatar
1 vote
0 answers
44 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
0 votes
0 answers
334 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 \ ...
Afik_Android's user avatar
0 votes
2 answers
896 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
4 votes
4 answers
3k 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
1 vote
0 answers
220 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
0 votes
0 answers
54 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 ...
Kevin Castejon's user avatar
3 votes
2 answers
3k 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
0 votes
0 answers
74 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 ...
Julien's user avatar
  • 131
2 votes
0 answers
182 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
1 vote
1 answer
66 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
0 votes
0 answers
624 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 ...
fnx_qt's user avatar
  • 1