Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation MotionEye auf ubuntu 20.04 in Proxmox

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation MotionEye auf ubuntu 20.04 in Proxmox

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SMARTY.ML last edited by

      Hallo zusammen,

      ich versuche einen MotionEye Server auf Ubuntu 20 aufzusetzen.
      Basis ist ein Proxmox LX Container, auf gleichen läuft bereits erfolgrei Grafana und einer mit iobroker...

      Nachfolgendes führe ich nach Erstinstall aus:

      sudo apt-get update && sudo apt-get upgrade
      
      sudo apt install python2
      

      Hier verlangt die Anleitung später pip oder pip2 beide führen zu folgendem Fehler:

      ...:apt install python-pip
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      E: Unable to locate package python-pip
      

      Es klappt dann weiter:

      apt install python3-pip^C
      

      Dann geht es weiter nach der Anleitung:
      https://github.com/ccrisan/motioneye/wiki/Install-On-Ubuntu

      apt-get install motion ffmpeg v4l-utils
      apt-get install python-dev curl libssl-dev libcurl4-openssl-dev libjpeg-dev
      

      Dann, da pip nicht installiert:

      pip3 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
      

      Anleitung ist ende und ich habe keinen Zugriff auf Motioneye.

      root@MotionEye:~# ps -e
        PID TTY          TIME CMD
          1 ?        00:00:00 systemd
         49 ?        00:00:00 systemd-journal
         75 ?        00:00:00 systemd-network
         96 ?        00:00:00 accounts-daemon
         97 ?        00:00:00 cron
         98 ?        00:00:00 dbus-daemon
        101 ?        00:00:00 networkd-dispat
        102 ?        00:00:00 rsyslogd
        103 ?        00:00:00 systemd-logind
        104 ?        00:00:00 systemd-resolve
        123 console  00:00:00 agetty
        124 pts/0    00:00:00 login
        125 pts/1    00:00:00 agetty
        132 ?        00:00:00 sshd
        277 ?        00:00:00 master
        278 ?        00:00:00 pickup
        279 ?        00:00:00 qmgr
        306 pts/0    00:00:00 bash
       8454 pts/0    00:00:00 ps
      

      Nun weiß ich nicht weiter. Ich kann keine Fehlmeldungen entdecken.
      Könnt Ihr helfen?

      Scrounger 1 Reply Last reply Reply Quote 0
      • Scrounger
        Scrounger Developer @SMARTY.ML last edited by

        @SMARTY-ML
        So funktioniert es auch auf Ubuntu 20:
        https://github.com/ccrisan/motioneye/issues/1851#issuecomment-664933266

        chrivosie created this issue in ccrisan/motioneye

        closed Ubuntu 20.04 LTS #1851

        1 Reply Last reply Reply Quote 0
        • Negalein
          Negalein Global Moderator last edited by

          Hallo

          Ich hätte auch gerade versucht, Motioneye in einem Proxmox-Container unter Ubuntu 20.04 zu installieren.

          Habe zig Tutorials versucht. Immer scheitert es an pip2!

          Könnte mir jemand unter die Arme greifen?

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Negalein last edited by

            @negalein

            https://github.com/ccrisan/motioneye/wiki/(Install-On-Ubuntu-(20.04-or-Newer)

            versucht?
            Und für's unter die Arme greifen ist das halt was dünn. Was konkret ist das Problem mit pip2?

            1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator last edited by

              @thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:

              versucht?

              Ja, nach dieser Anleitung.

              Dieses mal hat pip2 install motioneye funktioniert.

              Aber bei Punkt 6 cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf kommt

              nega@Motioneye:~$  mkdir -p /etc/motioneye
              nega@Motioneye:~$  cp /usr/local/share/motioneye/extra/motioneye.conf.sample /etc/motioneye/motioneye.conf
              cp: cannot create regular file '/etc/motioneye/motioneye.conf': Permission denied
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Negalein last edited by

                @negalein
                Das darf der user nega halt nicht.
                sudo davor sollte funktionieren.

                Negalein 1 Reply Last reply Reply Quote 0
                • Negalein
                  Negalein Global Moderator @Thomas Braun last edited by

                  @thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:

                  sudo davor sollte funktionieren.

                  hat funktioniert.

                  Nächstes Problem ist, dass ich mit IP:8765 nicht auf die Oberfläche komme.

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Negalein last edited by Thomas Braun

                    @negalein

                    Läuft der Dienst?

                    systemctl status motioneye
                    
                    Negalein 1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @Thomas Braun last edited by

                      @thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:

                      Läuft der Dienst?

                      nega@Motioneye:~$ systemctl status motioneye
                      * motioneye.service - motionEye Server
                           Loaded: loaded (/etc/systemd/system/motioneye.service; enabled; vendor preset: enabled)
                           Active: failed (Result: exit-code) since Fri 2021-09-10 18:28:43 UTC; 30s ago
                          Process: 358 ExecStart=/usr/local/bin/meyectl startserver -c /etc/motioneye/motioneye.conf (code=exited, status=1/FAILURE)
                         Main PID: 358 (code=exited, status=1/FAILURE)
                      nega@Motioneye:~$
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Negalein last edited by

                        @negalein

                        Das hattest du aber gemacht?

                          cp /usr/local/share/motioneye/extra/motioneye.systemd-unit-local /etc/systemd/system/motioneye.service
                          systemctl daemon-reload
                          systemctl enable motioneye
                          systemctl start motioneye
                        
                        Negalein 1 Reply Last reply Reply Quote 0
                        • Negalein
                          Negalein Global Moderator @Thomas Braun last edited by

                          @thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:

                          Das hattest du aber gemacht?

                          Ja, jeweils mit sudo davor.

                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Negalein last edited by

                            @negalein

                            Dann fällt mir dazu nicht mehr viel ein.
                            Ich werde das aber nicht testweise auf meinem System installieren, das ist mir zu viel Klimbimm. 😄

                            ls -l /usr/local/bin/meyectl
                            

                            bringt?

                            Negalein 1 Reply Last reply Reply Quote 0
                            • Negalein
                              Negalein Global Moderator @Thomas Braun last edited by

                              @thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:

                              bringt?

                              nega@Motioneye:~$ ls -l /usr/local/bin/meyectl
                              -rwxr-xr-x 1 root root 216 Sep 10 17:34 /usr/local/bin/meyectl
                              
                              1 Reply Last reply Reply Quote 0
                              • Negalein
                                Negalein Global Moderator last edited by

                                @Thomas-Braun

                                Es läuft!
                                Hab den Container gelöscht und nochmal neu aufgesetzt.
                                Jetzt läuft es! 🙂

                                H 1 Reply Last reply Reply Quote 0
                                • H
                                  hannes57 @Negalein last edited by

                                  @negalein
                                  Hallo ich versuche es auch grade das Motioneye auf Ubuntu21.10 zu installiren aber schon beim Update bekomme ich Fehler ebenso bei Ubuntu 20.

                                  code_text
                                  root@motioneye:~# apt update && sudo apt upgrade -y
                                  Ign:1 http://archive.ubuntu.com/ubuntu impish InRelease
                                  Ign:2 http://archive.ubuntu.com/ubuntu impish-updates InRelease
                                  Ign:3 http://archive.ubuntu.com/ubuntu impish-security InRelease
                                  Err:4 http://archive.ubuntu.com/ubuntu impish Release
                                    404  Not Found [IP: 91.189.91.39 80]
                                  Err:5 http://archive.ubuntu.com/ubuntu impish-updates Release
                                    404  Not Found [IP: 91.189.91.39 80]
                                  Err:6 http://archive.ubuntu.com/ubuntu impish-security Release
                                    404  Not Found [IP: 91.189.91.39 80]
                                  Reading package lists... Done
                                  E: The repository 'http://archive.ubuntu.com/ubuntu impish Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  E: The repository 'http://archive.ubuntu.com/ubuntu impish-updates Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  E: The repository 'http://archive.ubuntu.com/ubuntu impish-security Release' no longer has a Release file.
                                  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
                                  N: See apt-secure(8) manpage for repository creation and user configuration details.
                                  
                                  und bei nächste schritt geht es eben so weiter
                                  
                                  Thomas Braun E 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @hannes57 last edited by Thomas Braun

                                    @hannes57

                                    Auf einem ubuntu hampelt man nie als root herum.
                                    'impish' ist auch tot, daher die Meldungen. Installier die aktuelle LTS Version, wenn es ubuntu sein muss, alternativ Debian Bullseye.

                                    H 1 Reply Last reply Reply Quote 0
                                    • E
                                      Einstein67 @hannes57 last edited by

                                      @hannes57 Ubuntu 21.10 ist seit 14.7.2022 "End of lifetime". Deshalb sind die Paketquellen nicht mehr gültig.

                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        hannes57 @Thomas Braun last edited by

                                        @thomas-braun said in Installation MotionEye auf ubuntu 20.04 in Proxmox:

                                        LTS-Version

                                        find aber keinen lts version Container unter Porxmox

                                        Thomas Braun G E 3 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @hannes57 last edited by

                                          @hannes57

                                          Zu Pruxmurks kann ich nix weiter sagen. Würde mich aber wundern, wenn es die aktuelle LTS Version nicht gäbe. Alternativ halt ein Debian 11 'Bullseye'.

                                          1 Reply Last reply Reply Quote 0
                                          • G
                                            guergen @hannes57 last edited by

                                            @hannes57 Gibt es aber:
                                            d111e2c7-2f12-4537-a235-ac87014a7f83-grafik.png

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            928
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            motioneye ubuntu
                                            7
                                            28
                                            5936
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo