After backup / root login does not work HTTP 500 Error


I am a dietpi starter.

Creating a bug report/issue

It looks to me that after the daily sheduled backup service don’t start properly, Symtoms are

  • login with root does not work => password wrong
  • HTTP Server delivers a 500 Error

Required Information

cat /boot/dietpi/.version

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
    bullseye 0

  • Kernel version | uname -a
    Linux Nextcloud 5.15.84-v8+ #1613 SMP PREEMPT Thu Jan 5 12:03:08 GMT 2023 aarch64 GNU/Linux

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
    RPi 4 Model B (aarch64)

  • Power supply used | (EG: 5V 1A RAVpower)
    Was delivered with org. Nextbox

  • SD card used | (EG: SanDisk ultra)
    runs on a HDD

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
    Nextcloud, piHole-Ftl , Ubound maria DB lighthttp dropbear
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. System works stable
  2. in the morning i can’t login with root, Ubound isn’t running, PiHole, Nextcloud http 500 Error
  3. The only thing which runs overnight is the backup
  4. after rebooting system with power off everyting runs again
    5 This happens every 3-5 days

Expected behaviour

system should run without interruptions

Extra details

I currently assume that services don’t get restarted properly after backup but I am not sure how to check this

I was think to reboot system once a day but this is a workaround

I got this problems (SSH saying wrong password, webserver shows 500 and other services are not reachable, but the device is running) when my Pi draws more power then it could deliver. I bet you run your external HDD without it’s extra power supply, which will lead to low voltage (the USB ports can not power your HDD alone), which then breaks the working system.
Try to use an external power adapter for your external HDD:


thx for the fast response I use NextBox | which is designed for an extra harddisk. I am willing to change/test the setup but the question is how to confirm that the power is to less.

… my entire OS is on the HDD … SD Card is used as backup medium

Are there any logs or something else?
Any power adapter you could recommned ?



The problem here is, that the HDD is powered only via the USB port, which is known for causing trouble. Sometimes even for SDDs, which draw less power.
The power limit across all 4 ports is 1200mA.
A 2,5" HDD typically needs around 600mA, but can need more e.g. when spinning up. Do you have more stuff connected via USB?
My solution to this problem was to use a adapter which comes with it’s own PSU like this one.

For undervoltage warnings you can check kernel messages:
sudo dmesg -l warn,crit,emerg,alert,err

1 Like