motioneye-project/motioneye

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

オープン

#2,183 opened on 2021/09/02

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (636 件のフォーク)batch import
help wantedquestiontroubleshooting

Repository metrics

Stars
 (3,533 個のスター)
PR merge metrics
 (平均マージ 16d 14h) (30d で 33 merged PRs)

説明

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...

コントリビューターガイド