Motioneye startet nicht?

1 Antwort

Vom Fragesteller als hilfreich ausgezeichnet

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?

Woher ich das weiß:Studium / Ausbildung – Studium in theoretischer Informatik (Master)

Juli2007 
Fragesteller
 13.03.2022, 09:54

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

0
GrakaVII  13.03.2022, 11:28
@Juli2007

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.

0
Juli2007 
Fragesteller
 13.03.2022, 12:56
@GrakaVII

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.


0
Juli2007 
Fragesteller
 13.03.2022, 15:28
@GrakaVII

Ich habe es jetzt schon selbst hinbekommen, aber meine Kamera geht nicht (die Leuchtet nichtmal), obwohl ich die Schnittstelle aktiviert habe. Andere Kabel habe ich auch schon ausprobiert.

0
Juli2007 
Fragesteller
 13.03.2022, 22:17
@GrakaVII

Nein er erkennt die garnicht... Ich habe testweise MotioneyeOS direkt installiert, und dort klappt es einwandfrei

0