NEWS
Installation MotionEye auf ubuntu 20.04 in Proxmox
-
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-Ubuntuapt-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? -
@SMARTY-ML
So funktioniert es auch auf Ubuntu 20:
https://github.com/ccrisan/motioneye/issues/1851#issuecomment-664933266 -
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?
-
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? -
@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
kommtnega@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
-
@negalein
Das darf der user nega halt nicht.
sudo davor sollte funktionieren. -
@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 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:~$
-
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
-
@thomas-braun sagte in Installation MotionEye auf ubuntu 20.04 in Proxmox:
Das hattest du aber gemacht?
Ja, jeweils mit
sudo
davor. -
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?
-
@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
-
Es läuft!
Hab den Container gelöscht und nochmal neu aufgesetzt.
Jetzt läuft es! -
@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
-
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. -
@hannes57 Ubuntu 21.10 ist seit 14.7.2022 "End of lifetime". Deshalb sind die Paketquellen nicht mehr gültig.
-
@thomas-braun said in Installation MotionEye auf ubuntu 20.04 in Proxmox:
LTS-Version
find aber keinen lts version Container unter Porxmox
-
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'.
-
@hannes57 Gibt es aber: