Build process:
- - -
sudo apt update && sudo apt upgrade -y
su -
apt-get install motion ffmpeg v4l-utils -y
systemctl stop motion
systemctl disable motion
apt-get install python2 curl -y
python2 get-pip.py
apt-get install python-dev-is-python2 python-setuptools libssl-dev libcurl4-openssl-dev libjpeg-dev zlib1g-dev libffi-dev libzbar-dev libzbar0 -y
pip install motioneye
mkdir -p /etc/motioneye
cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
mkdir -p /var/lib/motioneye
cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
systemctl daemon-reload
systemctl enable motioneye
systemctl start motioneye
- - -
Loads correctly, copies files to correct places from correct places. Working here.
I would check commands:
> python --version
Should show
> Python 2.7.18
and
> pip --version
should show
> pip 20.3.4 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
If not, then Python 2.7 or pip2 are not installed correctly, which would affect if the sample files were placed correctly.