Motioneye not restarting with pi reboot after Camers intalled

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version

  • G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=0
    G_DIETPI_VERSION_RC=2
    G_GITBRANCH=‘master’
    G_GITOWNER=‘MichaIng’

  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN

  • bookworm 0

  • Kernel version | uname -a
    Linux MotioneyeBK 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux

  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)

  • Power supply used | (EG: 5V 1A RAVpower)

  • RPi 4 Model B (aarch64)

  • Stock RPi 4 branded power supply

  • SD card used | (EG: SanDisk ultra)

  • USB → NvMe Drive. 1TB Samsung SSD

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • MotionEye
  • Was the software title installed freshly or updated/migrated?
  • Fresh Install using dietpi software install tool
  • Can this issue be replicated on a fresh installation of DietPi?
  • Yes I have 2 dietpi’s on Pi4 4G and both have this same problem.
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. Imaged SSD with Etcher
  2. Logged in as root. Did all recommended updates etc
  3. Installed MotionEye
  4. Install Cameras
  5. Reboot system
  6. Motion Eye is dead

Expected behaviour

  • .MotionEye restarts after reboot or power cycle

Actual behaviour

  • If I reboot BEFORE Camera installs MotionEye restarts normally
  • If I reboot AFTER Camera installs MotionEye not only fails to restart, but requires a complete uninstall and reinstall to get the system back…

Extra details

  • currently supporting 9 Cameras. 3 from Octoprint Servers, 6 others from rtsv security cameras around the house.
  • All camera’s record (motion based) to the 1T SSD
  • 4 of the camera’s report motion to HA via MQTT calls.

System works fine, right up till you need to boot the system…

Plus try to stick to one platform as you opened same issue on GitHub MotionEye fails to restart after reboot. · Issue #6896 · MichaIng/DietPi · GitHub

I can confirm this also happens on the X86-64 (PC) image too.

Use the software installer to install motion eye…
Add camera’s from the Web interface…
Reboot the PC

Dead motion eye. (corrupted)

Sorry about that, not sure where it is best to post something like this. I’m brand new to dietpi… Love the easy to use interface.

pls stick with the GitHub issue. In general you might check as well with the MotionEye project for this. Issues · motioneye-project/motioneye · GitHub

Solution provided at this github link above.

Issue is with the Backup and Recovery system built into MotionEye.
Nothing wrong with the DietPi system or software install.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.