motioneye-project/motioneye

motioneye service fails to start properly after reboot with mjpg on raspbian buster

Aberta

#2.183 aberto em 2 de set. de 2021

 (2 comentários) (0 reação) (0 responsável)Python (636 forks)batch import
help wantedquestiontroubleshooting

Métricas do repositório

Stars
 (3.533 estrelas)
Métricas de merge de PR
 (Mesclagem média 16d 14h) (33 fundiu PRs em 30d)

Description

Hi,

I'm using motioneye on a rasbian pi4 as a frontend for motioneyeos pi zero cameras on fast camera mode.

Using systemd service file provided in the doc, when rebooting the main raspberry I have: "ERROR: mjpg client timed out receiving data for camera 1 on port 8081" and no videos.

Works fine after a manual ssh "systemctl restart motioneye"

After searching, for /usr/local/share/motioneye/extra/motioneye.systemd-unit-local and then /etc/systemd/system/motioneye.service : [Unit] needs: After=network-online.target

[Install] would probably need: After=network-online.target

Strange mjpg is not retrying properly when network fails or not ready...

Guia do colaborador