Hi
Ich versuche MotionEye nach dieser Anleitung zu installieren.
Leider klappt das nicht. Kann mir bitte jemand weiterhelfen? Ich habe schon mehrere Anleitungen ausprobiert, geklappt hat es nie.
Hier mal der Installationsablauf:
Code
pi@Homee8GB:~ $ sudo apt-get update
OK:1 http://archive.raspberrypi.org/debian buster InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB]
OK:3 https://deb.nodesource.com/node_12.x buster InRelease
Holen:4 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13, 0 MB]
Es wurden 13,0 MB in 7 s geholt (1.949 kB/s).
Paketlisten werden gelesen... Fertig
pi@Homee8GB:~ $
pi@Homee8GB:~ $ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
apt apt-utils base-files bluez-firmware distro-info-data firmware-atheros
firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek
libapt-inst2.0 libapt-pkg5.0 libpam-systemd libpulse0 libraspberrypi-bin
libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libsqlite3-0
libsystemd0 libudev-dev libudev1 libxml2 openssl python-apt-common
python3-apt raspberrypi-bootloader raspberrypi-kernel rpi-eeprom systemd
systemd-sysv udev
32 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 139 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 911 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] Abbruch.
pi@Homee8GB:~ $ sudo apt-get upgrade
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Paketaktualisierung (Upgrade) wird berechnet... Fertig
Die folgenden Pakete werden aktualisiert (Upgrade):
apt apt-utils base-files bluez-firmware distro-info-data firmware-atheros
firmware-brcm80211 firmware-libertas firmware-misc-nonfree firmware-realtek
libapt-inst2.0 libapt-pkg5.0 libpam-systemd libpulse0 libraspberrypi-bin
libraspberrypi-dev libraspberrypi-doc libraspberrypi0 libsqlite3-0
libsystemd0 libudev-dev libudev1 libxml2 openssl python-apt-common
python3-apt raspberrypi-bootloader raspberrypi-kernel rpi-eeprom systemd
systemd-sysv udev
32 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 139 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 911 kB Plattenplatz freigegeben.
Möchten Sie fortfahren? [J/n] j
Abbruch.
pi@Homee8GB:~ $ sudo su
root@Homee8GB:/home/pi# apt-get install ffmpeg libmariadb3 libpq5 libmicrohttpd 12
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
libmariadb3 ist schon die neueste Version (1:10.3.27-0+deb10u1).
libmicrohttpd12 ist schon die neueste Version (0.9.62-1).
libpq5 ist schon die neueste Version (11.9-0+deb10u1).
ffmpeg ist schon die neueste Version (7:4.1.6-1~deb10u1+rpt1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 32 nicht aktualisiert.
root@Homee8GB:/home/pi# wget https://github.com/Motion-Project/motion/releases/ download/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
--2020-12-24 10:00:54-- https://github.com/Motion-Project/motion/releases/downl oad/release-4.2.2/pi_buster_motion_4.2.2-1_armhf.deb
Auflösen des Hostnamens github.com (github.com)… 140.82.121.4
Verbindungsaufbau zu github.com (github.com)|140.82.121.4|:443 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 302 Found
Platz: https://github-production-release-asset-2e65be.s3.amazonaws.com/20822620/ 77fdcb80-bc14-11e9-81f5-70e7bfc5bdfb?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Cred ential=AKIAIWNJYAX4CSVEH53A%2F20201224%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Dat e=20201224T090055Z&X-Amz-Expires=300&X-Amz-Signature=b155be263c901d43ca4cd1ac79c 293933660a4a3438396c1c26ccfa2a0d54ffc&X-Amz-SignedHeaders=host&actor_id=0&key_id =0&repo_id=20822620&response-content-disposition=attachment%3B%20filename%3Dpi_b uster_motion_4.2.2-1_armhf.deb&response-content-type=application%2Foctet-stream [folgend]
--2020-12-24 10:00:55-- https://github-production-release-asset-2e65be.s3.amazo naws.com/20822620/77fdcb80-bc14-11e9-81f5-70e7bfc5bdfb?X-Amz-Algorithm=AWS4-HMAC -SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201224%2Fus-east-1%2Fs3%2Faws4 _request&X-Amz-Date=20201224T090055Z&X-Amz-Expires=300&X-Amz-Signature=b155be263 c901d43ca4cd1ac79c293933660a4a3438396c1c26ccfa2a0d54ffc&X-Amz-SignedHeaders=host &actor_id=0&key_id=0&repo_id=20822620&response-content-disposition=attachment%3B %20filename%3Dpi_buster_motion_4.2.2-1_armhf.deb&response-content-type=applicati on%2Foctet-stream
Auflösen des Hostnamens github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)… 52.216.170.43
Verbindungsaufbau zu github-production-release-asset-2e65be.s3.amazonaws.com (gi thub-production-release-asset-2e65be.s3.amazonaws.com)|52.216.170.43|:443 … verb unden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 312748 (305K) [application/octet-stream]
Wird in »pi_buster_motion_4.2.2-1_armhf.deb.7« gespeichert.
pi_buster_motion_4. 100%[===================>] 305,42K 715KB/s in 0,4s
2020-12-24 10:00:56 (715 KB/s) - »pi_buster_motion_4.2.2-1_armhf.deb.7« gespeich ert [312748/312748]
root@Homee8GB:/home/pi# dpkg -i pi_buster_motion_4.2.2-1_armhf.deb
Vormals nicht ausgewähltes Paket motion wird gewählt.
(Lese Datenbank ... 48923 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von pi_buster_motion_4.2.2-1_armhf.deb ...
Entpacken von motion (4.2.2-1) ...
motion (4.2.2-1) wird eingerichtet ...
Job for motion.service failed because the control process exited with error code .
See "systemctl status motion.service" and "journalctl -xe" for details.
invoke-rc.d: initscript motion, action "start" failed.
● motion.service - Motion Daemon
Loaded: loaded (/etc/systemd/system/motion.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-12-24 10 :01:13 CET; 28ms ago
Process: 1810 ExecStart=/usr/local/bin/motion -c /usr/local/etc/motion/motion. conf (code=exited, status=203/EXEC)
dpkg: Fehler beim Bearbeiten des Paketes motion (--install):
»installiertes motion-Skript des Paketes post-installation«-Unterprozess gab de n Fehlerwert 1 zurück
Trigger für systemd (241-7~deb10u4+rpi1) werden verarbeitet ...
Trigger für man-db (2.8.5-2) werden verarbeitet ...
Fehler traten auf beim Bearbeiten von:
motion
root@Homee8GB:/home/pi# apt-get install python-pip python-dev libssl-dev libcur l4-openssl-dev libjpeg-dev libz-dev
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.
Statusinformationen werden eingelesen.... Fertig
Hinweis: »zlib1g-dev« wird an Stelle von »libz-dev« gewählt.
libcurl4-openssl-dev ist schon die neueste Version (7.64.0-4+deb10u1).
libjpeg-dev ist schon die neueste Version (1:1.5.2-2+deb10u1).
python-dev ist schon die neueste Version (2.7.16-1).
zlib1g-dev ist schon die neueste Version (1:1.2.11.dfsg-1).
libssl-dev ist schon die neueste Version (1.1.1d-0+deb10u4+rpt1).
python-pip ist schon die neueste Version (18.1-5+rpt1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 32 nicht aktualisiert.
1 nicht vollständig installiert oder entfernt.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] j
motion (4.2.2-1) wird eingerichtet ...
Job for motion.service failed because the control process exited with error code .
See "systemctl status motion.service" and "journalctl -xe" for details.
invoke-rc.d: initscript motion, action "start" failed.
● motion.service - Motion Daemon
Loaded: loaded (/etc/systemd/system/motion.service; disabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2020-12-24 10 :01:36 CET; 19ms ago
Process: 1978 ExecStart=/usr/local/bin/motion -c /usr/local/etc/motion/motion. conf (code=exited, status=203/EXEC)
dpkg: Fehler beim Bearbeiten des Paketes motion (--configure):
»installiertes motion-Skript des Paketes post-installation«-Unterprozess gab de n Fehlerwert 1 zurück
Fehler traten auf beim Bearbeiten von:
motion
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@Homee8GB:/home/pi# pip install motioneye
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: motioneye in /usr/local/lib/python2.7/dist-packag es (0.42.1)
Requirement already satisfied: tornado<6,>=3.1 in /usr/local/lib/python2.7/dist- packages (from motioneye) (5.1.1)
Requirement already satisfied: pillow in /usr/local/lib/python2.7/dist-packages (from motioneye) (6.2.2)
Requirement already satisfied: jinja2 in /usr/local/lib/python2.7/dist-packages (from motioneye) (2.11.2)
Requirement already satisfied: pycurl in /usr/local/lib/python2.7/dist-packages (from motioneye) (7.43.0.5)
Requirement already satisfied: backports-abc>=0.4 in /usr/local/lib/python2.7/di st-packages (from tornado<6,>=3.1->motioneye) (0.5)
Requirement already satisfied: singledispatch in /usr/local/lib/python2.7/dist-p ackages (from tornado<6,>=3.1->motioneye) (3.4.0.3)
Requirement already satisfied: futures in /usr/local/lib/python2.7/dist-packages (from tornado<6,>=3.1->motioneye) (3.3.0)
Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python2.7/dist -packages (from jinja2->motioneye) (1.1.1)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from sin gledispatch->tornado<6,>=3.1->motioneye) (1.12.0)
root@Homee8GB:/home/pi# mkdir -p /etc/motioneye
root@Homee8GB:/home/pi# cp /usr/local/share/motioneye/extra/motioneye.conf.samp le /etc/motioneye/motioneye.conf
root@Homee8GB:/home/pi# mkdir -p /var/lib/motioneye
root@Homee8GB:/home/pi# cp /usr/local/share/motioneye/extra/motioneye.systemd-u nit-local /etc/systemd/system/motioneye.service
root@Homee8GB:/home/pi# systemctl daemon-reload
root@Homee8GB:/home/pi# systemctl enable motioneye
Synchronizing state of motioneye.service with SysV service script with /lib/syst emd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable motioneye
root@Homee8GB:/home/pi# systemctl start motioneye
root@Homee8GB:/home/pi# pip install motioneye --upgrade
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already up-to-date: motioneye in /usr/local/lib/python2.7/dist-packa ges (0.42.1)
Requirement already satisfied, skipping upgrade: tornado<6,>=3.1 in /usr/local/l ib/python2.7/dist-packages (from motioneye) (5.1.1)
Requirement already satisfied, skipping upgrade: pillow in /usr/local/lib/python 2.7/dist-packages (from motioneye) (6.2.2)
Requirement already satisfied, skipping upgrade: jinja2 in /usr/local/lib/python 2.7/dist-packages (from motioneye) (2.11.2)
Requirement already satisfied, skipping upgrade: pycurl in /usr/local/lib/python 2.7/dist-packages (from motioneye) (7.43.0.5)
Requirement already satisfied, skipping upgrade: backports-abc>=0.4 in /usr/loca l/lib/python2.7/dist-packages (from tornado<6,>=3.1->motioneye) (0.5)
Requirement already satisfied, skipping upgrade: singledispatch in /usr/local/li b/python2.7/dist-packages (from tornado<6,>=3.1->motioneye) (3.4.0.3)
Requirement already satisfied, skipping upgrade: futures in /usr/local/lib/pytho n2.7/dist-packages (from tornado<6,>=3.1->motioneye) (3.3.0)
Requirement already satisfied, skipping upgrade: MarkupSafe>=0.23 in /usr/local/ lib/python2.7/dist-packages (from jinja2->motioneye) (1.1.1)
Requirement already satisfied, skipping upgrade: six in /usr/lib/python2.7/dist- packages (from singledispatch->tornado<6,>=3.1->motioneye) (1.12.0)
root@Homee8GB:/home/pi# systemctl restart motioneye
root@Homee8GB:/home/pi# motion -h
motion Version 4.2.2, Copyright 2000-2019 Jeroen Vreeken/Folkert van Heusden/Ken neth Lavrsen/Motion-Project maintainers
Home page : https://motion-project.github.io/
usage: motion [options]
Possible options:
-b Run in background (daemon) mode.
-n Run in non-daemon mode.
-s Run in setup mode.
-c config Full path and filename of config file.
-d level Log level (1-9) (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL). default: 6 / NTC.
-k type Type of log (COR, STR, ENC, NET, DBL, EVT, TRK, VID, ALL ). default: ALL.
-p process_id_file Full path and filename of process id file (pid file).
-l log file Full path and filename of log file.
-m Disable motion detection at startup.
-h Show this screen.
Motion is configured using a config file only. If none is supplied,
it will read motion.conf from current directory, ~/.motion or /etc/motion.
root@Homee8GB:/home/pi# motion -v
motion: invalid option -- 'v'
motion Version 4.2.2, Copyright 2000-2019 Jeroen Vreeken/Folkert van Heusden/Ken neth Lavrsen/Motion-Project maintainers
Home page : https://motion-project.github.io/
usage: motion [options]
Possible options:
-b Run in background (daemon) mode.
-n Run in non-daemon mode.
-s Run in setup mode.
-c config Full path and filename of config file.
-d level Log level (1-9) (EMG, ALR, CRT, ERR, WRN, NTC, INF, DBG, ALL). default: 6 / NTC.
-k type Type of log (COR, STR, ENC, NET, DBL, EVT, TRK, VID, ALL ). default: ALL.
-p process_id_file Full path and filename of process id file (pid file).
-l log file Full path and filename of log file.
-m Disable motion detection at startup.
-h Show this screen.
Motion is configured using a config file only. If none is supplied,
it will read motion.conf from current directory, ~/.motion or /etc/motion.
Display More
Danke und frohe Weihnachten!