Motioneye startet nicht?
Hallo,
Ich habe (probiert) Motioneye auf einem Raspberry Zero W installiert (über Rasbian). Ich habe auch alles nach Anleitung (https://github.com/motioneye-project/motioneye/wiki/Install-On-Raspbian) gemacht, und es kamen keine Fehler. Wenn ich aber Motioneye starten will (systemctl start motioneye) muss ich mein Passwort eingeben, und dann passiert nichts. Bei ps steht auch kein laufender Prozess und http://raspberryip:8765 hat die Verbindung abgelehnt...
Hat irgendjemand Ideen oder Lösungen für das Problem?
Vielen Dank
Was sagt denn
sudo systemctl status motioneye
Hier: https://controlc.com/5a929c50
(hier kann man nicht so viele Zeichen schreiben)
1 Antwort
Was sagt dir denn
sudo systemctl status motioneye
sudo systemctl status motion
Wie sieht deine Motion (/etc/motion/motion.conf) & Motioneye (/etc/motioneye/motioneye.conf) Konfiguration aus? Hast du die Kamera-Schnitstelle an deinem Raspberry aktiviert? https://www.raspberrypi.com/documentation/accessories/camera.html
Hast du eine Firewall installiert/konfiguriert?
So wie ich das sehe, ist das Problem, dass in Bullseye Python 3 in den Default Repositories ist, Motioneye aber Python 2 nutzt. Du musst also Python3 entfernen, 2.7 installieren und auch pip2 statt pip3. Danach kannst du die Motioneye installation neustarten
Müsste also mit
sudo apt remove —purge python python-pip python-dev
sudo apt install -y python2 python2-dev curl
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output get-pip.py
sudo python2 get-pip.py
Ab hier solltest du mit Schritt 4 in der Doku fortfahren können.
Vielen dank schonmal. Wenn ich aber nun motioneye installieren will, kommt folgender Fehler:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python2 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-gyTDxY/pycurl/setup.py'"'"'; __file__='"'"'/tmp/pip-install-gyTDxY/pycurl/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-jWvccn
cwd: /tmp/pip-install-gyTDxY/pycurl/
Complete output (11 lines):
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-install-gyTDxY/pycurl/setup.py", line 961, in <module>
ext = get_extension(sys.argv, split_extension_source=split_extension_source)
File "/tmp/pip-install-gyTDxY/pycurl/setup.py", line 623, in get_extension
ext_config = ExtensionConfiguration(argv)
File "/tmp/pip-install-gyTDxY/pycurl/setup.py", line 101, in __init__
self.configure()
File "/tmp/pip-install-gyTDxY/pycurl/setup.py", line 238, in configure_unix
raise ConfigurationError(msg)
__main__.ConfigurationError: Could not run curl-config: [Errno 2] No such file or directory
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
sudo systemctl status motioneye: https://controlc.com/5a929c50
sudo systemctl status motion: https://controlc.com/9815b7a0
motion.conf und moitoneye.conf: https://www.transfernow.net/dl/20220313PfZmrVHE
Die Kameraschintstelle habe ich aktiviert. Ich habe keine Firewall installiert bzw. konfiguriert